Mock Version: 3.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/mongodb.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1665908983.984411/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.qynmm9zy:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.qynmm9zy:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '3a070aa9459643bfb28cf5e5e4d1516c', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1665908983.984411/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.qynmm9zy:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/mongodb.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1557360000 Wrote: /builddir/build/SRPMS/mongodb-4.0.3-4.fc38.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/mongodb.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1665908983.984411/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.qynmm9zy:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.qynmm9zy:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '544621d102504268a9db6807c7bc9c6b', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1665908983.984411/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.qynmm9zy:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/mongodb.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1557360000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.mXADIJ + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf mongo-r4.0.3 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/r4.0.3.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd mongo-r4.0.3 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (inconsistent-tabs.patch):' Patch #0 (inconsistent-tabs.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file SConstruct Hunk #1 succeeded at 3411 (offset 99 lines). Patch #1 (python3-buildscripts-tests.patch): + echo 'Patch #1 (python3-buildscripts-tests.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file SConstruct patching file buildscripts/clang_format.py patching file buildscripts/cpplint.py patching file buildscripts/errorcodes.py patching file buildscripts/eslint.py patching file buildscripts/idl/idl/binder.py patching file buildscripts/idl/idl/bson.py patching file buildscripts/idl/idl/cpp_types.py patching file buildscripts/idl/idl/enum_types.py patching file buildscripts/idl/idl/generator.py patching file buildscripts/idl/idl/parser.py patching file buildscripts/idl/idl/struct_types.py patching file buildscripts/idl/idl/syntax.py patching file buildscripts/idl/tests/test_binder.py patching file buildscripts/linter/base.py patching file buildscripts/linter/git.py patching file buildscripts/linter/parallel.py patching file buildscripts/resmokeconfig/loggers/__init__.py patching file buildscripts/resmokeconfig/suites/__init__.py patching file buildscripts/resmokelib/config.py patching file buildscripts/resmokelib/core/process.py patching file buildscripts/resmokelib/logging/buildlogger.py patching file buildscripts/resmokelib/selector.py patching file buildscripts/resmokelib/testing/executor.py patching file buildscripts/resmokelib/testing/fixtures/interface.py patching file buildscripts/resmokelib/testing/fixtures/replicaset.py patching file buildscripts/resmokelib/testing/fixtures/shardedcluster.py patching file buildscripts/resmokelib/testing/hooks/interface.py patching file buildscripts/resmokelib/testing/suite.py patching file buildscripts/resmokelib/testing/summary.py patching file buildscripts/resmokelib/testing/testcases/interface.py patching file buildscripts/resmokelib/testing/testcases/jstest.py patching file buildscripts/resmokelib/utils/__init__.py patching file buildscripts/resmokelib/utils/archival.py patching file buildscripts/resmokelib/utils/globstar.py patching file buildscripts/resmokelib/utils/jscomment.py patching file buildscripts/resmokelib/utils/queue.py patching file buildscripts/utils.py patching file site_scons/libdeps.py patching file site_scons/mongo/__init__.py patching file site_scons/mongo/generators.py patching file site_scons/site_tools/dagger/__init__.py patching file site_scons/site_tools/dagger/dagger.py patching file site_scons/site_tools/dagger/graph.py patching file site_scons/site_tools/dagger/graph_consts.py patching file site_scons/site_tools/dagger/graph_test.py patching file site_scons/site_tools/distsrc.py patching file site_scons/site_tools/icecream.py patching file site_scons/site_tools/idl_tool.py patching file site_scons/site_tools/jstoh.py patching file site_scons/site_tools/mongo_benchmark.py patching file site_scons/site_tools/mongo_integrationtest.py patching file site_scons/site_tools/mongo_unittest.py patching file site_scons/site_tools/split_dwarf.py patching file site_scons/site_tools/thin_archive.py patching file site_scons/site_tools/xcode.py patching file src/mongo/SConscript patching file src/mongo/base/generate_error_codes.py patching file src/mongo/db/auth/generate_action_types.py patching file src/mongo/db/fts/generate_stop_words.py patching file src/mongo/db/fts/unicode/gen_diacritic_map.py patching file src/mongo/util/generate_icu_init_cpp.py Patch #100 (mongodb-sailer-f37.patch): + echo 'Patch #100 (mongodb-sailer-f37.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p0 -b --suffix .jnx --fuzz=0 patching file src/mongo/util/heap_profiler.cpp patching file SConstruct patching file src/mongo/db/fts/unicode/gen_delimiter_list.py patching file src/mongo/db/fts/unicode/gen_casefold_map.py patching file src/mongo/db/fts/unicode/gen_diacritic_list.py + sed -i 's|\(#ifdef TLS1_3_VERSION\)|#undef TLS1_3_VERSION\n\1|' src/mongo/util/net/ssl_manager_openssl.cpp + sed -i 's/\r//' README + sed -i -r 's|third_party/libstemmer_c/include/libstemmer.h|libstemmer.h|' src/mongo/db/fts/stemmer.h + sed -i -r 's|third_party/yaml-cpp-0.5.1/include/yaml-cpp/yaml.h|yaml-cpp/yaml.h|' src/mongo/util/options_parser/options_parser.cpp + sed -i -r 's|os.curdir(, "mongo")|"/usr/bin"\1|' buildscripts/resmokelib/config.py + sed -i -r 's|os.curdir(, "mongod")|"/usr/bin"\1|' buildscripts/resmokelib/config.py + sed -i -r 's|os.curdir(, "mongos")|"/usr/bin"\1|' buildscripts/resmokelib/config.py + sed -i -r 's|/data/db|/usr/share/mongodb-test/var|' buildscripts/resmokelib/config.py + sed -i -r 's|env python|env python3|' buildscripts/resmoke.py + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.yn5xGv + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd mongo-r4.0.3 + export LANG=C.UTF-8 + LANG=C.UTF-8 + cat ++ echo -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection ++ sed -e 's/-O. //' -e 's/-g //' + cat variables.list CCFLAGS="-flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection" LINKFLAGS="-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -Wl,-z,noexecstack -Wl,--reduce-memory-overheads,--no-keep-memory" VERBOSE=1 MONGO_VERSION="4.0.3" VARIANT_DIR="fedora" + cat ++ cat build-options + scons-3 core tools -j2 --use-system-pcre --use-system-boost --use-system-snappy --use-system-valgrind --use-system-zlib --use-system-stemmer --use-system-tcmalloc --use-system-yaml --mmapv1=on --wiredtiger=on --ssl --nostrip --disable-warnings-as-errors --variables-files=variables.list scons: Reading SConscript files ... Using variable customization file variables.list Mkdir("build/scons") scons version: 4.4.0 python version: 3 11 0 candidate 2 Checking whether the C compiler works... yes Checking whether the C++ compiler works... yes Checking that the C++ compiler can link a C++ program... yes Checking if C++ compiler "g++" is GCC... yes Checking if C compiler "gcc" is GCC... yes Detected a x86_64 processor Checking if target OS linux is supported by the toolchain... yes Checking if C compiler is GCC 5.3.0 or newer...yes Checking if C++ compiler is GCC 5.3.0 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 -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++14... yes Checking if C compiler supports -std=c11... yes WARNING: System versions of C++ libraries must be compiled with C++14 support Checking for C++14... 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=gold... 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 for C++14 std::make_unique support... yes Checking if pthread_setname_np is supported... yes Checking for SSLeay_version(0) in C library crypto... yes Checking for SSL_version(NULL) in C library ssl... yes Checking that linking to OpenSSL works...yes Checking whether FIPS_mode_set is declared... no Checking whether d2i_ASN1_SEQUENCE_ANY is declared... yes Checking if SSL_[CTX_]_set_ecdh_auto is supported... yes Using SSL Provider: openssl Checking for curl_global_init(0) in C library curl... yes 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 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... no Checking for C++ library boost_filesystem... yes Checking for C++ library boost_program_options-mt... no Checking for C++ library boost_program_options... yes Checking for C++ library boost_system-mt... no Checking for C++ library boost_system... yes Checking for C++ library boost_iostreams-mt... no Checking for C++ library boost_iostreams... yes Checking for C library rt... yes Checking for C library dl... yes Checking for C++ header file execinfo.h... yes Checking whether backtrace is declared... yes Checking whether backtrace_symbols is declared... yes Checking whether backtrace_symbols_fd is declared... yes Checking for C library pcap... yes Checking for C library tcmalloc... yes Checking if std::atomic works... yes Checking if std::atomic works... yes Checking if std::atomic works... yes Checking if std::atomic works... yes Checking for extended alignment 64 for concurrency types... yes Checking for mongoc_get_major_version() in C library mongoc-1.0... no *** Run 'pip2 install --user regex' to speed up error code checking Checking for C function fallocate()... no Checking for C function sync_file_range()... no Checking for C header file x86intrin.h... yes Checking for C header file arm_neon.h... no scons: done reading SConscript files. scons: Building targets ... Creating 'build/fedora/mongo/config.h' /usr/bin/python3 buildscripts/idl/idlc.py --include src --base_dir build/fedora --target_arch x86_64 --header build/fedora/mongo/db/logical_session_id_gen.h --output build/fedora/mongo/db/logical_session_id_gen.cpp src/mongo/db/logical_session_id.idl /usr/bin/python3 src/mongo/base/generate_error_codes.py src/mongo/base/error_codes.err src/mongo/base/error_codes.tpl.h=build/fedora/mongo/base/error_codes.h src/mongo/base/error_codes.tpl.cpp=build/fedora/mongo/base/error_codes.cpp /usr/bin/python3 buildscripts/idl/idlc.py --include src --base_dir build/fedora --target_arch x86_64 --header build/fedora/mongo/db/auth/address_restriction_gen.h --output build/fedora/mongo/db/auth/address_restriction_gen.cpp src/mongo/db/auth/address_restriction.idl g++ -o build/fedora/mongo/db/matcher/expression_algo.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/matcher/expression_algo.cpp g++ -o build/fedora/mongo/db/auth/address_restriction.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/auth/address_restriction.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/matcher/expression_algo.cpp:34: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/bson/bsonobj.h:44, from src/mongo/db/matcher/expression.h:36: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_algo.cpp:36: src/mongo/db/matcher/expression_array.h: In member function 'virtual std::unique_ptr mongo::ElemMatchObjectMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_array.h:85:25: warning: redundant move in return statement [-Wredundant-move] 85 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_array.h:85:25: note: remove 'std::move' call src/mongo/db/matcher/expression_array.h: In member function 'virtual std::unique_ptr mongo::ElemMatchValueMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_array.h:140:25: warning: redundant move in return statement [-Wredundant-move] 140 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_array.h:140:25: note: remove 'std::move' call src/mongo/db/matcher/expression_array.h: In member function 'virtual std::unique_ptr mongo::SizeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_array.h:177:25: warning: redundant move in return statement [-Wredundant-move] 177 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_array.h:177:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_algo.cpp:37: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_algo.cpp:38: 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: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::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::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::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_algo.cpp:39: src/mongo/db/matcher/schema/expression_internal_schema_xor.h: In member function 'virtual std::unique_ptr mongo::InternalSchemaXorMatchExpression::shallowClone() const': src/mongo/db/matcher/schema/expression_internal_schema_xor.h:57:25: warning: redundant move in return statement [-Wredundant-move] 57 | return std::move(xorCopy); | ~~~~~~~~~^~~~~~~~~ src/mongo/db/matcher/schema/expression_internal_schema_xor.h:57:25: note: remove 'std::move' call src/mongo/db/matcher/expression_algo.cpp: In function 'std::unique_ptr mongo::{anonymous}::createAndOfNodes(std::vector >*)': src/mongo/db/matcher/expression_algo.cpp:259:21: warning: redundant move in return statement [-Wredundant-move] 259 | return std::move(splitAnd); | ~~~~~~~~~^~~~~~~~~~ src/mongo/db/matcher/expression_algo.cpp:259:21: note: remove 'std::move' call src/mongo/db/matcher/expression_algo.cpp: In function 'std::unique_ptr mongo::{anonymous}::createNorOfNodes(std::vector >*)': src/mongo/db/matcher/expression_algo.cpp:275:21: warning: redundant move in return statement [-Wredundant-move] 275 | return std::move(splitNor); | ~~~~~~~~~^~~~~~~~~~ src/mongo/db/matcher/expression_algo.cpp:275:21: note: remove 'std::move' call gcc -o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/wcstod64.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -DUSE_COMPILER_F80_TYPE=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -Dlinux=1 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/wcstod64.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C Creating 'build/fedora/third_party/wiredtiger/wiredtiger.h' Install file: "src/third_party/wiredtiger/src/include/wiredtiger_ext.h" as "build/fedora/third_party/wiredtiger/wiredtiger_ext.h" gcc -o build/fedora/third_party/wiredtiger/ext/compressors/snappy/snappy_compress.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/fedora/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/fedora/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/fedora/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/ext/compressors/snappy/snappy_compress.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C g++ -o build/fedora/third_party/icu4c-57.1/source/i18n/dtfmtsym.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/dtfmtsym.cpp g++ -o build/fedora/mongo/scripting/mozjs/oid.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -Wno-non-virtual-dtor -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -include js-config.h -include js/RequiredDefines.h -Wno-invalid-offsetof -fPIE -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/mozjs-45/include -Isrc/third_party/mozjs-45/mongo_sources -Isrc/third_party/mozjs-45/platform/x86_64/linux/include -Ibuild/fedora -Isrc src/mongo/scripting/mozjs/oid.cpp /usr/bin/python3 src/mongo/db/auth/generate_action_types.py src/mongo/db/auth/action_types.txt build/fedora/mongo/db/auth/action_type.h build/fedora/mongo/db/auth/action_type.cpp /usr/bin/python3 buildscripts/idl/idlc.py --include src --base_dir build/fedora --target_arch x86_64 --header build/fedora/mongo/db/generic_cursor_gen.h --output build/fedora/mongo/db/generic_cursor_gen.cpp src/mongo/db/generic_cursor.idl /usr/bin/python3 buildscripts/idl/idlc.py --include src --base_dir build/fedora --target_arch x86_64 --header build/fedora/mongo/s/query/async_results_merger_params_gen.h --output build/fedora/mongo/s/query/async_results_merger_params_gen.cpp src/mongo/s/query/async_results_merger_params.idl /usr/bin/python3 buildscripts/idl/idlc.py --include src --base_dir build/fedora --target_arch x86_64 --header build/fedora/mongo/db/kill_sessions_gen.h --output build/fedora/mongo/db/kill_sessions_gen.cpp src/mongo/db/kill_sessions.idl /usr/bin/python3 buildscripts/idl/idlc.py --include src --base_dir build/fedora --target_arch x86_64 --header build/fedora/mongo/s/catalog/type_chunk_base_gen.h --output build/fedora/mongo/s/catalog/type_chunk_base_gen.cpp src/mongo/s/catalog/type_chunk_base.idl /usr/bin/python3 buildscripts/idl/idlc.py --include src --base_dir build/fedora --target_arch x86_64 --header build/fedora/mongo/db/query/tailable_mode_gen.h --output build/fedora/mongo/db/query/tailable_mode_gen.cpp src/mongo/db/query/tailable_mode.idl g++ -o build/fedora/mongo/db/commands/geo_near_cmd.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/commands/geo_near_cmd.cpp In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/bson_extract.h:35, from src/mongo/db/commands/geo_near_cmd.cpp:33: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/plan_cache.h:35, from src/mongo/db/catalog/collection_info_cache.h:33, from src/mongo/db/catalog/collection.h:41, from src/mongo/db/commands/geo_near_cmd.cpp:37: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ /usr/bin/python3 buildscripts/idl/idlc.py --include src --base_dir build/fedora --target_arch x86_64 --header build/fedora/mongo/db/ops/single_write_result_gen.h --output build/fedora/mongo/db/ops/single_write_result_gen.cpp src/mongo/db/ops/single_write_result.idl /usr/bin/python3 buildscripts/idl/idlc.py --include src --base_dir build/fedora --target_arch x86_64 --header build/fedora/mongo/s/database_version_gen.h --output build/fedora/mongo/s/database_version_gen.cpp src/mongo/s/database_version.idl /usr/bin/python3 buildscripts/idl/idlc.py --include src --base_dir build/fedora --target_arch x86_64 --header build/fedora/mongo/db/session_txn_record_gen.h --output build/fedora/mongo/db/session_txn_record_gen.cpp src/mongo/db/session_txn_record.idl /usr/bin/python3 buildscripts/idl/idlc.py --include src --base_dir build/fedora --target_arch x86_64 --header build/fedora/mongo/db/ops/write_ops_gen.h --output build/fedora/mongo/db/ops/write_ops_gen.cpp src/mongo/db/ops/write_ops.idl /usr/bin/python3 buildscripts/idl/idlc.py --include src --base_dir build/fedora --target_arch x86_64 --header build/fedora/mongo/db/repl/oplog_entry_gen.h --output build/fedora/mongo/db/repl/oplog_entry_gen.cpp src/mongo/db/repl/oplog_entry.idl g++ -o build/fedora/mongo/db/commands/write_commands/write_commands.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/commands/write_commands/write_commands.cpp src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, unsigned int, mongo::StringMapTraits>': src/mongo/db/op_observer.h:310:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long unsigned int, mongo::StringMapTraits>': src/mongo/db/views/view_graph.h:177:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/db/views/view_catalog.h:174:13: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Collection*, mongo::StringMapTraits>': src/mongo/db/catalog/database.h:165:38: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Top::CollectionData, mongo::StringMapTraits>': src/mongo/db/stats/top.h:150:14: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/db/commands/write_commands/write_commands.cpp:35: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/bson/mutable/element.h:34, from src/mongo/bson/mutable/const_element.h:30, from src/mongo/bson/mutable/document.h:34, from src/mongo/db/commands/write_commands/write_commands.cpp:30: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, unsigned int, mongo::StringMapTraits>': src/mongo/db/op_observer.h:310:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long unsigned int, mongo::StringMapTraits>': src/mongo/db/views/view_graph.h:177:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/db/views/view_catalog.h:174:13: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Collection*, mongo::StringMapTraits>': src/mongo/db/catalog/database.h:165:38: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Top::CollectionData, mongo::StringMapTraits>': src/mongo/db/stats/top.h:150:14: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call g++ -o build/fedora/mongo/db/commands/kill_op.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/commands/kill_op.cpp g++ -o build/fedora/mongo/db/commands/find_cmd.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/commands/find_cmd.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/db/commands/kill_op.cpp:41: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/bson_extract.h:35, from src/mongo/db/commands/kill_op.cpp:37: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/query_solution.h:36, from src/mongo/db/query/plan_executor.h:37, from src/mongo/db/clientcursor.h:38, from src/mongo/db/commands/find_cmd.cpp:35: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/db/server_options.h:30, from src/mongo/base/secure_allocator.h:40, from src/mongo/db/auth/authorization_manager.h:35, from src/mongo/db/auth/authorization_session.h:38, from src/mongo/db/commands/find_cmd.cpp:33: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36, from src/mongo/db/query/plan_cache.h:35, from src/mongo/db/query/query_solution.h:38: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/mongo/db/commands/drop_indexes.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/commands/drop_indexes.cpp src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, unsigned int, mongo::StringMapTraits>': src/mongo/db/op_observer.h:310:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long unsigned int, mongo::StringMapTraits>': src/mongo/db/views/view_graph.h:177:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/db/views/view_catalog.h:174:13: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Collection*, mongo::StringMapTraits>': src/mongo/db/catalog/database.h:165:38: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Top::CollectionData, mongo::StringMapTraits>': src/mongo/db/stats/top.h:150:14: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/bson/timestamp.h:31, from src/mongo/db/repl/optime.h:33, from src/mongo/db/namespace_string.h:38, from src/mongo/db/background.h:43, from src/mongo/db/commands/drop_indexes.cpp:38: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/plan_cache.h:35, from src/mongo/db/catalog/collection_info_cache.h:33, from src/mongo/db/catalog/collection.h:41, from src/mongo/db/commands/drop_indexes.cpp:39: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, unsigned int, mongo::StringMapTraits>': src/mongo/db/op_observer.h:310:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long unsigned int, mongo::StringMapTraits>': src/mongo/db/views/view_graph.h:177:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/db/views/view_catalog.h:174:13: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Collection*, mongo::StringMapTraits>': src/mongo/db/catalog/database.h:165:38: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Top::CollectionData, mongo::StringMapTraits>': src/mongo/db/stats/top.h:150:14: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call g++ -o build/fedora/mongo/db/commands/index_filter_commands.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/commands/index_filter_commands.cpp g++ -o build/fedora/mongo/db/commands/pipeline_command.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/commands/pipeline_command.cpp In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/bson/bsonobj.h:44, from src/mongo/bson/bsonobj_comparator_interface.h:32, from src/mongo/bson/simple_bsonobj_comparator.h:34, from src/mongo/db/commands/index_filter_commands.cpp:39: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/plan_cache.h:35, from src/mongo/db/catalog/collection_info_cache.h:33, from src/mongo/db/catalog/collection.h:41, from src/mongo/db/commands/index_filter_commands.cpp:41: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, unsigned int, mongo::StringMapTraits>': src/mongo/db/op_observer.h:310:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/db/commands/pipeline_command.cpp:32: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/db/server_options.h:30, from src/mongo/base/secure_allocator.h:40, from src/mongo/db/auth/authorization_manager.h:35, from src/mongo/db/auth/authorization_session.h:38, from src/mongo/db/commands/pipeline_command.cpp:31: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long unsigned int, mongo::StringMapTraits>': src/mongo/db/views/view_graph.h:177:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/db/views/view_catalog.h:174:13: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Collection*, mongo::StringMapTraits>': src/mongo/db/catalog/database.h:165:38: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Top::CollectionData, mongo::StringMapTraits>': src/mongo/db/stats/top.h:150:14: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call g++ -o build/fedora/mongo/db/commands/validate.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/commands/validate.cpp In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/bson/timestamp.h:31, from src/mongo/db/catalog/collection.h:39, from src/mongo/db/commands/validate.cpp:35: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/plan_cache.h:35, from src/mongo/db/catalog/collection_info_cache.h:33, from src/mongo/db/catalog/collection.h:41: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/mongo/db/commands/plan_cache_commands.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/commands/plan_cache_commands.cpp In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, unsigned int, mongo::StringMapTraits>': src/mongo/db/op_observer.h:310:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long unsigned int, mongo::StringMapTraits>': src/mongo/db/views/view_graph.h:177:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/db/views/view_catalog.h:174:13: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/db/server_options.h:30, from src/mongo/base/secure_allocator.h:40, from src/mongo/db/auth/authorization_manager.h:35, from src/mongo/db/auth/authorization_session.h:38, from src/mongo/db/commands/plan_cache_commands.cpp:38: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Collection*, mongo::StringMapTraits>': src/mongo/db/catalog/database.h:165:38: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/plan_cache.h:35, from src/mongo/db/catalog/collection_info_cache.h:33, from src/mongo/db/catalog/collection.h:41, from src/mongo/db/commands/plan_cache_commands.cpp:39: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Top::CollectionData, mongo::StringMapTraits>': src/mongo/db/stats/top.h:150:14: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, unsigned int, mongo::StringMapTraits>': src/mongo/db/op_observer.h:310:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long unsigned int, mongo::StringMapTraits>': src/mongo/db/views/view_graph.h:177:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/db/views/view_catalog.h:174:13: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Collection*, mongo::StringMapTraits>': src/mongo/db/catalog/database.h:165:38: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Top::CollectionData, mongo::StringMapTraits>': src/mongo/db/stats/top.h:150:14: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from /usr/include/string.h:535, from /usr/include/c++/12/cstring:42, from src/mongo/base/string_data.h:33, from build/fedora/mongo/base/error_codes.h:35, from src/mongo/base/status.h:33, from src/mongo/db/catalog/collection.h:35: In function 'memcpy', inlined from 'mongo::StringData::copyTo(char*, bool) const' at src/mongo/base/string_data.h:266:15, inlined from 'mongo::StringBuilderImpl::append(mongo::StringData)' at src/mongo/bson/util/builder.h:484:19, inlined from 'mongo::StringBuilderImpl::appendIntegral(int, int)mongo::StringBuilderImpl&' at src/mongo/bson/util/builder.h:518:19, inlined from 'mongo::StringBuilderImpl::appendIntegral(int, int)mongo::StringBuilderImpl&' at src/mongo/bson/util/builder.h:512:24, inlined from 'mongo::StringBuilderImpl::operator<<(int)' at src/mongo/bson/util/builder.h:402:30, inlined from 'mongo::BSONObjBuilder::numStr[abi:cxx11](int)' at src/mongo/bson/bsonobjbuilder.h:719:14, inlined from 'mongo::BSONObjBuilder::append, std::allocator > >(mongo::StringData, std::vector, std::allocator >, std::allocator, std::allocator > > > const&)mongo::BSONObjBuilder& [clone .isra.0]' at src/mongo/bson/bsonobjbuilder.h:958:26: /usr/include/bits/string_fortified.h:29:33: warning: 'memcpy' offset [0, 511] is out of the bounds [0, 0] [-Warray-bounds] 29 | return __builtin___memcpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 30 | __glibc_objsize0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -o build/fedora/mongo/db/commands/sleep_command.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/commands/sleep_command.cpp In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/db/commands/sleep_command.cpp:33: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/bson/mutable/element.h:34, from src/mongo/db/auth/privilege.h:32, from src/mongo/db/commands.h:39: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/mongo/db/commands/get_last_error.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/commands/get_last_error.cpp In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call g++ -o build/fedora/mongo/db/commands/create_indexes.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/commands/create_indexes.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/db/commands/get_last_error.cpp:37: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/bson/timestamp.h:31, from src/mongo/db/repl/optime.h:33, from src/mongo/db/namespace_string.h:38, from src/mongo/db/client.h:43, from src/mongo/db/commands/get_last_error.cpp:35: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/db/server_options.h:30, from src/mongo/base/secure_allocator.h:40, from src/mongo/db/auth/authorization_manager.h:35, from src/mongo/db/auth/authorization_session.h:38, from src/mongo/db/commands/create_indexes.cpp:35: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/plan_cache.h:35, from src/mongo/db/catalog/collection_info_cache.h:33, from src/mongo/db/catalog/collection.h:41, from src/mongo/db/commands/create_indexes.cpp:36: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, unsigned int, mongo::StringMapTraits>': src/mongo/db/op_observer.h:310:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long unsigned int, mongo::StringMapTraits>': src/mongo/db/views/view_graph.h:177:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/db/views/view_catalog.h:174:13: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Collection*, mongo::StringMapTraits>': src/mongo/db/catalog/database.h:165:38: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Top::CollectionData, mongo::StringMapTraits>': src/mongo/db/stats/top.h:150:14: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/mongo/db/commands/explain_cmd.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/commands/explain_cmd.cpp In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/db/command_can_run_here.h:33, from src/mongo/db/commands/explain_cmd.cpp:31: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/bson/mutable/element.h:34, from src/mongo/db/auth/privilege.h:32, from src/mongo/db/commands.h:39: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from /usr/include/string.h:535, from /usr/include/c++/12/cstring:42, from src/mongo/base/string_data.h:33, from src/mongo/db/commands/create_indexes.cpp:34: In function 'memcpy', inlined from 'mongo::StringData::copyTo(char*, bool) const' at src/mongo/base/string_data.h:266:15, inlined from 'mongo::StringBuilderImpl::append(mongo::StringData)' at src/mongo/bson/util/builder.h:484:19, inlined from 'mongo::StringBuilderImpl::operator<<(mongo::StringData)' at src/mongo/bson/util/builder.h:441:15, inlined from 'mongoutils::str::stream::operator<< (mongo::StringData const&)mongoutils::str::stream&' at src/mongo/util/mongoutils/str.h:66:12, inlined from 'mongo::(anonymous namespace)::parseAndValidateIndexSpecs(mongo::OperationContext*, mongo::NamespaceString const&, mongo::BSONObj const&, mongo::ServerGlobalParams::FeatureCompatibility const&) [clone .constprop.0]' at src/mongo/db/commands/create_indexes.cpp:138:72: /usr/include/bits/string_fortified.h:29:33: warning: 'memcpy' offset [0, 12] is out of the bounds [0, 0] [-Warray-bounds] 29 | return __builtin___memcpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 30 | __glibc_objsize0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -o build/fedora/mongo/db/commands/repair_cursor.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/commands/repair_cursor.cpp In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call /usr/bin/python3 buildscripts/idl/idlc.py --include src --base_dir build/fedora --target_arch x86_64 --header build/fedora/mongo/db/transactions_stats_gen.h --output build/fedora/mongo/db/transactions_stats_gen.cpp src/mongo/db/transactions_stats.idl g++ -o build/fedora/mongo/db/commands/find_and_modify.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/commands/find_and_modify.cpp In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/db/server_options.h:30, from src/mongo/base/secure_allocator.h:40, from src/mongo/db/auth/authorization_manager.h:35, from src/mongo/db/auth/authorization_session.h:38, from src/mongo/db/commands/repair_cursor.cpp:35: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/plan_cache.h:35, from src/mongo/db/catalog/collection_info_cache.h:33, from src/mongo/db/catalog/collection.h:41, from src/mongo/db/commands/repair_cursor.cpp:36: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/bson/bsonobj.h:44, from src/mongo/db/commands/find_and_modify.cpp:36: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/plan_cache.h:35, from src/mongo/db/catalog/collection_info_cache.h:33, from src/mongo/db/catalog/collection.h:41, from src/mongo/db/commands/find_and_modify.cpp:38: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, unsigned int, mongo::StringMapTraits>': src/mongo/db/op_observer.h:310:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long unsigned int, mongo::StringMapTraits>': src/mongo/db/views/view_graph.h:177:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/db/views/view_catalog.h:174:13: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Collection*, mongo::StringMapTraits>': src/mongo/db/catalog/database.h:165:38: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Top::CollectionData, mongo::StringMapTraits>': src/mongo/db/stats/top.h:150:14: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, unsigned int, mongo::StringMapTraits>': src/mongo/db/op_observer.h:310:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long unsigned int, mongo::StringMapTraits>': src/mongo/db/views/view_graph.h:177:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/db/views/view_catalog.h:174:13: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Collection*, mongo::StringMapTraits>': src/mongo/db/catalog/database.h:165:38: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Top::CollectionData, mongo::StringMapTraits>': src/mongo/db/stats/top.h:150:14: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/mongo/db/commands/lock_info.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/commands/lock_info.cpp In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/db/commands/lock_info.cpp:36: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/db/server_options.h:30, from src/mongo/base/secure_allocator.h:40, from src/mongo/db/auth/authorization_manager.h:35, from src/mongo/db/auth/authorization_session.h:38, from src/mongo/db/commands/lock_info.cpp:34: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call g++ -o build/fedora/mongo/db/commands/list_collections.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/commands/list_collections.cpp g++ -o build/fedora/mongo/db/commands/list_indexes.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/commands/list_indexes.cpp In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/bson/bsonmisc.h:32, from src/mongo/db/commands/list_collections.cpp:34: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/plan_cache.h:35, from src/mongo/db/catalog/collection_info_cache.h:33, from src/mongo/db/catalog/collection.h:41, from src/mongo/db/commands/list_collections.cpp:39: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/query_solution.h:36, from src/mongo/db/query/plan_executor.h:37, from src/mongo/db/clientcursor.h:38, from src/mongo/db/commands/list_indexes.cpp:33: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/db/server_options.h:30, from src/mongo/base/secure_allocator.h:40, from src/mongo/db/auth/authorization_manager.h:35, from src/mongo/db/auth/authorization_session.h:38, from src/mongo/db/commands/list_indexes.cpp:31: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36, from src/mongo/db/query/plan_cache.h:35, from src/mongo/db/query/query_solution.h:38: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, unsigned int, mongo::StringMapTraits>': src/mongo/db/op_observer.h:310:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long unsigned int, mongo::StringMapTraits>': src/mongo/db/views/view_graph.h:177:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/db/views/view_catalog.h:174:13: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Collection*, mongo::StringMapTraits>': src/mongo/db/catalog/database.h:165:38: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Top::CollectionData, mongo::StringMapTraits>': src/mongo/db/stats/top.h:150:14: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, unsigned int, mongo::StringMapTraits>': src/mongo/db/op_observer.h:310:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long unsigned int, mongo::StringMapTraits>': src/mongo/db/views/view_graph.h:177:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/db/views/view_catalog.h:174:13: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Collection*, mongo::StringMapTraits>': src/mongo/db/catalog/database.h:165:38: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Top::CollectionData, mongo::StringMapTraits>': src/mongo/db/stats/top.h:150:14: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call In file included from /usr/include/string.h:535, from /usr/include/c++/12/cstring:42, from src/mongo/base/string_data.h:33, from build/fedora/mongo/base/error_codes.h:35, from src/mongo/base/status.h:33, from src/mongo/util/assert_util.h:34, from src/mongo/base/checked_cast.h:35, from src/mongo/db/commands/list_collections.cpp:33: In function 'memcpy', inlined from 'mongo::StringData::copyTo(char*, bool) const' at src/mongo/base/string_data.h:266:15, inlined from 'mongo::StringBuilderImpl::append(mongo::StringData)' at src/mongo/bson/util/builder.h:484:19, inlined from 'mongo::StringBuilderImpl::appendIntegral(int, int)mongo::StringBuilderImpl&' at src/mongo/bson/util/builder.h:518:19, inlined from 'mongo::StringBuilderImpl::appendIntegral(int, int)mongo::StringBuilderImpl&' at src/mongo/bson/util/builder.h:512:24, inlined from 'mongo::StringBuilderImpl::operator<<(int)' at src/mongo/bson/util/builder.h:402:30, inlined from 'mongo::BSONObjBuilder::numStr[abi:cxx11](int)' at src/mongo/bson/bsonobjbuilder.h:719:14, inlined from 'mongo::BSONObjBuilder::append(mongo::StringData, std::vector > const&)mongo::BSONObjBuilder&' at src/mongo/bson/bsonobjbuilder.h:958:26, inlined from 'mongo::(anonymous namespace)::buildViewBson(mongo::ViewDefinition const&, bool)' at src/mongo/db/commands/list_collections.cpp:146:26: /usr/include/bits/string_fortified.h:29:33: warning: 'memcpy' offset [0, 511] is out of the bounds [0, 0] [-Warray-bounds] 29 | return __builtin___memcpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 30 | __glibc_objsize0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -o build/fedora/mongo/db/commands/run_aggregate.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/commands/run_aggregate.cpp g++ -o build/fedora/mongo/db/commands/list_databases.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/commands/list_databases.cpp In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/bson/bsonobj.h:44, from src/mongo/db/commands/run_aggregate.h:31, from src/mongo/db/commands/run_aggregate.cpp:33: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/plan_cache.h:35, from src/mongo/db/catalog/collection_info_cache.h:33, from src/mongo/db/catalog/collection.h:41, from src/mongo/db/catalog/database.h:38, from src/mongo/db/commands/run_aggregate.cpp:39: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/db/server_options.h:30, from src/mongo/base/secure_allocator.h:40, from src/mongo/db/auth/authorization_manager.h:35, from src/mongo/db/auth/authorization_session.h:38, from src/mongo/db/commands/list_databases.cpp:33: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/plan_cache.h:35, from src/mongo/db/catalog/collection_info_cache.h:33, from src/mongo/db/catalog/collection.h:41, from src/mongo/db/catalog_raii.h:32, from src/mongo/db/commands/list_databases.cpp:35: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ 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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ 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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ 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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ 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: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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, unsigned int, mongo::StringMapTraits>': src/mongo/db/op_observer.h:310:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, unsigned int, mongo::StringMapTraits>': src/mongo/db/op_observer.h:310:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long unsigned int, mongo::StringMapTraits>': src/mongo/db/views/view_graph.h:177:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/db/views/view_catalog.h:174:13: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Collection*, mongo::StringMapTraits>': src/mongo/db/catalog/database.h:165:38: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long unsigned int, mongo::StringMapTraits>': src/mongo/db/views/view_graph.h:177:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/db/views/view_catalog.h:174:13: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Collection*, mongo::StringMapTraits>': src/mongo/db/catalog/database.h:165:38: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Top::CollectionData, mongo::StringMapTraits>': src/mongo/db/stats/top.h:150:14: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call In file included from /usr/include/string.h:535, from /usr/include/c++/12/cstring:42, from src/mongo/base/string_data.h:33, from build/fedora/mongo/base/error_codes.h:35, from src/mongo/base/status.h:33, from src/mongo/db/auth/authorization_session.h:35: In function 'memcpy', inlined from 'mongo::StringData::copyTo(char*, bool) const' at src/mongo/base/string_data.h:266:15, inlined from 'mongo::StringBuilderImpl::append(mongo::StringData)' at src/mongo/bson/util/builder.h:484:19, inlined from 'mongo::StringBuilderImpl::appendIntegral(int, int)mongo::StringBuilderImpl&' at src/mongo/bson/util/builder.h:518:19, inlined from 'mongo::StringBuilderImpl::appendIntegral(int, int)mongo::StringBuilderImpl&' at src/mongo/bson/util/builder.h:512:24, inlined from 'mongo::StringBuilderImpl::operator<<(int)' at src/mongo/bson/util/builder.h:402:30, inlined from 'mongo::BSONObjBuilder::numStr[abi:cxx11](int)' at src/mongo/bson/bsonobjbuilder.h:719:14, inlined from 'mongo::BSONObjBuilder::append(mongo::StringData, std::vector > const&)mongo::BSONObjBuilder&' at src/mongo/bson/bsonobjbuilder.h:958:26, inlined from 'mongo::CmdListDatabases::run(mongo::OperationContext*, std::__cxx11::basic_string, std::allocator > const&, mongo::BSONObj const&, mongo::BSONObjBuilder&)' at src/mongo/db/commands/list_databases.cpp:172:22: /usr/include/bits/string_fortified.h:29:33: warning: 'memcpy' offset [0, 511] is out of the bounds [0, 0] [-Warray-bounds] 29 | return __builtin___memcpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 30 | __glibc_objsize0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/bin/python3 buildscripts/idl/idlc.py --include src --base_dir build/fedora --target_arch x86_64 --header build/fedora/mongo/db/commands/profile_gen.h --output build/fedora/mongo/db/commands/profile_gen.cpp src/mongo/db/commands/profile.idl g++ -o build/fedora/mongo/db/commands/dbcommands.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/commands/dbcommands.cpp In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/bson/bsonobj.h:44, from src/mongo/bson/bsonobj_comparator_interface.h:32, from src/mongo/bson/simple_bsonobj_comparator.h:34, from src/mongo/db/commands/dbcommands.cpp:37: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/plan_cache.h:35, from src/mongo/db/catalog/collection_info_cache.h:33, from src/mongo/db/catalog/collection.h:41, from src/mongo/db/catalog_raii.h:32, from src/mongo/db/commands/dbcommands.cpp:55: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, unsigned int, mongo::StringMapTraits>': src/mongo/db/op_observer.h:310:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long unsigned int, mongo::StringMapTraits>': src/mongo/db/views/view_graph.h:177:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/db/views/view_catalog.h:174:13: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Collection*, mongo::StringMapTraits>': src/mongo/db/catalog/database.h:165:38: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Top::CollectionData, mongo::StringMapTraits>': src/mongo/db/stats/top.h:150:14: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/mongo/db/commands/rename_collection_cmd.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/commands/rename_collection_cmd.cpp In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/client/connection_string.h:38, from src/mongo/client/dbclientinterface.h:34, from src/mongo/client/dbclientcursor.h:35, from src/mongo/db/commands/rename_collection_cmd.cpp:31: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/plan_cache.h:35, from src/mongo/db/catalog/collection_info_cache.h:33, from src/mongo/db/catalog/collection.h:41, from src/mongo/db/commands/rename_collection_cmd.cpp:32: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, unsigned int, mongo::StringMapTraits>': src/mongo/db/op_observer.h:310:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long unsigned int, mongo::StringMapTraits>': src/mongo/db/views/view_graph.h:177:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/db/views/view_catalog.h:174:13: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Collection*, mongo::StringMapTraits>': src/mongo/db/catalog/database.h:165:38: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Top::CollectionData, mongo::StringMapTraits>': src/mongo/db/stats/top.h:150:14: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from /usr/include/c++/12/cstring:42, from src/mongo/base/string_data.h:33, from src/mongo/base/string_data_comparator_interface.h:34, from src/mongo/base/simple_string_data_comparator.h:31, from src/mongo/db/commands/dbcommands.cpp:35: In function '*memchr', inlined from 'mongo::StringData::find(char, unsigned long) const' at src/mongo/base/string_data.h:275:27, inlined from 'mongo::NamespaceString::NamespaceString(mongo::StringData, mongo::StringData)' at src/mongo/db/namespace_string.h:113:9, inlined from 'mongo::ResourcePattern::forDatabaseName(mongo::StringData)' at src/mongo/db/auth/resource_pattern.h:79:51: /usr/include/string.h:102:27: warning: 'memchr' specified bound 18446744073709551615 exceeds maximum object size 9223372036854775807 [-Wstringop-overread] 102 | return __builtin_memchr (__s, __c, __n); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call g++ -o build/fedora/mongo/db/commands/getmore_cmd.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/commands/getmore_cmd.cpp g++ -o build/fedora/mongo/db/commands/count_cmd.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/commands/count_cmd.cpp In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/db/server_options.h:30, from src/mongo/base/secure_allocator.h:40, from src/mongo/db/auth/authorization_manager.h:35, from src/mongo/db/auth/authorization_session.h:38, from src/mongo/db/commands/getmore_cmd.cpp:37: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/plan_cache.h:35, from src/mongo/db/catalog/collection_info_cache.h:33, from src/mongo/db/catalog/collection.h:41, from src/mongo/db/commands/getmore_cmd.cpp:38: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/db/commands/count_cmd.cpp:35: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/db/server_options.h:30, from src/mongo/base/secure_allocator.h:40, from src/mongo/db/auth/authorization_manager.h:35, from src/mongo/db/auth/authorization_session.h:38, from src/mongo/db/commands/count_cmd.cpp:33: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, unsigned int, mongo::StringMapTraits>': src/mongo/db/op_observer.h:310:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long unsigned int, mongo::StringMapTraits>': src/mongo/db/views/view_graph.h:177:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/db/views/view_catalog.h:174:13: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Collection*, mongo::StringMapTraits>': src/mongo/db/catalog/database.h:165:38: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Top::CollectionData, mongo::StringMapTraits>': src/mongo/db/stats/top.h:150:14: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, unsigned int, mongo::StringMapTraits>': src/mongo/db/op_observer.h:310:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long unsigned int, mongo::StringMapTraits>': src/mongo/db/views/view_graph.h:177:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/db/views/view_catalog.h:174:13: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Collection*, mongo::StringMapTraits>': src/mongo/db/catalog/database.h:165:38: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Top::CollectionData, mongo::StringMapTraits>': src/mongo/db/stats/top.h:150:14: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call g++ -o build/fedora/mongo/db/commands/current_op.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/commands/current_op.cpp g++ -o build/fedora/mongo/db/commands/killcursors_cmd.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/commands/killcursors_cmd.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/db/commands/current_op_common.h:33, from src/mongo/db/commands/current_op.cpp:31: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/bson/mutable/element.h:34, from src/mongo/db/auth/privilege.h:32, from src/mongo/db/commands.h:39: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/db/server_options.h:30, from src/mongo/base/secure_allocator.h:40, from src/mongo/db/auth/authorization_manager.h:35, from src/mongo/db/auth/authorization_session.h:38, from src/mongo/db/commands/killcursors_cmd.cpp:32: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/plan_cache.h:35, from src/mongo/db/catalog/collection_info_cache.h:33, from src/mongo/db/catalog/collection.h:41, from src/mongo/db/commands/killcursors_cmd.cpp:33: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ 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: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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, unsigned int, mongo::StringMapTraits>': src/mongo/db/op_observer.h:310:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long unsigned int, mongo::StringMapTraits>': src/mongo/db/views/view_graph.h:177:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/db/views/view_catalog.h:174:13: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Collection*, mongo::StringMapTraits>': src/mongo/db/catalog/database.h:165:38: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Top::CollectionData, mongo::StringMapTraits>': src/mongo/db/stats/top.h:150:14: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call g++ -o build/fedora/mongo/db/commands/distinct.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/commands/distinct.cpp g++ -o build/fedora/mongo/db/matcher/schema/expression_internal_schema_str_length.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/matcher/schema/expression_internal_schema_str_length.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/matcher/expression_leaf.h:34, from src/mongo/db/matcher/schema/expression_internal_schema_str_length.h:32, from src/mongo/db/matcher/schema/expression_internal_schema_str_length.cpp:31: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/bson/bsonelement_comparator_interface.h:32, from src/mongo/bson/bsonelement_comparator.h:32, from src/mongo/db/matcher/expression_leaf.h:31: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/query_solution.h:36, from src/mongo/db/query/plan_executor.h:37, from src/mongo/db/clientcursor.h:38, from src/mongo/db/commands/distinct.cpp:41: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/db/server_options.h:30, from src/mongo/base/secure_allocator.h:40, from src/mongo/db/auth/authorization_manager.h:35, from src/mongo/db/auth/authorization_session.h:38, from src/mongo/db/commands/distinct.cpp:38: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36, from src/mongo/db/query/plan_cache.h:35, from src/mongo/db/query/query_solution.h:38: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/mongo/db/fts/fts_matcher.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/fts/fts_matcher.cpp src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, unsigned int, mongo::StringMapTraits>': src/mongo/db/op_observer.h:310:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long unsigned int, mongo::StringMapTraits>': src/mongo/db/views/view_graph.h:177:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/db/views/view_catalog.h:174:13: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Collection*, mongo::StringMapTraits>': src/mongo/db/catalog/database.h:165:38: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Top::CollectionData, mongo::StringMapTraits>': src/mongo/db/stats/top.h:150:14: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/bson/bsonobj.h:44, from src/mongo/db/fts/fts_element_iterator.h:33, from src/mongo/db/fts/fts_matcher.cpp:33: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, bool, mongo::StringMapTraits>': src/mongo/db/fts/stop_words.h:62:21: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = bool; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = bool; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = bool; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = bool; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/mongo/db/repl/do_txn.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/repl/do_txn.cpp In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/bson/bsonobj.h:44, from src/mongo/db/repl/oplog.h:35, from src/mongo/db/repl/do_txn.h:29, from src/mongo/db/repl/do_txn.cpp:32: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/plan_cache.h:35, from src/mongo/db/catalog/collection_info_cache.h:33, from src/mongo/db/catalog/collection.h:41, from src/mongo/db/repl/do_txn.cpp:35: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, unsigned int, mongo::StringMapTraits>': src/mongo/db/op_observer.h:310:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long unsigned int, mongo::StringMapTraits>': src/mongo/db/views/view_graph.h:177:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/db/views/view_catalog.h:174:13: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Collection*, mongo::StringMapTraits>': src/mongo/db/catalog/database.h:165:38: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::vector, mongo::StringMapTraits>': src/mongo/db/catalog/uuid_catalog.h:234:44: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::vector; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::vector; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::vector; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::vector; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Top::CollectionData, mongo::StringMapTraits>': src/mongo/db/stats/top.h:150:14: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ ar rcsTD build/fedora/mongo/db/commands/libstandalone.a build/fedora/mongo/db/commands/count_cmd.o build/fedora/mongo/db/commands/create_indexes.o build/fedora/mongo/db/commands/current_op.o build/fedora/mongo/db/commands/dbcommands.o build/fedora/mongo/db/commands/distinct.o build/fedora/mongo/db/commands/drop_indexes.o build/fedora/mongo/db/commands/explain_cmd.o build/fedora/mongo/db/commands/find_and_modify.o build/fedora/mongo/db/commands/find_cmd.o build/fedora/mongo/db/commands/geo_near_cmd.o build/fedora/mongo/db/commands/get_last_error.o build/fedora/mongo/db/commands/getmore_cmd.o build/fedora/mongo/db/commands/index_filter_commands.o build/fedora/mongo/db/commands/kill_op.o build/fedora/mongo/db/commands/killcursors_cmd.o build/fedora/mongo/db/commands/lock_info.o build/fedora/mongo/db/commands/list_collections.o build/fedora/mongo/db/commands/list_databases.o build/fedora/mongo/db/commands/list_indexes.o build/fedora/mongo/db/commands/pipeline_command.o build/fedora/mongo/db/commands/plan_cache_commands.o build/fedora/mongo/db/commands/rename_collection_cmd.o build/fedora/mongo/db/commands/repair_cursor.o build/fedora/mongo/db/commands/run_aggregate.o build/fedora/mongo/db/commands/sleep_command.o build/fedora/mongo/db/commands/validate.o build/fedora/mongo/db/commands/write_commands/write_commands.o Skipping ranlib for thin archive build/fedora/mongo/db/commands/libstandalone.a gcc -o build/fedora/third_party/wiredtiger/src/block/block_session.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/fedora/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/fedora/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/fedora/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/block/block_session.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C gcc -o build/fedora/third_party/icu4c-57.1/source/common/uinvchar.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/uinvchar.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C g++ -o build/fedora/mongo/base/system_error.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/base/system_error.cpp g++ -o build/fedora/third_party/icu4c-57.1/source/i18n/smpdtfmt.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/smpdtfmt.cpp g++ -o build/fedora/mongo/s/catalog/type_shard.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/s/catalog/type_shard.cpp In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call In file included from /usr/include/string.h:535, from /usr/include/c++/12/cstring:42, from src/mongo/base/string_data.h:33, from src/mongo/db/jsobj.h:45, from src/mongo/s/catalog/type_shard.h:35, from src/mongo/s/catalog/type_shard.cpp:31: In function 'memcpy', inlined from 'mongo::StringData::copyTo(char*, bool) const' at src/mongo/base/string_data.h:266:15, inlined from 'mongo::StringBuilderImpl::append(mongo::StringData)' at src/mongo/bson/util/builder.h:484:19, inlined from 'mongo::StringBuilderImpl::appendIntegral(int, int)mongo::StringBuilderImpl&' at src/mongo/bson/util/builder.h:518:19, inlined from 'mongo::StringBuilderImpl::appendIntegral(int, int)mongo::StringBuilderImpl&' at src/mongo/bson/util/builder.h:512:24, inlined from 'mongo::StringBuilderImpl::operator<<(int)' at src/mongo/bson/util/builder.h:402:30, inlined from 'mongo::BSONObjBuilder::numStr[abi:cxx11](int)' at src/mongo/bson/bsonobjbuilder.h:719:14, inlined from 'mongo::BSONObjBuilder::append, std::allocator > >(mongo::StringData, std::vector, std::allocator >, std::allocator, std::allocator > > > const&)mongo::BSONObjBuilder&' at src/mongo/bson/bsonobjbuilder.h:958:26, inlined from 'mongo::ShardType::toBSON() const' at src/mongo/s/catalog/type_shard.cpp:170:23: /usr/include/bits/string_fortified.h:29:33: warning: 'memcpy' offset [0, 511] is out of the bounds [0, 0] [-Warray-bounds] 29 | return __builtin___memcpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 30 | __glibc_objsize0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -o build/fedora/mongo/db/storage/bson_collection_catalog_entry.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/storage/bson_collection_catalog_entry.cpp g++ -o build/fedora/mongo/db/pipeline/document_source_sort.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/pipeline/document_source_sort.cpp ar rcsTD build/fedora/mongo/db/storage/libbson_collection_catalog_entry.a build/fedora/mongo/db/storage/bson_collection_catalog_entry.o Skipping ranlib for thin archive build/fedora/mongo/db/storage/libbson_collection_catalog_entry.a g++ -o build/fedora/third_party/s2/util/math/mathutil.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Isrc/third_party/s2 -Isrc/third_party/gflags-2.0/src -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/third_party/s2/util/math/mathutil.cc In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/bson/bsonobj.h:44, from src/mongo/db/index/sort_key_generator.h:31, from src/mongo/db/pipeline/document_source_sort.h:31, from src/mongo/db/pipeline/document_source_sort.cpp:31: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/db/pipeline/document_source.h:44, from src/mongo/db/pipeline/document_source_sort.h:32: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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 ar rcsTD build/fedora/third_party/s2/util/math/libmath.a build/fedora/third_party/s2/util/math/mathutil.o Skipping ranlib for thin archive build/fedora/third_party/s2/util/math/libmath.a g++ -o build/fedora/mongo/db/storage/mmap_v1/dur_journal.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/storage/mmap_v1/dur_journal.cpp src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call In file included from src/mongo/util/progress_meter.h:32, from src/mongo/db/storage/mmap_v1/dur_journal.cpp:62: src/mongo/util/thread_safe_string.h: In function 'mongo::dur::preallocateFile(boost::filesystem::path, unsigned long long)': src/mongo/util/thread_safe_string.h:64:16: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-truncation] 64 | strncpy(_buf, str.rawData(), s); | ^ In file included from build/fedora/mongo/base/error_codes.h:35, from src/mongo/base/status.h:33, from src/mongo/base/initializer_function.h:30, from src/mongo/base/global_initializer_registerer.h:34, from src/mongo/base/init.h:45, from src/mongo/db/storage/mmap_v1/dur_journal.cpp:40: In member function 'mongo::StringData::StringData(char const*)', inlined from 'mongo::ProgressMeter::setName(std::__cxx11::basic_string, std::allocator >)' at src/mongo/util/progress_meter.h:80:28, inlined from 'mongo::dur::preallocateFile(boost::filesystem::path, unsigned long long)' at src/mongo/db/storage/mmap_v1/dur_journal.cpp:362:14: src/mongo/base/string_data.h:78:68: note: length computed here 78 | StringData(const char* str) : StringData(str, str ? std::strlen(str) : 0) {} | ~~~~~~~~~~~^~~~~ In file included from /usr/include/string.h:535, from /usr/include/c++/12/cstring:42, from /usr/include/boost/system/detail/generic_category_message.hpp:15, from /usr/include/boost/system/detail/generic_category.hpp:14, from /usr/include/boost/system/detail/error_condition.hpp:14, from /usr/include/boost/system/detail/error_category_impl.hpp:14, from /usr/include/boost/system/error_category.hpp:11, from /usr/include/boost/filesystem/path_traits.hpp:14, from /usr/include/boost/filesystem/path.hpp:21, from /usr/include/boost/filesystem.hpp:16, from src/mongo/db/storage/mmap_v1/dur_journal.cpp:37: In function 'memcpy', inlined from 'mongo::StringData::copyTo(char*, bool) const' at src/mongo/base/string_data.h:266:15, inlined from 'mongo::StringBuilderImpl::append(mongo::StringData)' at src/mongo/bson/util/builder.h:484:19, inlined from 'mongo::StringBuilderImpl::appendIntegral(int, int)mongo::StringBuilderImpl&' at src/mongo/bson/util/builder.h:518:19, inlined from 'mongo::StringBuilderImpl::appendIntegral(int, int)mongo::StringBuilderImpl&' at src/mongo/bson/util/builder.h:512:24, inlined from 'mongo::StringBuilderImpl::operator<<(int)' at src/mongo/bson/util/builder.h:402:30, inlined from 'mongoutils::str::stream::operator<< (int const&)mongoutils::str::stream&' at src/mongo/util/mongoutils/str.h:66:12, inlined from 'mongo::dur::Journal::getFilePathFor(int) const' at src/mongo/db/storage/mmap_v1/dur_journal.cpp:206:43: /usr/include/bits/string_fortified.h:29:33: warning: 'memcpy' offset [0, 508] is out of the bounds [0, 0] [-Warray-bounds] 29 | return __builtin___memcpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 30 | __glibc_objsize0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -o build/fedora/third_party/icu4c-57.1/source/common/dictionarydata.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/dictionarydata.cpp g++ -o build/fedora/mongo/db/exec/stagedebug_cmd.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/exec/stagedebug_cmd.cpp In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/bson/mutable/element.h:34, from src/mongo/db/auth/privilege.h:32, from src/mongo/db/exec/stagedebug_cmd.cpp:36: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/plan_cache.h:35, from src/mongo/db/catalog/collection_info_cache.h:33, from src/mongo/db/catalog/collection.h:41, from src/mongo/db/catalog/database.h:38, from src/mongo/db/exec/stagedebug_cmd.cpp:37: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, unsigned int, mongo::StringMapTraits>': src/mongo/db/op_observer.h:310:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long unsigned int, mongo::StringMapTraits>': src/mongo/db/views/view_graph.h:177:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/db/views/view_catalog.h:174:13: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Collection*, mongo::StringMapTraits>': src/mongo/db/catalog/database.h:165:38: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Top::CollectionData, mongo::StringMapTraits>': src/mongo/db/stats/top.h:150:14: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/mongo/db/auth/authorization_session.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/auth/authorization_session.cpp src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, bool, mongo::StringMapTraits>': src/mongo/db/fts/stop_words.h:62:21: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = bool; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = bool; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = bool; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = bool; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call g++ -o build/fedora/mongo/db/auth/authorization_manager.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/auth/authorization_manager.cpp g++ -o build/fedora/mongo/db/auth/auth_decorations.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/auth/auth_decorations.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/db/auth/sasl_mechanism_registry.h:37, from src/mongo/db/auth/authentication_session.h:33, from src/mongo/db/auth/auth_decorations.cpp:34: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/db/server_options.h:30, from src/mongo/base/secure_allocator.h:40, from src/mongo/db/auth/authorization_manager.h:35, from src/mongo/db/auth/sasl_mechanism_registry.h:36: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ ar rcsTD build/fedora/mongo/db/exec/libstagedebug_cmd.a build/fedora/mongo/db/exec/stagedebug_cmd.o Skipping ranlib for thin archive build/fedora/mongo/db/exec/libstagedebug_cmd.a /usr/bin/python3 buildscripts/idl/idlc.py --include src --base_dir build/fedora --target_arch x86_64 --header build/fedora/mongo/db/commands/end_sessions_gen.h --output build/fedora/mongo/db/commands/end_sessions_gen.cpp src/mongo/db/commands/end_sessions.idl /usr/bin/python3 buildscripts/idl/idlc.py --include src --base_dir build/fedora --target_arch x86_64 --header build/fedora/mongo/db/refresh_sessions_gen.h --output build/fedora/mongo/db/refresh_sessions_gen.cpp src/mongo/db/refresh_sessions.idl /usr/bin/python3 buildscripts/idl/idlc.py --include src --base_dir build/fedora --target_arch x86_64 --header build/fedora/mongo/db/logical_session_cache_stats_gen.h --output build/fedora/mongo/db/logical_session_cache_stats_gen.cpp src/mongo/db/logical_session_cache_stats.idl g++ -o build/fedora/mongo/db/commands/kill_all_sessions_by_pattern_command.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/commands/kill_all_sessions_by_pattern_command.cpp In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call ar rcsTD build/fedora/mongo/db/auth/libauth.a build/fedora/mongo/db/auth/authorization_manager.o build/fedora/mongo/db/auth/authorization_session.o build/fedora/mongo/db/auth/auth_decorations.o Skipping ranlib for thin archive build/fedora/mongo/db/auth/libauth.a gcc -o build/fedora/third_party/wiredtiger/src/btree/bt_handle.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/fedora/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/fedora/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/fedora/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/btree/bt_handle.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/db/commands/kill_all_sessions_by_pattern_command.cpp:40: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/db/server_options.h:30, from src/mongo/base/secure_allocator.h:40, from src/mongo/db/auth/authorization_manager.h:35, from src/mongo/db/commands/kill_all_sessions_by_pattern_command.cpp:36: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/third_party/icu4c-57.1/source/common/usprep.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/usprep.cpp src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ /usr/bin/python3 src/mongo/util/generate_icu_init_cpp.py -o build/fedora/mongo/util/icu_init.cpp -i src/third_party/icu4c-57.1/source/mongo_sources/icudt57l.dat src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Top::CollectionData, mongo::StringMapTraits>': src/mongo/db/stats/top.h:150:14: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/mongo/util/icu_init.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n -Isrc/third_party/asio-master/asio/include -Ibuild/fedora -Isrc build/fedora/mongo/util/icu_init.cpp In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call g++ -o build/fedora/mongo/executor/network_interface_tl.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/executor/network_interface_tl.cpp g++ -o build/fedora/mongo/executor/connection_pool_tl.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/executor/connection_pool_tl.cpp /usr/bin/python3 site_scons/site_tools/jstoh.py build/fedora/mongo/scripting/mozjs/mongohelpers_js.cpp src/mongo/scripting/mozjs/mongohelpers.js g++ -o build/fedora/mongo/scripting/mozjs/mongohelpers_js.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -Wno-non-virtual-dtor -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -include js-config.h -include js/RequiredDefines.h -Wno-invalid-offsetof -fPIE -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/mozjs-45/include -Isrc/third_party/mozjs-45/mongo_sources -Isrc/third_party/mozjs-45/platform/x86_64/linux/include -Ibuild/fedora -Isrc build/fedora/mongo/scripting/mozjs/mongohelpers_js.cpp In file included from src/mongo/transport/session.h:38, from src/mongo/db/service_context.h:46, from src/mongo/client/async_client.h:33, from src/mongo/executor/connection_pool_tl.h:33, from src/mongo/executor/connection_pool_tl.cpp:33: src/mongo/util/future.h: In instantiation of 'mongo::StatusWith mongo::future_details::statusCall(Func&&, Args&& ...) [with Func = mongo::executor::connection_pool_tl::TLConnection::setup(mongo::Milliseconds, mongo::executor::ConnectionPool::ConnectionInterface::SetupCallback)::::&; Args = {mongo::executor::RemoteCommandResponse}; RawResult = mongo::Status; = void; = void; = void]': src/mongo/util/future.h:840:71: required from 'mongo::future_details::Future mongo::future_details::Future::then(Func&&) && [with Func = mongo::executor::connection_pool_tl::TLConnection::setup(mongo::Milliseconds, mongo::executor::ConnectionPool::ConnectionInterface::SetupCallback)::::; Result = void; = void; T = mongo::executor::RemoteCommandResponse]' src/mongo/executor/connection_pool_tl.cpp:199:22: required from here src/mongo/util/future.h:175:32: warning: redundant move in return statement [-Wredundant-move] 175 | return std::move(status); | ^ src/mongo/util/future.h:175:32: note: remove 'std::move' call gcc -o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_lgamma.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -DUSE_COMPILER_F80_TYPE=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -Dlinux=1 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_lgamma.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C g++ -o build/fedora/mongo/executor/connection_pool.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/executor/connection_pool.cpp In file included from src/mongo/executor/connection_pool.cpp:42: src/mongo/util/lru_cache.h: In instantiation of 'boost::optional mongo::LRUCache::add(const K&, V) [with K = mongo::executor::ConnectionPool::ConnectionInterface*; V = std::shared_ptr; Hash = std::hash; KeyEqual = std::equal_to]': src/mongo/executor/connection_pool.cpp:563:19: required from here src/mongo/util/lru_cache.h:109:36: warning: redundant move in return statement [-Wredundant-move] 109 | return std::move(result); | ^ src/mongo/util/lru_cache.h:109:36: note: remove 'std::move' call ar rcsTD build/fedora/mongo/executor/libnetwork_interface_tl.a build/fedora/mongo/executor/connection_pool_tl.o build/fedora/mongo/executor/network_interface_tl.o Skipping ranlib for thin archive build/fedora/mongo/executor/libnetwork_interface_tl.a g++ -o build/fedora/third_party/s2/s2polyline.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -DDEBUG_MODE=false -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/third_party/s2/s2polyline.cc src/third_party/s2/s2polyline.cc: In member function 'void S2Polyline::Init(const std::vector >&)': src/third_party/s2/s2polyline.cc:57:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'S2Point' {aka 'class Vector3'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 57 | memcpy(vertices_, &vertices[0], num_vertices_ * sizeof(vertices_[0])); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/third_party/s2/util/math/vector3-inl.h:29, from src/third_party/s2/s2.h:26, from src/third_party/s2/s2polyline.cc:10: src/third_party/s2/util/math/vector3.h:30:7: note: 'S2Point' {aka 'class Vector3'} declared here 30 | class Vector3 { | ^~~~~~~ src/third_party/s2/s2polyline.cc: In constructor 'S2Polyline::S2Polyline(const S2Polyline*)': src/third_party/s2/s2polyline.cc:106:9: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'S2Point' {aka 'class Vector3'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 106 | memcpy(vertices_, src->vertices_, num_vertices_ * sizeof(vertices_[0])); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/s2/util/math/vector3.h:30:7: note: 'S2Point' {aka 'class Vector3'} declared here 30 | class Vector3 { | ^~~~~~~ g++ -o build/fedora/mongo/db/storage/mmap_v1/mmap_v1_init.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/storage/mmap_v1/mmap_v1_init.cpp g++ -o build/fedora/third_party/icu4c-57.1/source/i18n/collationweights.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/collationweights.cpp g++ -o build/fedora/third_party/shim_zlib.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS src/third_party/shim_zlib.cpp g++ -o build/fedora/mongo/db/update/unset_node.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/update/unset_node.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/document_comparator.h:32, from src/mongo/db/pipeline/expression_context.h:41, from src/mongo/db/update/update_leaf_node.h:31, from src/mongo/db/update/modifier_node.h:31, from src/mongo/db/update/unset_node.h:31, from src/mongo/db/update/unset_node.cpp:31: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/bson/bsonobj.h:44, from src/mongo/db/pipeline/expression_context.h:37: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src6.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -Wno-non-virtual-dtor -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -include js-confdefs.h -Wno-invalid-offsetof -fPIE -DIMPL_MFBT -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=1 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora/third_party/mozjs-45/extract/js/src -Isrc/third_party/mozjs-45/extract/js/src -Ibuild/fedora/third_party/mozjs-45/extract/mfbt -Isrc/third_party/mozjs-45/extract/mfbt -Ibuild/fedora/third_party/mozjs-45/extract/intl/icu/source/common -Isrc/third_party/mozjs-45/extract/intl/icu/source/common -Ibuild/fedora/third_party/mozjs-45/include -Isrc/third_party/mozjs-45/include -Ibuild/fedora/third_party/mozjs-45/mongo_sources -Isrc/third_party/mozjs-45/mongo_sources -Ibuild/fedora/third_party/mozjs-45/platform/x86_64/linux/build -Isrc/third_party/mozjs-45/platform/x86_64/linux/build -Ibuild/fedora/third_party/mozjs-45/platform/x86_64/linux/include -Isrc/third_party/mozjs-45/platform/x86_64/linux/include src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src6.cpp src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsgc.h:24, from src/third_party/mozjs-45/extract/js/src/gc/Marking.cpp:15, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src6.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1040:19: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 1040 | memcpy(&elements_[dstStart], src, count * sizeof(HeapSlot)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/gc/Tracer.h:12, from src/third_party/mozjs-45/extract/js/src/gc/Marking.h:18, from src/third_party/mozjs-45/extract/js/src/gc/Marking.cpp:7: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here 650 | class HeapSlot : public WriteBarrieredBase | ^~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1048:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 1048 | memcpy(&elements_[dstStart], src, count * sizeof(HeapSlot)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here 650 | class HeapSlot : public WriteBarrieredBase | ^~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1082:20: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 1082 | memmove(elements_ + dstStart, elements_ + srcStart, count * sizeof(HeapSlot)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here 650 | class HeapSlot : public WriteBarrieredBase | ^~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1094:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 1094 | memmove(elements_ + dstStart, elements_ + srcStart, count * sizeof(Value)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here 650 | class HeapSlot : public WriteBarrieredBase | ^~~~~~~~ g++ -o build/fedora/mongo/rpc/legacy_request_builder.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/rpc/legacy_request_builder.cpp In file included from src/third_party/mozjs-45/extract/js/src/gc/Marking.cpp:32: src/third_party/mozjs-45/extract/js/src/jsobjinlines.h: In static member function 'static JSObject* JSObject::create(js::ExclusiveContext*, js::gc::AllocKind, js::gc::InitialHeap, js::HandleShape, js::HandleObjectGroup)': src/third_party/mozjs-45/extract/js/src/jsobjinlines.h:355:15: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::HeapSlot'; use assignment instead [-Wclass-memaccess] 355 | memset(obj->as().fixedSlots(), 0, size - sizeof(js::NativeObject)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here 650 | class HeapSlot : public WriteBarrieredBase | ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/extract/js/src/jsapi.h:25, from src/third_party/mozjs-45/extract/js/src/jsfriendapi.h:15, from src/third_party/mozjs-45/extract/js/src/gc/Marking.h:14: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': src/third_party/mozjs-45/include/js/MemoryMetrics.h:40:34: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/gc/StoreBuffer.h:18, from src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:13: src/third_party/mozjs-45/include/js/MemoryMetrics.h:31:8: note: 'struct JS::TabSizes' declared here 31 | struct TabSizes | ^~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::ServoSizes]': src/third_party/mozjs-45/include/js/MemoryMetrics.h:71:36: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::ServoSizes'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/MemoryMetrics.h:59:8: note: 'struct JS::ServoSizes' declared here 59 | struct ServoSizes | ^~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::PreliminaryObjectArray]': src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:808:25: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::PreliminaryObjectArray'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/ObjectGroup.h:16, from src/third_party/mozjs-45/extract/js/src/vm/Shape.h:31, from src/third_party/mozjs-45/extract/js/src/jsobj.h:27, from src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:16: src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:796:7: note: 'class js::PreliminaryObjectArray' declared here 796 | class PreliminaryObjectArray | ^~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::TypeNewScript]': src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:939:39: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::TypeNewScript' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:886:7: note: 'class js::TypeNewScript' declared here 886 | class TypeNewScript | ^~~~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JSSubString]': src/third_party/mozjs-45/extract/js/src/jsstr.h:73:37: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JSSubString'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/String.h:16, from src/third_party/mozjs-45/extract/js/src/vm/Shape.h:32: src/third_party/mozjs-45/extract/js/src/jsstr.h:68:8: note: 'struct JSSubString' declared here 68 | struct JSSubString { | ^~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': src/third_party/mozjs-45/extract/js/src/vm/String.h:1092:25: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/String.h:1074:7: note: 'class js::StaticStrings' declared here 1074 | class StaticStrings | ^~~~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': src/third_party/mozjs-45/extract/js/src/vm/Shape.h:392:25: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/Shape.h:323:7: note: 'class js::BaseShape' declared here 323 | class BaseShape : public gc::TenuredCell | ^~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:699:25: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:24, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/gc/Zone.h:14, from src/third_party/mozjs-45/extract/js/src/builtin/ModuleObject.h:13, from src/third_party/mozjs-45/extract/js/src/gc/Marking.cpp:18: src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:686:8: note: 'struct js::jit::IonScriptCounts' declared here 686 | struct IonScriptCounts | ^~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:293:40: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:244:7: note: 'class js::NewObjectCache' declared here 244 | class NewObjectCache | ^~~~~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::gc::TenureCountCache]': src/third_party/mozjs-45/extract/js/src/gc/GCInternals.h:211:42: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::gc::TenureCountCache'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/gc/Marking.cpp:19: src/third_party/mozjs-45/extract/js/src/gc/GCInternals.h:207:8: note: 'struct js::gc::TenureCountCache' declared here 207 | struct TenureCountCache | ^~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::Address]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:290:33: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::Address'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/Safepoints.h:12, from src/third_party/mozjs-45/extract/js/src/jit/JitFrames.h:16, from src/third_party/mozjs-45/extract/js/src/jscntxtinlines.h:16, from src/third_party/mozjs-45/extract/js/src/jscompartmentinlines.h:14, from src/third_party/mozjs-45/extract/js/src/gc/Marking.cpp:30: src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:282:8: note: 'struct js::jit::Address' declared here 282 | struct Address | ^~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::BaseIndex]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:306:35: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::BaseIndex'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:295:8: note: 'struct js::jit::BaseIndex' declared here 295 | struct BaseIndex | ^~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::CodeOffsetJump]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:513:25: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::jit::CodeOffsetJump'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:491:7: note: 'class js::jit::CodeOffsetJump' declared here 491 | class CodeOffsetJump | ^~~~~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodCopy(T*, const T*, size_t) [with T = js::HeapSlot; size_t = long unsigned int]': src/third_party/mozjs-45/extract/js/src/gc/Marking.cpp:2241:12: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:110:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 110 | memcpy(aDst, aSrc, aNElem * sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here 650 | class HeapSlot : public WriteBarrieredBase | ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsapi.h:29: src/third_party/mozjs-45/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': src/third_party/mozjs-45/include/js/HashTable.h:186:67: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' src/third_party/mozjs-45/extract/js/src/vm/SPSProfiler.h:256:18: required from here src/third_party/mozjs-45/include/js/HashTable.h:1550:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] 1550 | memset(table, 0, sizeof(*table) * capacity()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/HashTable.h:722:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here 722 | class HashTableEntry | ^~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = void* const; HashPolicy = js::HashSet, js::SystemAllocPolicy>::SetOps; AllocPolicy = js::SystemAllocPolicy]': src/third_party/mozjs-45/include/js/HashTable.h:424:67: required from 'void js::HashSet::clear() [with T = void*; HashPolicy = js::PointerHasher; AllocPolicy = js::SystemAllocPolicy]' src/third_party/mozjs-45/extract/js/src/gc/Nursery.cpp:642:19: required from here src/third_party/mozjs-45/include/js/HashTable.h:1550:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::SystemAllocPolicy>::SetOps, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry'} with no trivial copy-assignment [-Wclass-memaccess] 1550 | memset(table, 0, sizeof(*table) * capacity()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/HashTable.h:722:7: note: 'js::detail::HashTable, js::SystemAllocPolicy>::SetOps, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry'} declared here 722 | class HashTableEntry | ^~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::gc::Cell* const; HashPolicy = js::HashSet, js::SystemAllocPolicy>::SetOps; AllocPolicy = js::SystemAllocPolicy]': src/third_party/mozjs-45/include/js/HashTable.h:424:67: required from 'void js::HashSet::clear() [with T = js::gc::Cell*; HashPolicy = js::PointerHasher; AllocPolicy = js::SystemAllocPolicy]' src/third_party/mozjs-45/extract/js/src/gc/Nursery.cpp:683:24: required from here src/third_party/mozjs-45/include/js/HashTable.h:1550:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::SystemAllocPolicy>::SetOps, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry'} with no trivial copy-assignment [-Wclass-memaccess] 1550 | memset(table, 0, sizeof(*table) * capacity()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/HashTable.h:722:7: note: 'js::detail::HashTable, js::SystemAllocPolicy>::SetOps, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry'} declared here 722 | class HashTableEntry | ^~~~~~~~~~~~~~ In file included from /usr/include/string.h:535, from /usr/include/c++/12/cstring:42, from src/mongo/base/data_type_endian.h:30, from src/mongo/rpc/message.h:33, from src/mongo/rpc/legacy_request_builder.h:31, from src/mongo/rpc/legacy_request_builder.cpp:31: In function 'memcpy', inlined from 'mongo::StringData::copyTo(char*, bool) const' at src/mongo/base/string_data.h:266:15, inlined from 'mongo::StringBuilderImpl::append(mongo::StringData)' at src/mongo/bson/util/builder.h:484:19, inlined from 'mongo::StringBuilderImpl::appendIntegral(int, int)mongo::StringBuilderImpl&' at src/mongo/bson/util/builder.h:518:19, inlined from 'mongo::StringBuilderImpl::appendIntegral(int, int)mongo::StringBuilderImpl&' at src/mongo/bson/util/builder.h:512:24, inlined from 'mongo::StringBuilderImpl::operator<<(int)' at src/mongo/bson/util/builder.h:402:30, inlined from 'mongo::BSONObjBuilder::numStr[abi:cxx11](int)' at src/mongo/bson/bsonobjbuilder.h:719:14, inlined from 'mongo::BSONObjBuilder::append(mongo::StringData, std::vector > const&)mongo::BSONObjBuilder& [clone .isra.0]' at src/mongo/bson/bsonobjbuilder.h:958:26: /usr/include/bits/string_fortified.h:29:33: warning: 'memcpy' offset [0, 511] is out of the bounds [0, 0] [-Warray-bounds] 29 | return __builtin___memcpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 30 | __glibc_objsize0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -o build/fedora/mongo/rpc/legacy_request.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/rpc/legacy_request.cpp ar rcsTD build/fedora/mongo/rpc/liblegacy_request.a build/fedora/mongo/rpc/legacy_request.o build/fedora/mongo/rpc/legacy_request_builder.o Skipping ranlib for thin archive build/fedora/mongo/rpc/liblegacy_request.a gcc -o build/fedora/third_party/wiredtiger/src/btree/bt_vrfy.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/fedora/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/fedora/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/fedora/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/btree/bt_vrfy.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C g++ -o build/fedora/mongo/db/commands/rename_collection_common.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/commands/rename_collection_common.cpp In file included from /usr/include/c++/12/cstring:42, from src/mongo/base/string_data.h:33, from build/fedora/mongo/base/error_codes.h:35, from src/mongo/base/status.h:33, from src/mongo/bson/mutable/element.h:32, from src/mongo/db/auth/privilege.h:32, from src/mongo/db/commands/rename_collection.h:34, from src/mongo/db/commands/rename_collection_common.cpp:29: In function '*memchr', inlined from 'mongo::StringData::find(char, unsigned long) const' at src/mongo/base/string_data.h:275:27, inlined from 'mongo::NamespaceString::NamespaceString(mongo::StringData, mongo::StringData)' at src/mongo/db/namespace_string.h:113:9, inlined from 'mongo::ResourcePattern::forDatabaseName(mongo::StringData)' at src/mongo/db/auth/resource_pattern.h:79:51: /usr/include/string.h:102:27: warning: 'memchr' specified bound 18446744073709551615 exceeds maximum object size 9223372036854775807 [-Wstringop-overread] 102 | return __builtin_memchr (__s, __c, __n); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ g++ -o build/fedora/mongo/db/commands/find_and_modify_common.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/commands/find_and_modify_common.cpp g++ -o build/fedora/mongo/db/commands/fail_point_cmd.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/commands/fail_point_cmd.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/db/commands/find_and_modify_common.cpp:39: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/bson/mutable/element.h:34, from src/mongo/db/auth/privilege.h:32, from src/mongo/db/commands/find_and_modify_common.h:34, from src/mongo/db/commands/find_and_modify_common.cpp:33: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/db/commands/fail_point_cmd.cpp:37: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/bson/mutable/element.h:34, from src/mongo/db/auth/privilege.h:32, from src/mongo/db/commands/fail_point_cmd.cpp:36: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ 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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ 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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ 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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call g++ -o build/fedora/mongo/db/commands/refresh_logical_session_cache_now.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/commands/refresh_logical_session_cache_now.cpp 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call g++ -o build/fedora/mongo/db/commands/refresh_sessions_command.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/commands/refresh_sessions_command.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/db/commands/refresh_logical_session_cache_now.cpp:33: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/bson/timestamp.h:31, from src/mongo/db/repl/optime.h:33, from src/mongo/db/namespace_string.h:38, from src/mongo/db/client.h:43, from src/mongo/db/commands/refresh_logical_session_cache_now.cpp:32: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/db/commands/refresh_sessions_command.cpp:34: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/db/server_options.h:30, from src/mongo/base/secure_allocator.h:40, from src/mongo/db/auth/authorization_manager.h:35, from src/mongo/db/auth/authorization_session.h:38, from src/mongo/db/commands/refresh_sessions_command.cpp:32: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call g++ -o build/fedora/mongo/db/commands/copydb_common.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/commands/copydb_common.cpp In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call g++ -o build/fedora/mongo/db/commands/kill_sessions_command.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/commands/kill_sessions_command.cpp g++ -o build/fedora/mongo/db/commands/kill_all_sessions_command.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/commands/kill_all_sessions_command.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/db/commands/kill_sessions_command.cpp:40: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/db/server_options.h:30, from src/mongo/base/secure_allocator.h:40, from src/mongo/db/auth/authorization_manager.h:35, from src/mongo/db/commands/kill_sessions_command.cpp:36: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/db/commands/kill_all_sessions_command.cpp:40: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/db/server_options.h:30, from src/mongo/base/secure_allocator.h:40, from src/mongo/db/auth/authorization_manager.h:35, from src/mongo/db/commands/kill_all_sessions_command.cpp:36: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Top::CollectionData, mongo::StringMapTraits>': src/mongo/db/stats/top.h:150:14: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Top::CollectionData, mongo::StringMapTraits>': src/mongo/db/stats/top.h:150:14: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call g++ -o build/fedora/mongo/db/commands/start_session_command.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/commands/start_session_command.cpp g++ -o build/fedora/mongo/db/commands/parameters.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/commands/parameters.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/db/commands/parameters.cpp:42: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/bson/bsonobj.h:44, from src/mongo/bson/json.h:34, from src/mongo/db/commands/parameters.cpp:35: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/db/commands/start_session_command.cpp:38: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/db/server_options.h:30, from src/mongo/base/secure_allocator.h:40, from src/mongo/db/auth/authorization_manager.h:35, from src/mongo/db/commands/start_session_command.cpp:34: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ 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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ 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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Top::CollectionData, mongo::StringMapTraits>': src/mongo/db/stats/top.h:150:14: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call g++ -o build/fedora/mongo/db/commands/generic.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/commands/generic.cpp g++ -o build/fedora/mongo/db/commands/hashcmd.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/commands/hashcmd.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/db/commands/generic.cpp:35: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/bson_extract.h:35, from src/mongo/db/commands/generic.cpp:33: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/db/commands/hashcmd.cpp:43: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/bson/mutable/element.h:34, from src/mongo/db/auth/privilege.h:32, from src/mongo/db/commands/hashcmd.cpp:42: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/db/commands/generic.cpp: In member function 'virtual bool mongo::{anonymous}::ListCommandsCmd::run(mongo::OperationContext*, const std::string&, const mongo::BSONObj&, mongo::BSONObjBuilder&)': src/mongo/db/commands/generic.cpp:155:25: warning: loop variable 'command' creates a copy from type 'const std::pair, mongo::Command*>' [-Wrange-loop-construct] 155 | for (const auto command : globalCommandRegistry()->allCommands()) { | ^~~~~~~ src/mongo/db/commands/generic.cpp:155:25: note: use reference type to prevent copying 155 | for (const auto command : globalCommandRegistry()->allCommands()) { | ^~~~~~~ | & src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call g++ -o build/fedora/mongo/db/commands/end_sessions_command.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/commands/end_sessions_command.cpp g++ -o build/fedora/mongo/db/storage/encryption_hooks.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/storage/encryption_hooks.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/db/commands/end_sessions_command.cpp:34: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/db/server_options.h:30, from src/mongo/base/secure_allocator.h:40, from src/mongo/db/auth/authorization_manager.h:35, from src/mongo/db/auth/authorization_session.h:38, from src/mongo/db/commands/end_sessions_command.cpp:32: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/third_party/mozjs-45/extract/mfbt/Compression.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -Wno-non-virtual-dtor -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -include js-confdefs.h -Wno-invalid-offsetof -fPIE -DIMPL_MFBT -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=1 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora/third_party/mozjs-45/extract/js/src -Isrc/third_party/mozjs-45/extract/js/src -Ibuild/fedora/third_party/mozjs-45/extract/mfbt -Isrc/third_party/mozjs-45/extract/mfbt -Ibuild/fedora/third_party/mozjs-45/extract/intl/icu/source/common -Isrc/third_party/mozjs-45/extract/intl/icu/source/common -Ibuild/fedora/third_party/mozjs-45/include -Isrc/third_party/mozjs-45/include -Ibuild/fedora/third_party/mozjs-45/mongo_sources -Isrc/third_party/mozjs-45/mongo_sources -Ibuild/fedora/third_party/mozjs-45/platform/x86_64/linux/build -Isrc/third_party/mozjs-45/platform/x86_64/linux/build -Ibuild/fedora/third_party/mozjs-45/platform/x86_64/linux/include -Isrc/third_party/mozjs-45/platform/x86_64/linux/include src/third_party/mozjs-45/extract/mfbt/Compression.cpp gcc -o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_compare.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -DUSE_COMPILER_F80_TYPE=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -Dlinux=1 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_compare.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C g++ -o build/fedora/mongo/db/repl/bson_extract_optime.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/repl/bson_extract_optime.cpp In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call ar rcsTD build/fedora/mongo/db/commands/libcore.a build/fedora/mongo/db/commands/copydb_common.o build/fedora/mongo/db/commands/end_sessions_command.o build/fedora/mongo/db/commands/fail_point_cmd.o build/fedora/mongo/db/commands/find_and_modify_common.o build/fedora/mongo/db/commands/generic.o build/fedora/mongo/db/commands/hashcmd.o build/fedora/mongo/db/commands/kill_all_sessions_by_pattern_command.o build/fedora/mongo/db/commands/kill_all_sessions_command.o build/fedora/mongo/db/commands/kill_sessions_command.o build/fedora/mongo/db/commands/parameters.o build/fedora/mongo/db/commands/refresh_logical_session_cache_now.o build/fedora/mongo/db/commands/refresh_sessions_command.o build/fedora/mongo/db/commands/rename_collection_common.o build/fedora/mongo/db/commands/start_session_command.o Skipping ranlib for thin archive build/fedora/mongo/db/commands/libcore.a g++ -o build/fedora/mongo/db/repl/optime.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/repl/optime.cpp g++ -o build/fedora/mongo/db/namespace_string.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/namespace_string.cpp ar rcsTD build/fedora/mongo/db/repl/liboptime.a build/fedora/mongo/db/repl/bson_extract_optime.o build/fedora/mongo/db/repl/optime.o Skipping ranlib for thin archive build/fedora/mongo/db/repl/liboptime.a gcc -o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_exp.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -DUSE_COMPILER_F80_TYPE=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -Dlinux=1 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_exp.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C g++ -o build/fedora/mongo/db/ftdc/ftdc_mongod.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/ftdc/ftdc_mongod.cpp ar rcsTD build/fedora/mongo/db/libnamespace_string.a build/fedora/mongo/db/namespace_string.o Skipping ranlib for thin archive build/fedora/mongo/db/libnamespace_string.a g++ -o build/fedora/third_party/icu4c-57.1/source/i18n/affixpatternparser.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/affixpatternparser.cpp gcc -o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_expm1.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -DUSE_COMPILER_F80_TYPE=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -Dlinux=1 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_expm1.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C g++ -o build/fedora/mongo/db/s/read_only_catalog_cache_loader.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/s/read_only_catalog_cache_loader.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/db/ftdc/ftdc_server.h:34, from src/mongo/db/ftdc/ftdc_mongod.cpp:37: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/util/duration.h:40, from src/mongo/util/time_support.h:41, from src/mongo/db/ftdc/config.h:33, from src/mongo/db/ftdc/controller.h:37, from src/mongo/db/ftdc/ftdc_mongod.cpp:36: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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 g++ -o build/fedora/third_party/icu4c-57.1/source/i18n/scriptset.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/scriptset.cpp 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: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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/mongo/db/read_concern.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/read_concern.cpp src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/db/read_concern.cpp:37: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/bson/mutable/element.h:34, from src/mongo/db/auth/privilege.h:32, from src/mongo/db/commands.h:39: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, unsigned int, mongo::StringMapTraits>': src/mongo/db/op_observer.h:310:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/third_party/s2/s2latlngrect.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -DDEBUG_MODE=false -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/third_party/s2/s2latlngrect.cc g++ -o build/fedora/mongo/client/replica_set_monitor.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/asio-master/asio/include -Ibuild/fedora -Isrc src/mongo/client/replica_set_monitor.cpp In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/bson/bsonobj.h:44, from src/mongo/client/mongo_uri.h:38, from src/mongo/client/replica_set_monitor.h:38, from src/mongo/client/replica_set_monitor.cpp:32: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::weak_ptr, mongo::StringMapTraits>': src/mongo/client/replica_set_monitor_manager.h:101:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::weak_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::weak_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::weak_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::weak_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/third_party/s2/strings/stringprintf.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Isrc/third_party/s2 -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/third_party/s2/strings/stringprintf.cc gcc -o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_exp10.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -DUSE_COMPILER_F80_TYPE=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -Dlinux=1 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_exp10.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C g++ -o build/fedora/mongo/util/timer.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/util/timer.cpp g++ -o build/fedora/mongo/db/s/balancer/cluster_statistics.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/s/balancer/cluster_statistics.cpp g++ -o build/fedora/third_party/icu4c-57.1/source/common/uchriter.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/uchriter.cpp g++ -o build/fedora/mongo/db/ops/write_ops_exec.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/ops/write_ops_exec.cpp g++ -o build/fedora/mongo/db/s/database_sharding_state.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/s/database_sharding_state.cpp In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/bson/bsonobj.h:44, from src/mongo/db/catalog/database.h:37, from src/mongo/db/s/database_sharding_state.h:32, from src/mongo/db/s/database_sharding_state.cpp:33: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/plan_cache.h:35, from src/mongo/db/catalog/collection_info_cache.h:33, from src/mongo/db/catalog/collection.h:41, from src/mongo/db/catalog/database.h:38: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/bson/mutable/element.h:34, from src/mongo/db/auth/privilege.h:32, from src/mongo/db/audit.h:37, from src/mongo/db/ops/write_ops_exec.cpp:36: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/plan_cache.h:35, from src/mongo/db/catalog/collection_info_cache.h:33, from src/mongo/db/catalog/collection.h:41, from src/mongo/db/ops/write_ops_exec.cpp:38: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ 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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ 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: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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, unsigned int, mongo::StringMapTraits>': src/mongo/db/op_observer.h:310:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long unsigned int, mongo::StringMapTraits>': src/mongo/db/views/view_graph.h:177:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/db/views/view_catalog.h:174:13: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Collection*, mongo::StringMapTraits>': src/mongo/db/catalog/database.h:165:38: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ChunkVersion, mongo::StringMapTraits>': src/mongo/db/s/operation_sharding_state.h:184:29: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ChunkVersion; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ChunkVersion; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ChunkVersion; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ChunkVersion; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::DatabaseVersion, mongo::StringMapTraits>': src/mongo/db/s/operation_sharding_state.h:185:32: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::DatabaseVersion; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::DatabaseVersion; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::DatabaseVersion; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::DatabaseVersion; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, unsigned int, mongo::StringMapTraits>': src/mongo/db/op_observer.h:310:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long unsigned int, mongo::StringMapTraits>': src/mongo/db/views/view_graph.h:177:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/db/views/view_catalog.h:174:13: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Collection*, mongo::StringMapTraits>': src/mongo/db/catalog/database.h:165:38: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ChunkVersion, mongo::StringMapTraits>': src/mongo/db/s/operation_sharding_state.h:184:29: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ChunkVersion; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ChunkVersion; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ChunkVersion; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ChunkVersion; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::DatabaseVersion, mongo::StringMapTraits>': src/mongo/db/s/operation_sharding_state.h:185:32: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::DatabaseVersion; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::DatabaseVersion; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::DatabaseVersion; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::DatabaseVersion; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Top::CollectionData, mongo::StringMapTraits>': src/mongo/db/stats/top.h:150:14: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call gcc -o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_quantexpd.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -DUSE_COMPILER_F80_TYPE=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -Dlinux=1 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_quantexpd.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C g++ -o build/fedora/mongo/db/pipeline/document_source_redact.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/pipeline/document_source_redact.cpp In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/bson/bsonobj.h:44, from src/mongo/bson/bsonobj_comparator_interface.h:32, from src/mongo/bson/simple_bsonobj_comparator.h:34, from src/mongo/db/pipeline/document_source.h:41, from src/mongo/db/pipeline/document_source_redact.h:32, from src/mongo/db/pipeline/document_source_redact.cpp:31: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/db/pipeline/document_source.h:44: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call g++ -o build/fedora/mongo/s/client/rs_local_client.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/s/client/rs_local_client.cpp ar rcsTD build/fedora/mongo/db/ops/libwrite_ops_exec.a build/fedora/mongo/db/ops/write_ops_exec.o Skipping ranlib for thin archive build/fedora/mongo/db/ops/libwrite_ops_exec.a g++ -o build/fedora/third_party/icu4c-57.1/source/i18n/utrans.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/utrans.cpp g++ -o build/fedora/mongo/db/catalog/capped_utils.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/catalog/capped_utils.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/db/curop.h:35, from src/mongo/s/client/rs_local_client.cpp:37: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/bson/timestamp.h:31, from src/mongo/db/repl/optime.h:33, from src/mongo/s/client/rs_local_client.h:32, from src/mongo/s/client/rs_local_client.cpp:33: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/bson/timestamp.h:31, from src/mongo/db/repl/optime.h:33, from src/mongo/db/namespace_string.h:38, from src/mongo/db/background.h:43, from src/mongo/db/catalog/capped_utils.cpp:36: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::repl::ReplSetTagPattern, mongo::StringMapTraits>': src/mongo/db/repl/repl_set_config.h:402:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::repl::ReplSetTagPattern; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::repl::ReplSetTagPattern; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::repl::ReplSetTagPattern; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::repl::ReplSetTagPattern; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/plan_cache.h:35, from src/mongo/db/catalog/collection_info_cache.h:33, from src/mongo/db/catalog/collection.h:41, from src/mongo/db/catalog_raii.h:32, from src/mongo/db/catalog/capped_utils.cpp:43: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, unsigned int, mongo::StringMapTraits>': src/mongo/db/op_observer.h:310:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long unsigned int, mongo::StringMapTraits>': src/mongo/db/views/view_graph.h:177:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/db/views/view_catalog.h:174:13: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Collection*, mongo::StringMapTraits>': src/mongo/db/catalog/database.h:165:38: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call ar rcsTD build/fedora/mongo/s/client/librs_local_client.a build/fedora/mongo/s/client/rs_local_client.o Skipping ranlib for thin archive build/fedora/mongo/s/client/librs_local_client.a g++ -o build/fedora/mongo/db/repl/databases_cloner.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/repl/databases_cloner.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/query_solution.h:36, from src/mongo/db/query/plan_executor.h:37, from src/mongo/db/clientcursor.h:38, from src/mongo/client/fetcher.h:41, from src/mongo/db/repl/databases_cloner.h:39, from src/mongo/db/repl/databases_cloner.cpp:33: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/bson/bsonobj.h:44, from src/mongo/db/repl/databases_cloner.h:38: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36, from src/mongo/db/query/plan_cache.h:35, from src/mongo/db/query/query_solution.h:38: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/third_party/shim_pcrecpp.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS src/third_party/shim_pcrecpp.cc g++ -o build/fedora/mongo/db/introspect.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/introspect.cpp src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, unsigned int, mongo::StringMapTraits>': src/mongo/db/op_observer.h:310:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/rpc/message.h:37, from src/mongo/db/introspect.h:32, from src/mongo/db/introspect.cpp:33: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/plan_cache.h:35, from src/mongo/db/catalog/collection_info_cache.h:33, from src/mongo/db/catalog/collection.h:41, from src/mongo/db/introspect.cpp:39: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, unsigned int, mongo::StringMapTraits>': src/mongo/db/op_observer.h:310:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long unsigned int, mongo::StringMapTraits>': src/mongo/db/views/view_graph.h:177:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/db/views/view_catalog.h:174:13: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Collection*, mongo::StringMapTraits>': src/mongo/db/catalog/database.h:165:38: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Top::CollectionData, mongo::StringMapTraits>': src/mongo/db/stats/top.h:150:14: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call ar rcsTD build/fedora/mongo/db/repl/libdatabases_cloner.a build/fedora/mongo/db/repl/databases_cloner.o Skipping ranlib for thin archive build/fedora/mongo/db/repl/libdatabases_cloner.a g++ -o build/fedora/mongo/db/catalog/collection_info_cache_impl.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/catalog/collection_info_cache_impl.cpp g++ -o build/fedora/third_party/icu4c-57.1/source/i18n/timezone.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/timezone.cpp g++ -o build/fedora/mongo/db/storage/mmap_v1/extent_manager.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/storage/mmap_v1/extent_manager.cpp In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/bson/bsonobj.h:44, from src/mongo/db/collection_index_usage_tracker.h:33, from src/mongo/db/catalog/collection_info_cache.h:32, from src/mongo/db/catalog/collection_info_cache_impl.h:31, from src/mongo/db/catalog/collection_info_cache_impl.cpp:33: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/plan_cache.h:35, from src/mongo/db/catalog/collection_info_cache.h:33: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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 g++ -o build/fedora/mongo/s/query/store_possible_cursor.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/s/query/store_possible_cursor.cpp src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/db/curop.h:35, from src/mongo/s/query/store_possible_cursor.cpp:36: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, unsigned int, mongo::StringMapTraits>': src/mongo/db/op_observer.h:310:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/bson/timestamp.h:31, from src/mongo/db/repl/optime.h:33, from src/mongo/db/namespace_string.h:38, from src/mongo/s/query/store_possible_cursor.h:31, from src/mongo/s/query/store_possible_cursor.cpp:31: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, bool, mongo::StringMapTraits>': src/mongo/db/fts/stop_words.h:62:21: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = bool; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = bool; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = bool; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = bool; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call g++ -o build/fedora/mongo/util/log.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/util/log.cpp g++ -o build/fedora/mongo/db/s/cleanup_orphaned_cmd.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/s/cleanup_orphaned_cmd.cpp g++ -o build/fedora/mongo/bson/json.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/bson/json.cpp In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/db/server_options.h:30, from src/mongo/base/secure_allocator.h:40, from src/mongo/db/auth/authorization_manager.h:35, from src/mongo/db/s/cleanup_orphaned_cmd.cpp:37: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/plan_cache.h:35, from src/mongo/db/catalog/collection_info_cache.h:33, from src/mongo/db/catalog/collection.h:41, from src/mongo/db/catalog_raii.h:32, from src/mongo/db/s/cleanup_orphaned_cmd.cpp:40: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, unsigned int, mongo::StringMapTraits>': src/mongo/db/op_observer.h:310:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long unsigned int, mongo::StringMapTraits>': src/mongo/db/views/view_graph.h:177:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/db/views/view_catalog.h:174:13: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Collection*, mongo::StringMapTraits>': src/mongo/db/catalog/database.h:165:38: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from /usr/include/string.h:535, from /usr/include/c++/12/cstring:42, from src/mongo/base/string_data.h:33, from build/fedora/mongo/base/error_codes.h:35, from src/mongo/base/status.h:33, from src/mongo/bson/json.h:33, from src/mongo/bson/json.cpp:30: In function 'memcpy', inlined from 'mongo::StringData::copyTo(char*, bool) const' at src/mongo/base/string_data.h:266:15, inlined from 'mongo::StringBuilderImpl::append(mongo::StringData)' at src/mongo/bson/util/builder.h:484:19, inlined from 'mongo::StringBuilderImpl::appendIntegral(int, int)mongo::StringBuilderImpl&' at src/mongo/bson/util/builder.h:518:19, inlined from 'mongo::StringBuilderImpl::appendIntegral(int, int)mongo::StringBuilderImpl&' at src/mongo/bson/util/builder.h:512:24, inlined from 'mongo::StringBuilderImpl::operator<<(int)' at src/mongo/bson/util/builder.h:402:30, inlined from 'mongo::BSONObjBuilder::numStr[abi:cxx11](int)' at src/mongo/bson/bsonobjbuilder.h:719:14, inlined from 'mongo::JParse::array(mongo::StringData, mongo::BSONObjBuilder&, bool)' at src/mongo/bson/json.cpp:722:46: /usr/include/bits/string_fortified.h:29:33: warning: 'memcpy' offset [0, 511] is out of the bounds [0, 0] [-Warray-bounds] 29 | return __builtin___memcpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 30 | __glibc_objsize0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -o build/fedora/mongo/db/index/haystack_access_method.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/index/haystack_access_method.cpp In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/bson/bsonobj.h:44, from src/mongo/bson/bsonobj_comparator_interface.h:32, from src/mongo/bson/simple_bsonobj_comparator.h:34, from src/mongo/db/index/index_access_method.h:35, from src/mongo/db/index/haystack_access_method.h:32, from src/mongo/db/index/haystack_access_method.cpp:33: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/plan_cache.h:35, from src/mongo/db/catalog/collection_info_cache.h:33, from src/mongo/db/catalog/collection.h:41, from src/mongo/db/index/haystack_access_method_internal.h:34, from src/mongo/db/index/haystack_access_method.cpp:43: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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 g++ -o build/fedora/mongo/db/server_transactions_metrics.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/server_transactions_metrics.cpp src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, unsigned int, mongo::StringMapTraits>': src/mongo/db/op_observer.h:310:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/db/commands/server_status.h:33, from src/mongo/db/server_transactions_metrics.cpp:33: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/bson/timestamp.h:31, from src/mongo/db/repl/optime.h:33, from src/mongo/db/namespace_string.h:38, from src/mongo/db/client.h:43, from src/mongo/db/operation_context.h:36, from src/mongo/db/server_transactions_metrics.h:31, from src/mongo/db/server_transactions_metrics.cpp:31: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call g++ -o build/fedora/mongo/db/update/field_checker.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/update/field_checker.cpp g++ -o build/fedora/mongo/db/update/log_builder.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/update/log_builder.cpp g++ -o build/fedora/mongo/db/update/path_support.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/update/path_support.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/update/path_support.h:38, from src/mongo/db/update/path_support.cpp:29: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/bson/mutable/element.h:34, from src/mongo/db/update/path_support.h:35: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/mongo/db/update/storage_validation.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/update/storage_validation.cpp In file included from src/mongo/db/update/path_support.h:39: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call gcc -o build/fedora/third_party/wiredtiger/src/btree/bt_compact.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/fedora/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/fedora/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/fedora/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/btree/bt_compact.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C ar rcsTD build/fedora/mongo/db/update/libupdate_common.a build/fedora/mongo/db/update/field_checker.o build/fedora/mongo/db/update/log_builder.o build/fedora/mongo/db/update/path_support.o build/fedora/mongo/db/update/storage_validation.o Skipping ranlib for thin archive build/fedora/mongo/db/update/libupdate_common.a g++ -o build/fedora/mongo/db/repl/replication_coordinator.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/repl/replication_coordinator.cpp g++ -o build/fedora/mongo/db/update/compare_node.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/update/compare_node.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/document_comparator.h:32, from src/mongo/db/pipeline/expression_context.h:41, from src/mongo/db/update/update_leaf_node.h:31, from src/mongo/db/update/modifier_node.h:31, from src/mongo/db/update/compare_node.h:31, from src/mongo/db/update/compare_node.cpp:31: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ g++ -o build/fedora/third_party/icu4c-57.1/source/common/bytestriebuilder.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/bytestriebuilder.cpp In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/bson/bsonobj.h:44, from src/mongo/db/pipeline/expression_context.h:37: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ gcc -o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_hypot.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -DUSE_COMPILER_F80_TYPE=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -Dlinux=1 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_hypot.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ g++ -o build/fedora/mongo/db/logical_time_validator.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/logical_time_validator.cpp src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/mongo/db/views/view_catalog.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/views/view_catalog.cpp In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/bson/timestamp.h:31, from src/mongo/db/repl/optime.h:33, from src/mongo/db/namespace_string.h:38, from src/mongo/db/views/view_catalog.h:40, from src/mongo/db/views/view_catalog.cpp:33: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long unsigned int, mongo::StringMapTraits>': src/mongo/db/views/view_graph.h:177:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/db/views/view_catalog.h:174:13: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/db/pipeline/document_source.h:44, from src/mongo/db/views/view_catalog.cpp:45: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ ar rcsTD build/fedora/mongo/db/liblogical_time_validator.a build/fedora/mongo/db/logical_time_validator.o Skipping ranlib for thin archive build/fedora/mongo/db/liblogical_time_validator.a g++ -o build/fedora/mongo/db/repl/heartbeat_response_action.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/repl/heartbeat_response_action.cpp In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/mongo/db/logical_time.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/logical_time.cpp src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/mongo/db/operation_time_tracker.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/operation_time_tracker.cpp In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call ar rcsTD build/fedora/mongo/db/liblogical_time.a build/fedora/mongo/db/logical_time.o build/fedora/mongo/db/operation_time_tracker.o Skipping ranlib for thin archive build/fedora/mongo/db/liblogical_time.a g++ -o build/fedora/mongo/db/ftdc/collector.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/ftdc/collector.cpp g++ -o build/fedora/mongo/db/s/sharding_statistics.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/s/sharding_statistics.cpp gcc -o build/fedora/third_party/wiredtiger/src/btree/bt_curnext.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/fedora/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/fedora/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/fedora/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/btree/bt_curnext.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C g++ -o build/fedora/mongo/db/repl/noop_writer.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/repl/noop_writer.cpp g++ -o build/fedora/mongo/db/index_legacy.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/index_legacy.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/db/repl/noop_writer.cpp:33: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/bson/mutable/element.h:34, from src/mongo/db/auth/privilege.h:32, from src/mongo/db/commands.h:39: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/db/index_legacy.h:33, from src/mongo/db/index_legacy.cpp:29: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/plan_cache.h:35, from src/mongo/db/catalog/collection_info_cache.h:33, from src/mongo/db/catalog/collection.h:41, from src/mongo/db/index_legacy.cpp:33: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ 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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ 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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ 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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, unsigned int, mongo::StringMapTraits>': src/mongo/db/op_observer.h:310:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, unsigned int, mongo::StringMapTraits>': src/mongo/db/op_observer.h:310:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, bool, mongo::StringMapTraits>': src/mongo/db/fts/stop_words.h:62:21: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = bool; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = bool; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = bool; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = bool; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call /usr/bin/python3 buildscripts/idl/idlc.py --include src --base_dir build/fedora --target_arch x86_64 --header build/fedora/mongo/util/net/hostandport_gen.h --output build/fedora/mongo/util/net/hostandport_gen.cpp src/mongo/util/net/hostandport.idl g++ -o build/fedora/mongo/db/matcher/expression_where_noop.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/matcher/expression_where_noop.cpp g++ -o build/fedora/mongo/util/net/hostandport_gen.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/asio-master/asio/include -Ibuild/fedora -Isrc build/fedora/mongo/util/net/hostandport_gen.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/matcher/expression_where_base.h:31, from src/mongo/db/matcher/expression_where_noop.h:31, from src/mongo/db/matcher/expression_where_noop.cpp:33: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/bson/bsonobj.h:44, from src/mongo/db/matcher/expression.h:36: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/db/matcher/expression_where_noop.cpp: In member function 'virtual std::unique_ptr mongo::WhereNoOpMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_where_noop.cpp:55:21: warning: redundant move in return statement [-Wredundant-move] 55 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_where_noop.cpp:55:21: note: remove 'std::move' call In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from build/fedora/mongo/util/net/hostandport_gen.cpp:16: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from build/fedora/mongo/util/net/hostandport_gen.h:16, from build/fedora/mongo/util/net/hostandport_gen.cpp:9: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/mongo/db/geo/r2_region_coverer.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/geo/r2_region_coverer.cpp src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/mongo/db/s/move_chunk_command.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/s/move_chunk_command.cpp In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call g++ -o build/fedora/mongo/db/storage/mmap_v1/record_store_v1_capped.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/storage/mmap_v1/record_store_v1_capped.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/db/s/move_chunk_command.cpp:38: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/net/hostandport.h:35, from src/mongo/client/remote_command_targeter.h:32, from src/mongo/db/s/move_chunk_command.cpp:33: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call g++ -o build/fedora/mongo/s/catalog/type_tags.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/s/catalog/type_tags.cpp gcc -o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_bid.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -DUSE_COMPILER_F80_TYPE=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -Dlinux=1 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_bid.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C gcc -o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_logb.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -DUSE_COMPILER_F80_TYPE=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -Dlinux=1 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_logb.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C g++ -o build/fedora/mongo/db/server_parameters.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/server_parameters.cpp g++ -o build/fedora/third_party/icu4c-57.1/source/common/ruleiter.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/ruleiter.cpp g++ -o build/fedora/mongo/db/storage/mmap_v1/repair_database_interface.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/storage/mmap_v1/repair_database_interface.cpp g++ -o build/fedora/mongo/db/repl/roll_back_local_operations.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/repl/roll_back_local_operations.cpp gcc -o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_lgamma.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -DUSE_COMPILER_F80_TYPE=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -Dlinux=1 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_lgamma.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C g++ -o build/fedora/mongo/db/operation_context.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/operation_context.cpp ar rcsTD build/fedora/mongo/db/repl/libroll_back_local_operations.a build/fedora/mongo/db/repl/roll_back_local_operations.o Skipping ranlib for thin archive build/fedora/mongo/db/repl/libroll_back_local_operations.a g++ -o build/fedora/mongo/db/initialize_server_global_state.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/initialize_server_global_state.cpp g++ -o build/fedora/mongo/db/server_options_init.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/server_options_init.cpp g++ -o build/fedora/mongo/db/storage/mmap_v1/mmap_posix.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/storage/mmap_v1/mmap_posix.cpp ar rcsTD build/fedora/mongo/db/libmongodandmongos.a build/fedora/mongo/db/initialize_server_global_state.o build/fedora/mongo/db/server_options_init.o Skipping ranlib for thin archive build/fedora/mongo/db/libmongodandmongos.a g++ -o build/fedora/mongo/util/net/cidr.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/asio-master/asio/include -Ibuild/fedora -Isrc src/mongo/util/net/cidr.cpp g++ -o build/fedora/mongo/db/auth/internal_user_auth.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/auth/internal_user_auth.cpp g++ -o build/fedora/mongo/rpc/write_concern_error_detail.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/rpc/write_concern_error_detail.cpp ar rcsTD build/fedora/mongo/db/auth/libinternal_user_auth.a build/fedora/mongo/db/auth/internal_user_auth.o Skipping ranlib for thin archive build/fedora/mongo/db/auth/libinternal_user_auth.a g++ -o build/fedora/mongo/shell/linenoise_utf8.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/shell/linenoise_utf8.cpp ar rcsTD build/fedora/mongo/liblinenoise_utf8.a build/fedora/mongo/shell/linenoise_utf8.o Skipping ranlib for thin archive build/fedora/mongo/liblinenoise_utf8.a g++ -o build/fedora/mongo/db/commands/restart_catalog_command.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/commands/restart_catalog_command.cpp g++ -o build/fedora/mongo/util/text.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/util/text.cpp In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/bson/timestamp.h:31, from src/mongo/db/repl/optime.h:33, from src/mongo/db/namespace_string.h:38, from src/mongo/db/client.h:43, from src/mongo/db/operation_context.h:36, from src/mongo/db/catalog/catalog_control.h:31, from src/mongo/db/commands/restart_catalog_command.cpp:36: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/plan_cache.h:35, from src/mongo/db/catalog/collection_info_cache.h:33, from src/mongo/db/catalog/collection.h:41, from src/mongo/db/catalog/database.h:38, from src/mongo/db/commands/restart_catalog_command.cpp:37: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ gcc -o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_to_int32.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -DUSE_COMPILER_F80_TYPE=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -Dlinux=1 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_to_int32.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/mongo/db/repl/initial_syncer.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/repl/initial_syncer.cpp src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, unsigned int, mongo::StringMapTraits>': src/mongo/db/op_observer.h:310:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long unsigned int, mongo::StringMapTraits>': src/mongo/db/views/view_graph.h:177:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/db/views/view_catalog.h:174:13: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Collection*, mongo::StringMapTraits>': src/mongo/db/catalog/database.h:165:38: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/query_solution.h:36, from src/mongo/db/query/plan_executor.h:37, from src/mongo/db/clientcursor.h:38, from src/mongo/client/fetcher.h:41, from src/mongo/db/repl/collection_cloner.h:39, from src/mongo/db/repl/initial_syncer.h:42, from src/mongo/db/repl/initial_syncer.cpp:33: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/bson/bsonobj.h:44, from src/mongo/db/repl/initial_syncer.h:37: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36, from src/mongo/db/query/plan_cache.h:35, from src/mongo/db/query/query_solution.h:38: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, unsigned int, mongo::StringMapTraits>': src/mongo/db/op_observer.h:310:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::repl::ReplSetTagPattern, mongo::StringMapTraits>': src/mongo/db/repl/repl_set_config.h:402:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::repl::ReplSetTagPattern; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::repl::ReplSetTagPattern; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::repl::ReplSetTagPattern; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::repl::ReplSetTagPattern; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/mongo/db/commands/feature_compatibility_version.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/commands/feature_compatibility_version.cpp In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/bson/bsonobj.h:44, from src/mongo/db/commands/feature_compatibility_version.h:33, from src/mongo/db/commands/feature_compatibility_version.cpp:33: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/plan_cache.h:35, from src/mongo/db/catalog/collection_info_cache.h:33, from src/mongo/db/catalog/collection.h:41, from src/mongo/db/repl/storage_interface.h:40, from src/mongo/db/commands/feature_compatibility_version.h:34: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: 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: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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, unsigned int, mongo::StringMapTraits>': src/mongo/db/op_observer.h:310:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long unsigned int, mongo::StringMapTraits>': src/mongo/db/views/view_graph.h:177:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/db/views/view_catalog.h:174:13: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Collection*, mongo::StringMapTraits>': src/mongo/db/catalog/database.h:165:38: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/s/catalog_cache.h:377:21: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/s/catalog_cache.h:379:24: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/s/catalog_cache.h:379:24: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/s/catalog_cache.h:379:24: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call /usr/bin/python3 buildscripts/idl/idlc.py --include src --base_dir build/fedora --target_arch x86_64 --header build/fedora/mongo/s/request_types/move_primary_gen.h --output build/fedora/mongo/s/request_types/move_primary_gen.cpp src/mongo/s/request_types/move_primary.idl g++ -o build/fedora/mongo/db/s/move_primary_command.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/s/move_primary_command.cpp ar rcsTD build/fedora/mongo/db/repl/libinitial_syncer.a build/fedora/mongo/db/repl/initial_syncer.o Skipping ranlib for thin archive build/fedora/mongo/db/repl/libinitial_syncer.a g++ -o build/fedora/mongo/db/s/balancer/cluster_statistics_impl.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/s/balancer/cluster_statistics_impl.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/db/s/move_primary_command.cpp:34: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/db/server_options.h:30, from src/mongo/base/secure_allocator.h:40, from src/mongo/db/auth/authorization_manager.h:35, from src/mongo/db/auth/authorization_session.h:38, from src/mongo/db/s/move_primary_command.cpp:33: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, unsigned int, mongo::StringMapTraits>': src/mongo/db/op_observer.h:310:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long unsigned int, mongo::StringMapTraits>': src/mongo/db/views/view_graph.h:177:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/db/views/view_catalog.h:174:13: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Collection*, mongo::StringMapTraits>': src/mongo/db/catalog/database.h:165:38: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/third_party/icu4c-57.1/source/common/uniset.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/uniset.cpp g++ -o build/fedora/mongo/db/pipeline/accumulator_first.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/pipeline/accumulator_first.cpp In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/pipeline/expression.h:40, from src/mongo/db/pipeline/accumulator.h:39, from src/mongo/db/pipeline/accumulator_first.cpp:31: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/db/pipeline/accumulator.h:38: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/pipeline/expression.h:103:32: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/mongo/db/operation_context_group.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/operation_context_group.cpp g++ -o build/fedora/mongo/db/s/shard_identity_rollback_notifier.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/s/shard_identity_rollback_notifier.cpp g++ -o build/fedora/mongo/db/s/collection_sharding_runtime.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/s/collection_sharding_runtime.cpp /usr/bin/python3 buildscripts/idl/idlc.py --include src --base_dir build/fedora --target_arch x86_64 --header build/fedora/mongo/db/s/add_shard_cmd_gen.h --output build/fedora/mongo/db/s/add_shard_cmd_gen.cpp src/mongo/db/s/add_shard_cmd.idl g++ -o build/fedora/mongo/db/s/sharding_initialization_mongod.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/s/sharding_initialization_mongod.cpp In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/bson/timestamp.h:31, from src/mongo/db/repl/optime.h:33, from src/mongo/db/namespace_string.h:38, from src/mongo/db/s/collection_sharding_runtime.h:32, from src/mongo/db/s/collection_sharding_runtime.cpp:33: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/plan_cache.h:35, from src/mongo/db/catalog/collection_info_cache.h:33, from src/mongo/db/catalog/collection.h:41, from src/mongo/db/catalog_raii.h:32, from src/mongo/db/s/collection_sharding_runtime.cpp:36: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/oid.h:34, from src/mongo/db/s/sharding_state.h:34, from src/mongo/db/s/sharding_initialization_mongod.h:33, from src/mongo/db/s/sharding_initialization_mongod.cpp:33: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::weak_ptr, mongo::StringMapTraits>': src/mongo/client/replica_set_monitor_manager.h:101:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::weak_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::weak_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::weak_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::weak_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/plan_cache.h:35, from src/mongo/db/catalog/collection_info_cache.h:33, from src/mongo/db/catalog/collection.h:41, from src/mongo/db/catalog_raii.h:32, from src/mongo/db/s/sharding_initialization_mongod.cpp:41: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, unsigned int, mongo::StringMapTraits>': src/mongo/db/op_observer.h:310:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long unsigned int, mongo::StringMapTraits>': src/mongo/db/views/view_graph.h:177:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ 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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ 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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/db/views/view_catalog.h:174:13: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ 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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Collection*, mongo::StringMapTraits>': src/mongo/db/catalog/database.h:165:38: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ 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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ 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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, unsigned int, mongo::StringMapTraits>': src/mongo/db/op_observer.h:310:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long unsigned int, mongo::StringMapTraits>': src/mongo/db/views/view_graph.h:177:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/db/views/view_catalog.h:174:13: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Collection*, mongo::StringMapTraits>': src/mongo/db/catalog/database.h:165:38: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/s/catalog_cache.h:377:21: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/s/catalog_cache.h:379:24: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/s/catalog_cache.h:379:24: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/s/catalog_cache.h:379:24: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call g++ -o build/fedora/mongo/db/s/sharding_state_recovery.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/s/sharding_state_recovery.cpp In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/bson/bsonobj.h:44, from src/mongo/db/s/sharding_state_recovery.cpp:35: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/plan_cache.h:35, from src/mongo/db/catalog/collection_info_cache.h:33, from src/mongo/db/catalog/collection.h:41, from src/mongo/db/catalog_raii.h:32, from src/mongo/db/s/sharding_state_recovery.cpp:39: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, unsigned int, mongo::StringMapTraits>': src/mongo/db/op_observer.h:310:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long unsigned int, mongo::StringMapTraits>': src/mongo/db/views/view_graph.h:177:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/db/views/view_catalog.h:174:13: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Collection*, mongo::StringMapTraits>': src/mongo/db/catalog/database.h:165:38: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/mongo/db/s/migration_chunk_cloner_source_legacy.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/s/migration_chunk_cloner_source_legacy.cpp src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/query_solution.h:36, from src/mongo/db/query/plan_executor.h:37, from src/mongo/db/s/migration_chunk_cloner_source_legacy.h:37, from src/mongo/db/s/migration_chunk_cloner_source_legacy.cpp:33: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/bson/bsonobj.h:44, from src/mongo/db/s/migration_chunk_cloner_source_legacy.h:34: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36, from src/mongo/db/query/plan_cache.h:35, from src/mongo/db/query/query_solution.h:38: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: 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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, unsigned int, mongo::StringMapTraits>': src/mongo/db/op_observer.h:310:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long unsigned int, mongo::StringMapTraits>': src/mongo/db/views/view_graph.h:177:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/db/views/view_catalog.h:174:13: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Collection*, mongo::StringMapTraits>': src/mongo/db/catalog/database.h:165:38: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/mongo/db/s/collection_range_deleter.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/s/collection_range_deleter.cpp In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/bson/timestamp.h:31, from src/mongo/db/repl/optime.h:33, from src/mongo/db/namespace_string.h:38, from src/mongo/db/s/collection_range_deleter.h:33, from src/mongo/db/s/collection_range_deleter.cpp:33: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/plan_cache.h:35, from src/mongo/db/catalog/collection_info_cache.h:33, from src/mongo/db/catalog/collection.h:41, from src/mongo/db/catalog_raii.h:32, from src/mongo/db/s/collection_range_deleter.cpp:39: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, unsigned int, mongo::StringMapTraits>': src/mongo/db/op_observer.h:310:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long unsigned int, mongo::StringMapTraits>': src/mongo/db/views/view_graph.h:177:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/db/views/view_catalog.h:174:13: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Collection*, mongo::StringMapTraits>': src/mongo/db/catalog/database.h:165:38: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call g++ -o build/fedora/mongo/db/s/split_chunk.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/s/split_chunk.cpp In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/bson_extract.h:35, from src/mongo/db/s/split_chunk.cpp:36: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/plan_cache.h:35, from src/mongo/db/catalog/collection_info_cache.h:33, from src/mongo/db/catalog/collection.h:41, from src/mongo/db/catalog_raii.h:32, from src/mongo/db/s/split_chunk.cpp:38: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/mongo/db/s/session_catalog_migration_destination.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/s/session_catalog_migration_destination.cpp src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, unsigned int, mongo::StringMapTraits>': src/mongo/db/op_observer.h:310:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long unsigned int, mongo::StringMapTraits>': src/mongo/db/views/view_graph.h:177:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/db/views/view_catalog.h:174:13: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Collection*, mongo::StringMapTraits>': src/mongo/db/catalog/database.h:165:38: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/db/curop.h:35, from src/mongo/db/concurrency/write_conflict_exception.h:36, from src/mongo/db/s/session_catalog_migration_destination.cpp:38: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/bson/bsonobj.h:44, from src/mongo/db/s/session_catalog_migration_destination.h:36, from src/mongo/db/s/session_catalog_migration_destination.cpp:33: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/mongo/db/s/split_vector.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/s/split_vector.cpp In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/bson/bsonelement_comparator_interface.h:32, from src/mongo/db/bson/dotted_path_support.h:34, from src/mongo/db/s/split_vector.cpp:36: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/plan_cache.h:35, from src/mongo/db/catalog/collection_info_cache.h:33, from src/mongo/db/catalog/collection.h:41, from src/mongo/db/catalog_raii.h:32, from src/mongo/db/s/split_vector.cpp:38: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/mongo/db/s/move_timing_helper.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/s/move_timing_helper.cpp src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, unsigned int, mongo::StringMapTraits>': src/mongo/db/op_observer.h:310:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long unsigned int, mongo::StringMapTraits>': src/mongo/db/views/view_graph.h:177:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/db/views/view_catalog.h:174:13: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Collection*, mongo::StringMapTraits>': src/mongo/db/catalog/database.h:165:38: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/db/curop.h:35, from src/mongo/db/s/move_timing_helper.cpp:36: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/bson/bsonobj.h:44, from src/mongo/bson/bson_field.h:34, from src/mongo/bson/bsonobjbuilder.h:44, from src/mongo/db/s/move_timing_helper.h:33, from src/mongo/db/s/move_timing_helper.cpp:33: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call g++ -o build/fedora/mongo/db/s/shard_metadata_util.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/s/shard_metadata_util.cpp g++ -o build/fedora/mongo/db/s/active_migrations_registry.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/s/active_migrations_registry.cpp In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/client/connection_string.h:38, from src/mongo/s/request_types/move_chunk_request.h:33, from src/mongo/db/s/active_migrations_registry.h:35, from src/mongo/db/s/active_migrations_registry.cpp:31: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/plan_cache.h:35, from src/mongo/db/catalog/collection_info_cache.h:33, from src/mongo/db/catalog/collection.h:41, from src/mongo/db/catalog_raii.h:32, from src/mongo/db/s/active_migrations_registry.cpp:33: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, unsigned int, mongo::StringMapTraits>': src/mongo/db/op_observer.h:310:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long unsigned int, mongo::StringMapTraits>': src/mongo/db/views/view_graph.h:177:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/db/views/view_catalog.h:174:13: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Collection*, mongo::StringMapTraits>': src/mongo/db/catalog/database.h:165:38: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/mongo/db/s/metadata_manager.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/s/metadata_manager.cpp In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/query_solution.h:36, from src/mongo/db/query/plan_executor.h:37, from src/mongo/db/query/internal_plans.h:32, from src/mongo/db/s/metadata_manager.cpp:38: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/bson/bsonobj.h:44, from src/mongo/bson/bsonobj_comparator_interface.h:32, from src/mongo/bson/simple_bsonobj_comparator.h:34, from src/mongo/db/s/metadata_manager.h:34, from src/mongo/db/s/metadata_manager.cpp:33: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36, from src/mongo/db/query/plan_cache.h:35, from src/mongo/db/query/query_solution.h:38: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/mongo/db/s/sharding_config_optime_gossip.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/s/sharding_config_optime_gossip.cpp src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call g++ -o build/fedora/mongo/db/s/collection_sharding_state_factory_shard.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/s/collection_sharding_state_factory_shard.cpp g++ -o build/fedora/mongo/db/s/scoped_operation_completion_sharding_actions.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/s/scoped_operation_completion_sharding_actions.cpp g++ -o build/fedora/mongo/db/s/active_move_primaries_registry.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/s/active_move_primaries_registry.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/db/curop.h:35, from src/mongo/db/s/scoped_operation_completion_sharding_actions.cpp:35: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/bson/mutable/element.h:34, from src/mongo/db/auth/privilege.h:32, from src/mongo/db/commands.h:39: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ChunkVersion, mongo::StringMapTraits>': src/mongo/db/s/operation_sharding_state.h:184:29: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ChunkVersion; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ChunkVersion; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ChunkVersion; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ChunkVersion; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::DatabaseVersion, mongo::StringMapTraits>': src/mongo/db/s/operation_sharding_state.h:185:32: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::DatabaseVersion; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::DatabaseVersion; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::DatabaseVersion; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::DatabaseVersion; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/mongo/db/s/config_server_op_observer.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/s/config_server_op_observer.cpp In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/bson/bsonobj.h:44, from src/mongo/bson/bsonobj_comparator_interface.h:32, from src/mongo/bson/simple_bsonobj_comparator.h:34, from src/mongo/db/op_observer.h:34, from src/mongo/db/s/config_server_op_observer.h:32, from src/mongo/db/s/config_server_op_observer.cpp:33: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/plan_cache.h:35, from src/mongo/db/catalog/collection_info_cache.h:33, from src/mongo/db/catalog/collection.h:41, from src/mongo/db/op_observer.h:35: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: 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: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::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::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 g++ -o build/fedora/mongo/db/s/migration_source_manager.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/s/migration_source_manager.cpp src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, unsigned int, mongo::StringMapTraits>': src/mongo/db/op_observer.h:310:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/db/s/config/namespace_serializer.h:73:40: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/bson/timestamp.h:31, from src/mongo/db/repl/optime.h:33, from src/mongo/db/namespace_string.h:38, from src/mongo/db/s/collection_sharding_runtime.h:32, from src/mongo/db/s/migration_source_manager.h:34, from src/mongo/db/s/migration_source_manager.cpp:33: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/plan_cache.h:35, from src/mongo/db/catalog/collection_info_cache.h:33, from src/mongo/db/catalog/collection.h:41, from src/mongo/db/catalog_raii.h:32, from src/mongo/db/s/migration_source_manager.cpp:36: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, unsigned int, mongo::StringMapTraits>': src/mongo/db/op_observer.h:310:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long unsigned int, mongo::StringMapTraits>': src/mongo/db/views/view_graph.h:177:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/db/views/view_catalog.h:174:13: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Collection*, mongo::StringMapTraits>': src/mongo/db/catalog/database.h:165:38: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ /usr/bin/python3 buildscripts/idl/idlc.py --include src --base_dir build/fedora --target_arch x86_64 --header build/fedora/mongo/s/request_types/create_collection_gen.h --output build/fedora/mongo/s/request_types/create_collection_gen.cpp src/mongo/s/request_types/create_collection.idl g++ -o build/fedora/mongo/db/s/implicit_create_collection.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/s/implicit_create_collection.cpp In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/bson/timestamp.h:31, from src/mongo/db/repl/optime.h:33, from src/mongo/db/namespace_string.h:38, from src/mongo/db/catalog/database_holder.h:36, from src/mongo/db/s/implicit_create_collection.cpp:39: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/plan_cache.h:35, from src/mongo/db/catalog/collection_info_cache.h:33, from src/mongo/db/catalog/collection.h:41, from src/mongo/db/catalog_raii.h:32, from src/mongo/db/s/implicit_create_collection.cpp:40: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, unsigned int, mongo::StringMapTraits>': src/mongo/db/op_observer.h:310:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long unsigned int, mongo::StringMapTraits>': src/mongo/db/views/view_graph.h:177:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/db/views/view_catalog.h:174:13: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Collection*, mongo::StringMapTraits>': src/mongo/db/catalog/database.h:165:38: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call g++ -o build/fedora/mongo/db/s/migration_destination_manager.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/s/migration_destination_manager.cpp g++ -o build/fedora/mongo/db/s/chunk_splitter.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/s/chunk_splitter.cpp In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/bson/bsonobj.h:44, from src/mongo/db/s/migration_destination_manager.h:35, from src/mongo/db/s/migration_destination_manager.cpp:33: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/plan_cache.h:35, from src/mongo/db/catalog/collection_info_cache.h:33, from src/mongo/db/catalog/collection.h:41, from src/mongo/db/catalog_raii.h:32, from src/mongo/db/db_raii.h:33, from src/mongo/db/s/migration_destination_manager.cpp:43: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/util/duration.h:40, from src/mongo/util/time_support.h:41, from src/mongo/util/concurrency/thread_pool.h:41, from src/mongo/db/s/chunk_splitter.h:31, from src/mongo/db/s/chunk_splitter.cpp:33: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/s/catalog_cache.h:377:21: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/s/catalog_cache.h:379:24: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/s/catalog_cache.h:379:24: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/s/catalog_cache.h:379:24: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, unsigned int, mongo::StringMapTraits>': src/mongo/db/op_observer.h:310:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long unsigned int, mongo::StringMapTraits>': src/mongo/db/views/view_graph.h:177:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/db/views/view_catalog.h:174:13: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Collection*, mongo::StringMapTraits>': src/mongo/db/catalog/database.h:165:38: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Top::CollectionData, mongo::StringMapTraits>': src/mongo/db/stats/top.h:150:14: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/mongo/db/s/shard_server_catalog_cache_loader.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/s/shard_server_catalog_cache_loader.cpp In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call g++ -o build/fedora/mongo/db/s/shard_server_op_observer.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/s/shard_server_op_observer.cpp g++ -o build/fedora/mongo/db/s/move_primary_source_manager.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/s/move_primary_source_manager.cpp In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/bson/bsonobj.h:44, from src/mongo/bson/bsonobj_comparator_interface.h:32, from src/mongo/bson/simple_bsonobj_comparator.h:34, from src/mongo/db/op_observer.h:34, from src/mongo/db/s/shard_server_op_observer.h:32, from src/mongo/db/s/shard_server_op_observer.cpp:33: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/plan_cache.h:35, from src/mongo/db/catalog/collection_info_cache.h:33, from src/mongo/db/catalog/collection.h:41, from src/mongo/db/op_observer.h:35: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/bson/bsonobj.h:44, from src/mongo/db/catalog/database.h:37, from src/mongo/db/s/database_sharding_state.h:32, from src/mongo/db/s/move_primary_source_manager.h:32, from src/mongo/db/s/move_primary_source_manager.cpp:33: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/plan_cache.h:35, from src/mongo/db/catalog/collection_info_cache.h:33, from src/mongo/db/catalog/collection.h:41, from src/mongo/db/catalog/database.h:38: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, unsigned int, mongo::StringMapTraits>': src/mongo/db/op_observer.h:310:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long unsigned int, mongo::StringMapTraits>': src/mongo/db/views/view_graph.h:177:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/db/views/view_catalog.h:174:13: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Collection*, mongo::StringMapTraits>': src/mongo/db/catalog/database.h:165:38: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, unsigned int, mongo::StringMapTraits>': src/mongo/db/op_observer.h:310:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long unsigned int, mongo::StringMapTraits>': src/mongo/db/views/view_graph.h:177:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/db/views/view_catalog.h:174:13: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Collection*, mongo::StringMapTraits>': src/mongo/db/catalog/database.h:165:38: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/s/catalog_cache.h:377:21: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/s/catalog_cache.h:379:24: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/s/catalog_cache.h:379:24: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/s/catalog_cache.h:379:24: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call g++ -o build/fedora/mongo/db/s/session_catalog_migration_source.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/s/session_catalog_migration_source.cpp g++ -o build/fedora/mongo/db/s/chunk_move_write_concern_options.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/s/chunk_move_write_concern_options.cpp In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/client/connection_string.h:38, from src/mongo/client/dbclientinterface.h:34, from src/mongo/client/dbclientcursor.h:35, from src/mongo/db/s/session_catalog_migration_source.h:35, from src/mongo/db/s/session_catalog_migration_source.cpp:31: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/plan_cache.h:35, from src/mongo/db/catalog/collection_info_cache.h:33, from src/mongo/db/catalog/collection.h:41, from src/mongo/db/catalog_raii.h:32, from src/mongo/db/s/session_catalog_migration_source.cpp:33: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/mongo/db/s/shard_filtering_metadata_refresh.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/s/shard_filtering_metadata_refresh.cpp src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, unsigned int, mongo::StringMapTraits>': src/mongo/db/op_observer.h:310:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long unsigned int, mongo::StringMapTraits>': src/mongo/db/views/view_graph.h:177:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/db/views/view_catalog.h:174:13: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Collection*, mongo::StringMapTraits>': src/mongo/db/catalog/database.h:165:38: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/bson/timestamp.h:31, from src/mongo/db/repl/optime.h:33, from src/mongo/db/namespace_string.h:38, from src/mongo/db/s/shard_filtering_metadata_refresh.h:31, from src/mongo/db/s/shard_filtering_metadata_refresh.cpp:33: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/plan_cache.h:35, from src/mongo/db/catalog/collection_info_cache.h:33, from src/mongo/db/catalog/collection.h:41, from src/mongo/db/catalog_raii.h:32, from src/mongo/db/s/shard_filtering_metadata_refresh.cpp:36: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, unsigned int, mongo::StringMapTraits>': src/mongo/db/op_observer.h:310:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long unsigned int, mongo::StringMapTraits>': src/mongo/db/views/view_graph.h:177:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/db/views/view_catalog.h:174:13: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Collection*, mongo::StringMapTraits>': src/mongo/db/catalog/database.h:165:38: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ChunkVersion, mongo::StringMapTraits>': src/mongo/db/s/operation_sharding_state.h:184:29: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ChunkVersion; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ChunkVersion; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ChunkVersion; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ChunkVersion; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::DatabaseVersion, mongo::StringMapTraits>': src/mongo/db/s/operation_sharding_state.h:185:32: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::DatabaseVersion; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::DatabaseVersion; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::DatabaseVersion; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::DatabaseVersion; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/s/catalog_cache.h:377:21: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/s/catalog_cache.h:379:24: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/s/catalog_cache.h:379:24: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/s/catalog_cache.h:379:24: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/mongo/db/s/namespace_metadata_change_notifications.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/s/namespace_metadata_change_notifications.cpp In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call g++ -o build/fedora/mongo/db/s/migration_chunk_cloner_source.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/s/migration_chunk_cloner_source.cpp g++ -o build/fedora/mongo/db/s/migration_util.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/s/migration_util.cpp gcc -o build/fedora/third_party/timelib-2018.01alpha1/astro.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -DHAVE_GETTIMEOFDAY -DHAVE_STRING_H -DHAVE_DIRENT_H -DHAVE_SYS_TIME_H -DHAVE_UNISTD_H -D_GNU_SOURCE -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/timelib-2018.01alpha1 src/third_party/timelib-2018.01alpha1/astro.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C g++ -o build/fedora/mongo/scripting/mozjs/jsstringwrapper.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -Wno-non-virtual-dtor -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -include js-config.h -include js/RequiredDefines.h -Wno-invalid-offsetof -fPIE -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/mozjs-45/include -Isrc/third_party/mozjs-45/mongo_sources -Isrc/third_party/mozjs-45/platform/x86_64/linux/include -Ibuild/fedora -Isrc src/mongo/scripting/mozjs/jsstringwrapper.cpp g++ -o build/fedora/third_party/icu4c-57.1/source/i18n/digitaffix.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/digitaffix.cpp g++ -o build/fedora/mongo/db/index/expression_keys_private.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/index/expression_keys_private.cpp ar rcsTD build/fedora/mongo/db/s/libsharding_runtime_d.a build/fedora/mongo/db/s/active_migrations_registry.o build/fedora/mongo/db/s/active_move_primaries_registry.o build/fedora/mongo/db/s/chunk_move_write_concern_options.o build/fedora/mongo/db/s/chunk_splitter.o build/fedora/mongo/db/s/collection_range_deleter.o build/fedora/mongo/db/s/collection_sharding_runtime.o build/fedora/mongo/db/s/collection_sharding_state_factory_shard.o build/fedora/mongo/db/s/config_server_op_observer.o build/fedora/mongo/db/s/implicit_create_collection.o build/fedora/mongo/db/s/metadata_manager.o build/fedora/mongo/db/s/migration_chunk_cloner_source_legacy.o build/fedora/mongo/db/s/migration_chunk_cloner_source.o build/fedora/mongo/db/s/migration_destination_manager.o build/fedora/mongo/db/s/migration_source_manager.o build/fedora/mongo/db/s/migration_util.o build/fedora/mongo/db/s/move_primary_source_manager.o build/fedora/mongo/db/s/move_timing_helper.o build/fedora/mongo/db/s/namespace_metadata_change_notifications.o build/fedora/mongo/db/s/read_only_catalog_cache_loader.o build/fedora/mongo/db/s/scoped_operation_completion_sharding_actions.o build/fedora/mongo/db/s/session_catalog_migration_destination.o build/fedora/mongo/db/s/session_catalog_migration_source.o build/fedora/mongo/db/s/shard_filtering_metadata_refresh.o build/fedora/mongo/db/s/shard_identity_rollback_notifier.o build/fedora/mongo/db/s/shard_metadata_util.o build/fedora/mongo/db/s/shard_server_catalog_cache_loader.o build/fedora/mongo/db/s/shard_server_op_observer.o build/fedora/mongo/db/s/sharding_config_optime_gossip.o build/fedora/mongo/db/s/sharding_initialization_mongod.o build/fedora/mongo/db/s/sharding_state_recovery.o build/fedora/mongo/db/s/sharding_statistics.o build/fedora/mongo/db/s/split_chunk.o build/fedora/mongo/db/s/split_vector.o Skipping ranlib for thin archive build/fedora/mongo/db/s/libsharding_runtime_d.a g++ -o build/fedora/mongo/rpc/message.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/rpc/message.cpp g++ -o build/fedora/mongo/db/catalog/create_collection.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/catalog/create_collection.cpp In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/bson/bsonobj.h:44, from src/mongo/db/catalog/create_collection.h:32, from src/mongo/db/catalog/create_collection.cpp:33: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/plan_cache.h:35, from src/mongo/db/catalog/collection_info_cache.h:33, from src/mongo/db/catalog/collection.h:41, from src/mongo/db/catalog/uuid_catalog.h:34, from src/mongo/db/catalog/create_collection.cpp:37: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ gcc -o build/fedora/third_party/icu4c-57.1/source/common/ucat.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/ucat.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C g++ -o build/fedora/third_party/icu4c-57.1/source/i18n/tmutamt.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/tmutamt.cpp g++ -o build/fedora/mongo/db/s/balancer/balancer_policy.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/s/balancer/balancer_policy.cpp src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, unsigned int, mongo::StringMapTraits>': src/mongo/db/op_observer.h:310:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::vector, mongo::StringMapTraits>': src/mongo/db/catalog/uuid_catalog.h:234:44: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::vector; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::vector; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::vector; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::vector; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long unsigned int, mongo::StringMapTraits>': src/mongo/db/views/view_graph.h:177:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/db/views/view_catalog.h:174:13: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Collection*, mongo::StringMapTraits>': src/mongo/db/catalog/database.h:165:38: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Top::CollectionData, mongo::StringMapTraits>': src/mongo/db/stats/top.h:150:14: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call g++ -o build/fedora/mongo/db/s/balancer/type_migration.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/s/balancer/type_migration.cpp g++ -o build/fedora/mongo/db/s/balancer/balancer_chunk_selection_policy.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/s/balancer/balancer_chunk_selection_policy.cpp g++ -o build/fedora/mongo/db/s/balancer/scoped_migration_request.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/s/balancer/scoped_migration_request.cpp g++ -o build/fedora/mongo/db/s/balancer/balancer.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/s/balancer/balancer.cpp src/mongo/db/s/balancer/scoped_migration_request.cpp: In static member function 'static mongo::StatusWith mongo::ScopedMigrationRequest::writeMigration(mongo::OperationContext*, const mongo::MigrateInfo&, bool)': src/mongo/db/s/balancer/scoped_migration_request.cpp:167:25: warning: redundant move in return statement [-Wredundant-move] 167 | return std::move(scopedMigrationRequest); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/s/balancer/scoped_migration_request.cpp:167:25: note: remove 'std::move' call In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/bson/bsonobj.h:44, from src/mongo/db/s/balancer/balancer_policy.h:35, from src/mongo/db/s/balancer/balancer_chunk_selection_policy.h:35, from src/mongo/db/s/balancer/balancer.h:32, from src/mongo/db/s/balancer/balancer.cpp:33: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/s/catalog_cache.h:377:21: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/s/catalog_cache.h:379:24: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/s/catalog_cache.h:379:24: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/s/catalog_cache.h:379:24: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/mongo/db/s/balancer/balancer_chunk_selection_policy_impl.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/s/balancer/balancer_chunk_selection_policy_impl.cpp In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/bson/bsonobj.h:44, from src/mongo/db/s/balancer/balancer_policy.h:35, from src/mongo/db/s/balancer/balancer_chunk_selection_policy.h:35, from src/mongo/db/s/balancer/balancer_chunk_selection_policy_impl.h:31, from src/mongo/db/s/balancer/balancer_chunk_selection_policy_impl.cpp:33: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/s/catalog_cache.h:377:21: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/s/catalog_cache.h:379:24: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/s/catalog_cache.h:379:24: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/s/catalog_cache.h:379:24: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/mongo/db/s/balancer/migration_manager.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/s/balancer/migration_manager.cpp In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/bson/bsonobj.h:44, from src/mongo/db/s/balancer/migration_manager.h:36, from src/mongo/db/s/balancer/migration_manager.cpp:33: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::repl::ReplSetTagPattern, mongo::StringMapTraits>': src/mongo/db/repl/repl_set_config.h:402:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::repl::ReplSetTagPattern; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::repl::ReplSetTagPattern; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::repl::ReplSetTagPattern; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::repl::ReplSetTagPattern; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/s/catalog_cache.h:377:21: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/s/catalog_cache.h:379:24: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/s/catalog_cache.h:379:24: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/s/catalog_cache.h:379:24: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ gcc -o build/fedora/third_party/wiredtiger/src/schema/schema_stat.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/fedora/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/fedora/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/fedora/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/schema/schema_stat.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C g++ -o build/fedora/mongo/transport/transport_layer_asio.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/asio-master/asio/include -Ibuild/fedora -Isrc src/mongo/transport/transport_layer_asio.cpp src/mongo/transport/transport_layer_asio.cpp: In member function 'virtual mongo::transport::BatonHandle mongo::transport::TransportLayerASIO::makeBaton(mongo::OperationContext*)': src/mongo/transport/transport_layer_asio.cpp:873:21: warning: redundant move in return statement [-Wredundant-move] 873 | return std::move(baton); | ~~~~~~~~~^~~~~~~ src/mongo/transport/transport_layer_asio.cpp:873:21: note: remove 'std::move' call In file included from src/mongo/transport/session.h:38, from src/mongo/transport/transport_layer.h:35, from src/mongo/transport/transport_layer_asio.h:41, from src/mongo/transport/transport_layer_asio.cpp:33: src/mongo/util/future.h: In instantiation of 'mongo::StatusWith mongo::future_details::statusCall(Func&&, Args&& ...) [with Func = mongo::transport::TransportLayerASIO::asyncConnect(mongo::HostAndPort, mongo::transport::ConnectSSLMode, const mongo::transport::ReactorHandle&, mongo::Milliseconds)::::&; Args = {FakeVoid}; RawResult = mongo::Status; = void; = void; = void]': src/mongo/util/future.h:840:71: required from 'mongo::future_details::Future mongo::future_details::Future::then(Func&&) && [with Func = mongo::transport::TransportLayerASIO::asyncConnect(mongo::HostAndPort, mongo::transport::ConnectSSLMode, const mongo::transport::ReactorHandle&, mongo::Milliseconds)::::; Result = void; = void; T = mongo::future_details::FakeVoid]' src/mongo/util/future.h:1246:37: required from 'auto mongo::future_details::Future::then(Func&&) && [with Func = mongo::transport::TransportLayerASIO::asyncConnect(mongo::HostAndPort, mongo::transport::ConnectSSLMode, const mongo::transport::ReactorHandle&, mongo::Milliseconds)::::]' src/mongo/transport/transport_layer_asio.cpp:589:26: required from here src/mongo/util/future.h:175:32: warning: redundant move in return statement [-Wredundant-move] 175 | return std::move(status); | ^ src/mongo/util/future.h:175:32: note: remove 'std::move' call src/mongo/util/future.h: In instantiation of 'mongo::StatusWith mongo::future_details::statusCall(Func&&, Args&& ...) [with Func = mongo::transport::TransportLayerASIO::ASIOSession::sendHTTPResponse(const mongo::transport::BatonHandle&)::&; Args = {mongo::Status}; RawResult = mongo::Status; = void; = void; = void]': src/mongo/util/future.h:914:55: required from 'mongo::future_details::Future mongo::future_details::Future::onError(Func&&) && [with Func = mongo::transport::TransportLayerASIO::ASIOSession::sendHTTPResponse(const mongo::transport::BatonHandle&)::; Result = mongo::future_details::FakeVoid; = void; T = mongo::future_details::FakeVoid]' src/mongo/util/future.h:1251:40: required from 'mongo::future_details::Future mongo::future_details::Future::onError(Func&&) && [with Func = mongo::transport::TransportLayerASIO::ASIOSession::sendHTTPResponse(const mongo::transport::BatonHandle&)::]' src/mongo/transport/session_asio.h:675:21: required from here src/mongo/util/future.h:175:32: warning: redundant move in return statement [-Wredundant-move] src/mongo/util/future.h:175:32: note: remove 'std::move' call ar rcsTD build/fedora/mongo/db/s/libbalancer.a build/fedora/mongo/db/s/balancer/balancer_chunk_selection_policy_impl.o build/fedora/mongo/db/s/balancer/balancer_chunk_selection_policy.o build/fedora/mongo/db/s/balancer/balancer_policy.o build/fedora/mongo/db/s/balancer/balancer.o build/fedora/mongo/db/s/balancer/cluster_statistics_impl.o build/fedora/mongo/db/s/balancer/cluster_statistics.o build/fedora/mongo/db/s/balancer/migration_manager.o build/fedora/mongo/db/s/balancer/scoped_migration_request.o build/fedora/mongo/db/s/balancer/type_migration.o Skipping ranlib for thin archive build/fedora/mongo/db/s/libbalancer.a g++ -o build/fedora/mongo/db/commands/write_commands/write_commands_common.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/commands/write_commands/write_commands_common.cpp g++ -o build/fedora/mongo/db/repl/collection_bulk_loader_impl.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/repl/collection_bulk_loader_impl.cpp In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/bson/bsonobj.h:44, from src/mongo/db/repl/collection_bulk_loader_impl.cpp:35: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/plan_cache.h:35, from src/mongo/db/catalog/collection_info_cache.h:33, from src/mongo/db/catalog/collection.h:41, from src/mongo/db/repl/collection_bulk_loader_impl.cpp:37: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, unsigned int, mongo::StringMapTraits>': src/mongo/db/op_observer.h:310:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long unsigned int, mongo::StringMapTraits>': src/mongo/db/views/view_graph.h:177:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/db/views/view_catalog.h:174:13: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Collection*, mongo::StringMapTraits>': src/mongo/db/catalog/database.h:165:38: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Top::CollectionData, mongo::StringMapTraits>': src/mongo/db/stats/top.h:150:14: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call g++ -o build/fedora/mongo/db/s/config/configsvr_add_shard_to_zone_command.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/s/config/configsvr_add_shard_to_zone_command.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/db/s/config/configsvr_add_shard_to_zone_command.cpp:36: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/db/server_options.h:30, from src/mongo/base/secure_allocator.h:40, from src/mongo/db/auth/authorization_manager.h:35, from src/mongo/db/auth/authorization_session.h:38, from src/mongo/db/s/config/configsvr_add_shard_to_zone_command.cpp:34: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/db/s/config/namespace_serializer.h:73:40: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ ar rcsTD build/fedora/mongo/transport/libtransport_layer.a build/fedora/mongo/transport/transport_layer_asio.o Skipping ranlib for thin archive build/fedora/mongo/transport/libtransport_layer.a gcc -o build/fedora/third_party/wiredtiger/src/config/config_def.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/fedora/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/fedora/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/fedora/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/config/config_def.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C g++ -o build/fedora/mongo/s/chunk_manager.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/s/chunk_manager.cpp In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call g++ -o build/fedora/mongo/s/shard_key_pattern.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/s/shard_key_pattern.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/matcher/extensions_callback.h:31, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/s/chunk_manager.cpp:37: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/bson/timestamp.h:31, from src/mongo/db/repl/optime.h:33, from src/mongo/db/namespace_string.h:38, from src/mongo/s/chunk_manager.h:37, from src/mongo/s/chunk_manager.cpp:33: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/index_bounds_builder.h:33, from src/mongo/s/chunk_manager.cpp:39: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/matcher/extensions_callback.h:31, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/s/shard_key_pattern.cpp:39: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/s/shard_key_pattern.h:36, from src/mongo/s/shard_key_pattern.cpp:31: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ 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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ 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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ 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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38, from src/mongo/s/shard_key_pattern.cpp:40: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call g++ -o build/fedora/mongo/s/chunk.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/s/chunk.cpp g++ -o build/fedora/mongo/db/s/config/namespace_serializer.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/s/config/namespace_serializer.cpp ar rcsTD build/fedora/mongo/s/libsharding_routing_table.a build/fedora/mongo/s/chunk.o build/fedora/mongo/s/chunk_manager.o build/fedora/mongo/s/shard_key_pattern.o Skipping ranlib for thin archive build/fedora/mongo/s/libsharding_routing_table.a g++ -o build/fedora/mongo/db/update/pop_node.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/update/pop_node.cpp In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/bson/timestamp.h:31, from src/mongo/db/repl/optime.h:33, from src/mongo/db/namespace_string.h:38, from src/mongo/db/s/config/namespace_serializer.h:37, from src/mongo/db/s/config/namespace_serializer.cpp:31: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/db/s/config/namespace_serializer.h:73:40: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/document_comparator.h:32, from src/mongo/db/pipeline/expression_context.h:41, from src/mongo/db/update/update_leaf_node.h:31, from src/mongo/db/update/modifier_node.h:31, from src/mongo/db/update/pop_node.h:31, from src/mongo/db/update/pop_node.cpp:31: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/bson/bsonobj.h:44, from src/mongo/db/pipeline/expression_context.h:37: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:36, from src/mongo/db/update/pop_node.cpp:33: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37: 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: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 /usr/bin/python3 buildscripts/idl/idlc.py --include src --base_dir build/fedora --target_arch x86_64 --header build/fedora/mongo/db/repl/apply_ops_gen.h --output build/fedora/mongo/db/repl/apply_ops_gen.cpp src/mongo/db/repl/apply_ops.idl 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: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::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::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 g++ -o build/fedora/mongo/db/repl/rollback_impl.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/repl/rollback_impl.cpp In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/bson/bsonobj.h:44, from src/mongo/bson/bsonobj_comparator_interface.h:32, from src/mongo/bson/simple_bsonobj_comparator.h:34, from src/mongo/db/op_observer.h:34, from src/mongo/db/repl/rollback_impl.h:32, from src/mongo/db/repl/rollback_impl.cpp:33: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/plan_cache.h:35, from src/mongo/db/catalog/collection_info_cache.h:33, from src/mongo/db/catalog/collection.h:41, from src/mongo/db/op_observer.h:35: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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 g++ -o build/fedora/mongo/scripting/mozjs/base.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -Wno-non-virtual-dtor -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -include js-config.h -include js/RequiredDefines.h -Wno-invalid-offsetof -fPIE -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/mozjs-45/include -Isrc/third_party/mozjs-45/mongo_sources -Isrc/third_party/mozjs-45/platform/x86_64/linux/include -Ibuild/fedora -Isrc src/mongo/scripting/mozjs/base.cpp g++ -o build/fedora/mongo/base/data_range.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/base/data_range.cpp src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/mongo/client/sasl_plain_client_conversation.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/client/sasl_plain_client_conversation.cpp src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, unsigned int, mongo::StringMapTraits>': src/mongo/db/op_observer.h:310:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::vector, mongo::StringMapTraits>': src/mongo/db/catalog/uuid_catalog.h:234:44: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::vector; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::vector; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::vector; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::vector; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/mongo/db/storage/storage_engine_metadata.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/storage/storage_engine_metadata.cpp src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long unsigned int, mongo::StringMapTraits>': src/mongo/db/views/view_graph.h:177:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/db/views/view_catalog.h:174:13: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Collection*, mongo::StringMapTraits>': src/mongo/db/catalog/database.h:165:38: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Top::CollectionData, mongo::StringMapTraits>': src/mongo/db/stats/top.h:150:14: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call ar rcsTD build/fedora/mongo/db/storage/libstorage_engine_metadata.a build/fedora/mongo/db/storage/storage_engine_metadata.o Skipping ranlib for thin archive build/fedora/mongo/db/storage/libstorage_engine_metadata.a /usr/bin/python3 buildscripts/idl/idlc.py --include src --base_dir build/fedora --target_arch x86_64 --header build/fedora/mongo/db/repl/rollback_gen.h --output build/fedora/mongo/db/repl/rollback_gen.cpp src/mongo/db/repl/rollback.idl g++ -o build/fedora/mongo/db/repl/replication_process.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/repl/replication_process.cpp In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/db/catalog/collection_options.h:36, from src/mongo/db/repl/replication_process.cpp:34: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/plan_cache.h:35, from src/mongo/db/catalog/collection_info_cache.h:33, from src/mongo/db/catalog/collection.h:41, from src/mongo/db/repl/storage_interface.h:40, from src/mongo/db/repl/replication_process.cpp:41: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, unsigned int, mongo::StringMapTraits>': src/mongo/db/op_observer.h:310:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ ar rcsTD build/fedora/mongo/db/repl/librollback_impl.a build/fedora/mongo/db/repl/rollback_impl.o Skipping ranlib for thin archive build/fedora/mongo/db/repl/librollback_impl.a g++ -o build/fedora/mongo/db/repl/replication_consistency_markers.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/repl/replication_consistency_markers.cpp In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call g++ -o build/fedora/mongo/s/commands/cluster_get_shard_map_cmd.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/s/commands/cluster_get_shard_map_cmd.cpp ar rcsTD build/fedora/mongo/db/repl/libreplication_process.a build/fedora/mongo/db/repl/replication_consistency_markers.o build/fedora/mongo/db/repl/replication_process.o Skipping ranlib for thin archive build/fedora/mongo/db/repl/libreplication_process.a g++ -o build/fedora/third_party/icu4c-57.1/source/i18n/ufieldpositer.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/ufieldpositer.cpp g++ -o build/fedora/mongo/db/commands/test_commands.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/commands/test_commands.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/s/commands/cluster_get_shard_map_cmd.cpp:34: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/bson/mutable/element.h:34, from src/mongo/db/auth/privilege.h:32, from src/mongo/s/commands/cluster_get_shard_map_cmd.cpp:33: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/bson/timestamp.h:31, from src/mongo/db/catalog/collection.h:39, from src/mongo/db/commands/test_commands.cpp:40: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/plan_cache.h:35, from src/mongo/db/catalog/collection_info_cache.h:33, from src/mongo/db/catalog/collection.h:41: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ ar rcsTD build/fedora/mongo/s/commands/libshared_cluster_commands.a build/fedora/mongo/s/commands/cluster_get_shard_map_cmd.o Skipping ranlib for thin archive build/fedora/mongo/s/commands/libshared_cluster_commands.a g++ -o build/fedora/mongo/s/write_ops/batch_write_exec.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/s/write_ops/batch_write_exec.cpp src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, unsigned int, mongo::StringMapTraits>': src/mongo/db/op_observer.h:310:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long unsigned int, mongo::StringMapTraits>': src/mongo/db/views/view_graph.h:177:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/db/views/view_catalog.h:174:13: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Collection*, mongo::StringMapTraits>': src/mongo/db/catalog/database.h:165:38: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Top::CollectionData, mongo::StringMapTraits>': src/mongo/db/stats/top.h:150:14: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call g++ -o build/fedora/mongo/s/write_ops/chunk_manager_targeter.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/s/write_ops/chunk_manager_targeter.cpp g++ -o build/fedora/mongo/s/write_ops/batch_write_op.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/s/write_ops/batch_write_op.cpp In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/bson/bsonobj.h:44, from src/mongo/s/write_ops/chunk_manager_targeter.h:33, from src/mongo/s/write_ops/chunk_manager_targeter.cpp:33: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/s/catalog_cache.h:377:21: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/s/catalog_cache.h:379:24: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/s/catalog_cache.h:379:24: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/s/catalog_cache.h:379:24: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/matcher/extensions_callback.h:31, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/s/write_ops/chunk_manager_targeter.cpp:35: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38, from src/mongo/s/write_ops/chunk_manager_targeter.cpp:36: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call g++ -o build/fedora/mongo/s/write_ops/write_op.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/s/write_ops/write_op.cpp g++ -o build/fedora/mongo/db/storage/mmap_v1/catalog/index_details.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/storage/mmap_v1/catalog/index_details.cpp ar rcsTD build/fedora/mongo/s/write_ops/libcluster_write_op.a build/fedora/mongo/s/write_ops/batch_write_exec.o build/fedora/mongo/s/write_ops/batch_write_op.o build/fedora/mongo/s/write_ops/chunk_manager_targeter.o build/fedora/mongo/s/write_ops/write_op.o Skipping ranlib for thin archive build/fedora/mongo/s/write_ops/libcluster_write_op.a g++ -o build/fedora/mongo/db/repl/repl_client_info.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/repl/repl_client_info.cpp gcc -o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_int.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -DUSE_COMPILER_F80_TYPE=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -Dlinux=1 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_int.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C g++ -o build/fedora/mongo/db/repl/multiapplier.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/repl/multiapplier.cpp g++ -o build/fedora/mongo/db/matcher/match_details.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/matcher/match_details.cpp g++ -o build/fedora/mongo/util/exit.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/util/exit.cpp gcc -o build/fedora/third_party/icu4c-57.1/source/stubdata/stubdata.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/stubdata/stubdata.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C ar rcsTD build/fedora/third_party/icu4c-57.1/source/libicu_data.a build/fedora/third_party/icu4c-57.1/source/stubdata/stubdata.o Skipping ranlib for thin archive build/fedora/third_party/icu4c-57.1/source/libicu_data.a g++ -o build/fedora/mongo/db/auth/action_type.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc build/fedora/mongo/db/auth/action_type.cpp g++ -o build/fedora/mongo/db/commands/oplog_application_checks.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/commands/oplog_application_checks.cpp g++ -o build/fedora/mongo/db/commands/touch.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/commands/touch.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/bson/util/bson_check.h:33, from src/mongo/db/commands/oplog_application_checks.cpp:30: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/bson/mutable/element.h:34, from src/mongo/db/auth/privilege.h:32, from src/mongo/db/commands.h:39: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/db/server_options.h:30, from src/mongo/base/secure_allocator.h:40, from src/mongo/db/auth/authorization_manager.h:35, from src/mongo/db/commands/touch.cpp:40: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, bool, mongo::StringMapTraits>': src/mongo/bson/util/bson_check.h:62:43: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = bool; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = bool; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = bool; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = bool; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/plan_cache.h:35, from src/mongo/db/catalog/collection_info_cache.h:33, from src/mongo/db/catalog/collection.h:41, from src/mongo/db/commands/touch.cpp:42: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, unsigned int, mongo::StringMapTraits>': src/mongo/db/op_observer.h:310:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::vector, mongo::StringMapTraits>': src/mongo/db/catalog/uuid_catalog.h:234:44: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::vector; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::vector; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::vector; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::vector; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, unsigned int, mongo::StringMapTraits>': src/mongo/db/op_observer.h:310:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long unsigned int, mongo::StringMapTraits>': src/mongo/db/views/view_graph.h:177:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/db/views/view_catalog.h:174:13: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Collection*, mongo::StringMapTraits>': src/mongo/db/catalog/database.h:165:38: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Top::CollectionData, mongo::StringMapTraits>': src/mongo/db/stats/top.h:150:14: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call g++ -o build/fedora/mongo/db/commands/cpuload.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/commands/cpuload.cpp g++ -o build/fedora/mongo/db/commands/compact.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/commands/compact.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/db/commands/cpuload.cpp:34: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/bson/mutable/element.h:34, from src/mongo/db/auth/privilege.h:32, from src/mongo/db/commands.h:39: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/bson/mutable/element.h:34, from src/mongo/db/auth/privilege.h:32, from src/mongo/db/commands/compact.cpp:38: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/plan_cache.h:35, from src/mongo/db/catalog/collection_info_cache.h:33, from src/mongo/db/catalog/collection.h:41, from src/mongo/db/commands/compact.cpp:40: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ 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: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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, unsigned int, mongo::StringMapTraits>': src/mongo/db/op_observer.h:310:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long unsigned int, mongo::StringMapTraits>': src/mongo/db/views/view_graph.h:177:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/db/views/view_catalog.h:174:13: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Collection*, mongo::StringMapTraits>': src/mongo/db/catalog/database.h:165:38: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Top::CollectionData, mongo::StringMapTraits>': src/mongo/db/stats/top.h:150:14: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/mongo/db/commands/eval.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/commands/eval.cpp In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/db/commands/eval.cpp:40: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/db/commands/eval.cpp:35: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ /usr/bin/python3 buildscripts/idl/idlc.py --include src --base_dir build/fedora --target_arch x86_64 --header build/fedora/mongo/db/repl/dbcheck_gen.h --output build/fedora/mongo/db/repl/dbcheck_gen.cpp src/mongo/db/repl/dbcheck.idl /usr/bin/python3 buildscripts/idl/idlc.py --include src --base_dir build/fedora --target_arch x86_64 --header build/fedora/mongo/db/catalog/health_log_gen.h --output build/fedora/mongo/db/catalog/health_log_gen.cpp src/mongo/db/catalog/health_log.idl g++ -o build/fedora/mongo/db/commands/dbcheck.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/commands/dbcheck.cpp src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, unsigned int, mongo::StringMapTraits>': src/mongo/db/op_observer.h:310:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long unsigned int, mongo::StringMapTraits>': src/mongo/db/views/view_graph.h:177:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/db/views/view_catalog.h:174:13: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Collection*, mongo::StringMapTraits>': src/mongo/db/catalog/database.h:165:38: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Top::CollectionData, mongo::StringMapTraits>': src/mongo/db/stats/top.h:150:14: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ChunkVersion, mongo::StringMapTraits>': src/mongo/db/s/operation_sharding_state.h:184:29: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ChunkVersion; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ChunkVersion; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ChunkVersion; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ChunkVersion; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::DatabaseVersion, mongo::StringMapTraits>': src/mongo/db/s/operation_sharding_state.h:185:32: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::DatabaseVersion; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::DatabaseVersion; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::DatabaseVersion; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::DatabaseVersion; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/db/server_options.h:30, from src/mongo/base/secure_allocator.h:40, from src/mongo/db/auth/authorization_manager.h:35, from src/mongo/db/auth/authorization_session.h:38, from src/mongo/db/commands/dbcheck.cpp:33: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/plan_cache.h:35, from src/mongo/db/catalog/collection_info_cache.h:33, from src/mongo/db/catalog/collection.h:41, from src/mongo/db/catalog/database.h:38, from src/mongo/db/commands/dbcheck.cpp:34: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, unsigned int, mongo::StringMapTraits>': src/mongo/db/op_observer.h:310:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long unsigned int, mongo::StringMapTraits>': src/mongo/db/views/view_graph.h:177:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/db/views/view_catalog.h:174:13: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Collection*, mongo::StringMapTraits>': src/mongo/db/catalog/database.h:165:38: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::vector, mongo::StringMapTraits>': src/mongo/db/catalog/uuid_catalog.h:234:44: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::vector; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::vector; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::vector; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::vector; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Top::CollectionData, mongo::StringMapTraits>': src/mongo/db/stats/top.h:150:14: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/mongo/db/commands/clone_collection.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/commands/clone_collection.cpp In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/db/commands/clone_collection.cpp:35: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/plan_cache.h:35, from src/mongo/db/catalog/collection_info_cache.h:33, from src/mongo/db/catalog/collection.h:41, from src/mongo/db/commands/clone_collection.cpp:40: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, unsigned int, mongo::StringMapTraits>': src/mongo/db/op_observer.h:310:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/mongo/db/commands/dbcommands_d.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/commands/dbcommands_d.cpp In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/bson/bsonobj.h:44, from src/mongo/bson/bsonobj_comparator_interface.h:32, from src/mongo/bson/simple_bsonobj_comparator.h:34, from src/mongo/db/commands/dbcommands_d.cpp:37: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/plan_cache.h:35, from src/mongo/db/catalog/collection_info_cache.h:33, from src/mongo/db/catalog/collection.h:41, from src/mongo/db/catalog_raii.h:32, from src/mongo/db/commands/dbcommands_d.cpp:55: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ g++ -o build/fedora/mongo/db/commands/mr.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/commands/mr.cpp src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, unsigned int, mongo::StringMapTraits>': src/mongo/db/op_observer.h:310:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long unsigned int, mongo::StringMapTraits>': src/mongo/db/views/view_graph.h:177:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/db/views/view_catalog.h:174:13: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Collection*, mongo::StringMapTraits>': src/mongo/db/catalog/database.h:165:38: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Top::CollectionData, mongo::StringMapTraits>': src/mongo/db/stats/top.h:150:14: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/db/curop.h:35, from src/mongo/db/commands/mr.h:37, from src/mongo/db/commands/mr.cpp:33: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/bson/mutable/element.h:34, from src/mongo/db/auth/privilege.h:32, from src/mongo/db/commands/mr.h:36: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, unsigned int, mongo::StringMapTraits>': src/mongo/db/op_observer.h:310:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long unsigned int, mongo::StringMapTraits>': src/mongo/db/views/view_graph.h:177:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/db/views/view_catalog.h:174:13: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Collection*, mongo::StringMapTraits>': src/mongo/db/catalog/database.h:165:38: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Top::CollectionData, mongo::StringMapTraits>': src/mongo/db/stats/top.h:150:14: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/s/catalog_cache.h:377:21: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/s/catalog_cache.h:379:24: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/s/catalog_cache.h:379:24: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/s/catalog_cache.h:379:24: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call g++ -o build/fedora/mongo/db/commands/shutdown_d.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/commands/shutdown_d.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/db/commands/shutdown.h:33, from src/mongo/db/commands/shutdown_d.cpp:35: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/bson/mutable/element.h:34, from src/mongo/db/auth/privilege.h:32, from src/mongo/db/commands/shutdown.h:32: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call g++ -o build/fedora/mongo/db/commands/do_txn_cmd.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/commands/do_txn_cmd.cpp g++ -o build/fedora/mongo/db/commands/haystack.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/commands/haystack.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/bson/util/bson_check.h:33, from src/mongo/db/commands/do_txn_cmd.cpp:35: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/bson/mutable/element.h:34, from src/mongo/db/auth/privilege.h:32, from src/mongo/db/commands.h:39: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/bson/mutable/element.h:34, from src/mongo/db/auth/privilege.h:32, from src/mongo/db/commands/haystack.cpp:35: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/plan_cache.h:35, from src/mongo/db/catalog/collection_info_cache.h:33, from src/mongo/db/catalog/collection.h:41, from src/mongo/db/commands/haystack.cpp:36: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, bool, mongo::StringMapTraits>': src/mongo/bson/util/bson_check.h:62:43: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = bool; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = bool; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = bool; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = bool; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, unsigned int, mongo::StringMapTraits>': src/mongo/db/op_observer.h:310:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::vector, mongo::StringMapTraits>': src/mongo/db/catalog/uuid_catalog.h:234:44: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::vector; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::vector; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::vector; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::vector; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long unsigned int, mongo::StringMapTraits>': src/mongo/db/views/view_graph.h:177:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/db/views/view_catalog.h:174:13: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Collection*, mongo::StringMapTraits>': src/mongo/db/catalog/database.h:165:38: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Top::CollectionData, mongo::StringMapTraits>': src/mongo/db/stats/top.h:150:14: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, unsigned int, mongo::StringMapTraits>': src/mongo/db/op_observer.h:310:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long unsigned int, mongo::StringMapTraits>': src/mongo/db/views/view_graph.h:177:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/db/views/view_catalog.h:174:13: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Collection*, mongo::StringMapTraits>': src/mongo/db/catalog/database.h:165:38: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Top::CollectionData, mongo::StringMapTraits>': src/mongo/db/stats/top.h:150:14: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/mongo/db/commands/driverHelpers.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/commands/driverHelpers.cpp In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/db/commands/driverHelpers.cpp:45: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/bson/mutable/element.h:34, from src/mongo/db/auth/privilege.h:32, from src/mongo/db/commands/driverHelpers.cpp:44: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ g++ -o build/fedora/mongo/db/commands/txn_cmds.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/commands/txn_cmds.cpp src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/db/commands/txn_cmds.cpp:35: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/bson/bsonobj.h:44, from src/mongo/db/commands/txn_cmds.cpp:33: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/mongo/db/commands/oplog_note.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/commands/oplog_note.cpp src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, unsigned int, mongo::StringMapTraits>': src/mongo/db/op_observer.h:310:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/db/commands/oplog_note.cpp:33: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/bson/mutable/element.h:34, from src/mongo/db/auth/privilege.h:32, from src/mongo/db/commands.h:39: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/mongo/db/commands/clone.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/commands/clone.cpp src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, unsigned int, mongo::StringMapTraits>': src/mongo/db/op_observer.h:310:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/db/commands/clone.cpp:38: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/db/server_options.h:30, from src/mongo/base/secure_allocator.h:40, from src/mongo/db/auth/authorization_manager.h:35, from src/mongo/db/auth/authorization_session.h:38, from src/mongo/db/commands/clone.cpp:34: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59:30: 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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: 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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/mongo/db/commands/copydb_start_commands.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/commands/copydb_start_commands.cpp In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/db/commands/copydb_start_commands.cpp:44: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/client/connection_string.h:38, from src/mongo/client/dbclientinterface.h:34, from src/mongo/db/commands/copydb_start_commands.h:29, from src/mongo/db/commands/copydb_start_commands.cpp:33: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ g++ -o build/fedora/mongo/db/commands/resize_oplog.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/commands/resize_oplog.cpp src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/db/server_options.h:30, from src/mongo/base/secure_allocator.h:40, from src/mongo/db/auth/authorization_manager.h:35, from src/mongo/db/commands/resize_oplog.cpp:35: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/plan_cache.h:35, from src/mongo/db/catalog/collection_info_cache.h:33, from src/mongo/db/catalog/collection.h:41, from src/mongo/db/commands/resize_oplog.cpp:38: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/mongo/db/commands/set_feature_compatibility_version_command.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/commands/set_feature_compatibility_version_command.cpp src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, unsigned int, mongo::StringMapTraits>': src/mongo/db/op_observer.h:310:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long unsigned int, mongo::StringMapTraits>': src/mongo/db/views/view_graph.h:177:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/db/views/view_catalog.h:174:13: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Collection*, mongo::StringMapTraits>': src/mongo/db/catalog/database.h:165:38: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Top::CollectionData, mongo::StringMapTraits>': src/mongo/db/stats/top.h:150:14: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/db/server_options.h:30, from src/mongo/base/secure_allocator.h:40, from src/mongo/db/auth/authorization_manager.h:35, from src/mongo/db/auth/authorization_session.h:38, from src/mongo/db/commands/set_feature_compatibility_version_command.cpp:31: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/plan_cache.h:35, from src/mongo/db/catalog/collection_info_cache.h:33, from src/mongo/db/catalog/collection.h:41, from src/mongo/db/catalog/database.h:38, from src/mongo/db/commands/set_feature_compatibility_version_command.cpp:33: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/mongo/db/commands/copydb.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/commands/copydb.cpp src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, unsigned int, mongo::StringMapTraits>': src/mongo/db/op_observer.h:310:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long unsigned int, mongo::StringMapTraits>': src/mongo/db/views/view_graph.h:177:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/db/views/view_catalog.h:174:13: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Collection*, mongo::StringMapTraits>': src/mongo/db/catalog/database.h:165:38: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Top::CollectionData, mongo::StringMapTraits>': src/mongo/db/stats/top.h:150:14: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/db/s/config/namespace_serializer.h:73:40: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/s/catalog_cache.h:377:21: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/s/catalog_cache.h:379:24: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/s/catalog_cache.h:379:24: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/s/catalog_cache.h:379:24: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/client/sasl_client_authenticate.h:31, from src/mongo/db/commands/copydb.cpp:33: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/plan_cache.h:35, from src/mongo/db/catalog/collection_info_cache.h:33, from src/mongo/db/catalog/collection.h:41, from src/mongo/db/catalog_raii.h:32, from src/mongo/db/commands/copydb.cpp:39: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, unsigned int, mongo::StringMapTraits>': src/mongo/db/op_observer.h:310:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long unsigned int, mongo::StringMapTraits>': src/mongo/db/views/view_graph.h:177:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/db/views/view_catalog.h:174:13: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Collection*, mongo::StringMapTraits>': src/mongo/db/catalog/database.h:165:38: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/mongo/db/commands/dbhash.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/commands/dbhash.cpp In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/bson/timestamp.h:31, from src/mongo/db/catalog/collection.h:39, from src/mongo/db/commands/dbhash.cpp:39: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/plan_cache.h:35, from src/mongo/db/catalog/collection_info_cache.h:33, from src/mongo/db/catalog/collection.h:41: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/mongo/db/commands/parallel_collection_scan.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/commands/parallel_collection_scan.cpp src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, unsigned int, mongo::StringMapTraits>': src/mongo/db/op_observer.h:310:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long unsigned int, mongo::StringMapTraits>': src/mongo/db/views/view_graph.h:177:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/db/views/view_catalog.h:174:13: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Collection*, mongo::StringMapTraits>': src/mongo/db/catalog/database.h:165:38: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Top::CollectionData, mongo::StringMapTraits>': src/mongo/db/stats/top.h:150:14: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/db/server_options.h:30, from src/mongo/base/secure_allocator.h:40, from src/mongo/db/auth/authorization_manager.h:35, from src/mongo/db/auth/authorization_session.h:38, from src/mongo/db/commands/parallel_collection_scan.cpp:32: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/plan_cache.h:35, from src/mongo/db/catalog/collection_info_cache.h:33, from src/mongo/db/catalog/collection.h:41, from src/mongo/db/commands/parallel_collection_scan.cpp:33: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, unsigned int, mongo::StringMapTraits>': src/mongo/db/op_observer.h:310:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long unsigned int, mongo::StringMapTraits>': src/mongo/db/views/view_graph.h:177:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/db/views/view_catalog.h:174:13: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Collection*, mongo::StringMapTraits>': src/mongo/db/catalog/database.h:165:38: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Top::CollectionData, mongo::StringMapTraits>': src/mongo/db/stats/top.h:150:14: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from /usr/include/c++/12/cstring:42, from src/mongo/base/string_data.h:33, from build/fedora/mongo/base/error_codes.h:35, from src/mongo/base/status.h:33, from src/mongo/db/catalog/collection.h:35: In function '*memchr', inlined from 'mongo::StringData::find(char, unsigned long) const' at src/mongo/base/string_data.h:275:27, inlined from 'mongo::NamespaceString::NamespaceString(mongo::StringData, mongo::StringData)' at src/mongo/db/namespace_string.h:113:9, inlined from 'mongo::ResourcePattern::forDatabaseName(mongo::StringData)' at src/mongo/db/auth/resource_pattern.h:79:51, inlined from 'mongo::(anonymous namespace)::DBHashCmd::addRequiredPrivileges(std::__cxx11::basic_string, std::allocator > const&, mongo::BSONObj const&, std::vector >*) const' at src/mongo/db/commands/dbhash.cpp:87:66: /usr/include/string.h:102:27: warning: 'memchr' specified bound 18446744073709551615 exceeds maximum object size 9223372036854775807 [-Wstringop-overread] 102 | return __builtin_memchr (__s, __c, __n); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ In file included from /usr/include/c++/12/string:53, from /usr/include/c++/12/stdexcept:39, from /usr/include/boost/optional/bad_optional_access.hpp:15, from /usr/include/boost/optional/optional.hpp:32, from /usr/include/boost/optional.hpp:15, from src/mongo/db/commands/dbhash.cpp:35: In member function 'std::__cxx11::basic_string, std::allocator >::_M_data() const', inlined from 'std::__cxx11::basic_string, std::allocator >::data() const' at /usr/include/c++/12/bits/basic_string.h:2568:23, inlined from 'mongo::StringData::StringData(std::__cxx11::basic_string, std::allocator > const&)' at src/mongo/base/string_data.h:85:89, inlined from 'mongo::(anonymous namespace)::DBHashCmd::addRequiredPrivileges(std::__cxx11::basic_string, std::allocator > const&, mongo::BSONObj const&, std::vector >*) const' at src/mongo/db/commands/dbhash.cpp:87:66: /usr/include/c++/12/bits/basic_string.h:234:28: note: source object allocated here 234 | { return _M_dataplus._M_p; } | ~~~~~~~~~~~~^~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call g++ -o build/fedora/mongo/db/commands/snapshot_management.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/commands/snapshot_management.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/db/commands/snapshot_management.cpp:35: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/bson/timestamp.h:31, from src/mongo/db/commands/snapshot_management.cpp:34: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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 g++ -o build/fedora/mongo/db/commands/user_management_commands.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/commands/user_management_commands.cpp 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: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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/db/commands/user_management_commands.cpp:61: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/bson/mutable/element.h:34, from src/mongo/db/commands/user_management_commands.h:34, from src/mongo/db/commands/user_management_commands.cpp:33: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59:30: 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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: 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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/mongo/db/commands/top_command.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/commands/top_command.cpp In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/db/commands/top_command.cpp:36: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/bson/mutable/element.h:34, from src/mongo/db/auth/privilege.h:32, from src/mongo/db/commands/top_command.cpp:34: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Top::CollectionData, mongo::StringMapTraits>': src/mongo/db/stats/top.h:150:14: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call g++ -o build/fedora/mongo/db/commands/apply_ops_cmd.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/commands/apply_ops_cmd.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/bson/util/bson_check.h:33, from src/mongo/db/commands/apply_ops_cmd.cpp:35: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/bson/mutable/element.h:34, from src/mongo/db/auth/privilege.h:32, from src/mongo/db/commands.h:39: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/mongo/db/commands/collection_to_capped.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/commands/collection_to_capped.cpp src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, bool, mongo::StringMapTraits>': src/mongo/bson/util/bson_check.h:62:43: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = bool; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = bool; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = bool; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = bool; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, unsigned int, mongo::StringMapTraits>': src/mongo/db/op_observer.h:310:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::vector, mongo::StringMapTraits>': src/mongo/db/catalog/uuid_catalog.h:234:44: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::vector; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::vector; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::vector; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::vector; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long unsigned int, mongo::StringMapTraits>': src/mongo/db/views/view_graph.h:177:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/db/views/view_catalog.h:174:13: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Collection*, mongo::StringMapTraits>': src/mongo/db/catalog/database.h:165:38: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Top::CollectionData, mongo::StringMapTraits>': src/mongo/db/stats/top.h:150:14: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/db/commands/collection_to_capped.cpp:37: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/bson/timestamp.h:31, from src/mongo/db/repl/optime.h:33, from src/mongo/db/namespace_string.h:38, from src/mongo/db/background.h:43, from src/mongo/db/commands/collection_to_capped.cpp:34: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, unsigned int, mongo::StringMapTraits>': src/mongo/db/op_observer.h:310:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long unsigned int, mongo::StringMapTraits>': src/mongo/db/views/view_graph.h:177:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/db/views/view_catalog.h:174:13: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Collection*, mongo::StringMapTraits>': src/mongo/db/catalog/database.h:165:38: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Top::CollectionData, mongo::StringMapTraits>': src/mongo/db/stats/top.h:150:14: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/mongo/db/commands/invalidate_view_catalog_command.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/commands/invalidate_view_catalog_command.cpp In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/bson/timestamp.h:31, from src/mongo/db/catalog/collection.h:39, from src/mongo/db/catalog_raii.h:32, from src/mongo/db/commands/invalidate_view_catalog_command.cpp:31: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/plan_cache.h:35, from src/mongo/db/catalog/collection_info_cache.h:33, from src/mongo/db/catalog/collection.h:41: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/mongo/db/commands/group_cmd.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/commands/group_cmd.cpp src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, unsigned int, mongo::StringMapTraits>': src/mongo/db/op_observer.h:310:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long unsigned int, mongo::StringMapTraits>': src/mongo/db/views/view_graph.h:177:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/db/views/view_catalog.h:174:13: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Collection*, mongo::StringMapTraits>': src/mongo/db/catalog/database.h:165:38: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/bson_extract.h:35, from src/mongo/db/commands/group_cmd.cpp:33: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/plan_cache.h:35, from src/mongo/db/catalog/collection_info_cache.h:33, from src/mongo/db/catalog/collection.h:41, from src/mongo/db/commands/group_cmd.cpp:38: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src11.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -Wno-non-virtual-dtor -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -include js-confdefs.h -Wno-invalid-offsetof -fPIE -DIMPL_MFBT -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=1 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora/third_party/mozjs-45/extract/js/src -Isrc/third_party/mozjs-45/extract/js/src -Ibuild/fedora/third_party/mozjs-45/extract/mfbt -Isrc/third_party/mozjs-45/extract/mfbt -Ibuild/fedora/third_party/mozjs-45/extract/intl/icu/source/common -Isrc/third_party/mozjs-45/extract/intl/icu/source/common -Ibuild/fedora/third_party/mozjs-45/include -Isrc/third_party/mozjs-45/include -Ibuild/fedora/third_party/mozjs-45/mongo_sources -Isrc/third_party/mozjs-45/mongo_sources -Ibuild/fedora/third_party/mozjs-45/platform/x86_64/linux/build -Isrc/third_party/mozjs-45/platform/x86_64/linux/build -Ibuild/fedora/third_party/mozjs-45/platform/x86_64/linux/include -Isrc/third_party/mozjs-45/platform/x86_64/linux/include src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src11.cpp src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, unsigned int, mongo::StringMapTraits>': src/mongo/db/op_observer.h:310:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long unsigned int, mongo::StringMapTraits>': src/mongo/db/views/view_graph.h:177:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/db/views/view_catalog.h:174:13: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Collection*, mongo::StringMapTraits>': src/mongo/db/catalog/database.h:165:38: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Top::CollectionData, mongo::StringMapTraits>': src/mongo/db/stats/top.h:150:14: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jsweakcache.h:10, from src/third_party/mozjs-45/extract/js/src/jit/JitCompartment.h:13, from src/third_party/mozjs-45/extract/js/src/jit/IonCaches.h:19, from src/third_party/mozjs-45/extract/js/src/jit/CodeGenerator.h:10, from src/third_party/mozjs-45/extract/js/src/jit/CodeGenerator.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src11.cpp:11: src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1040:19: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 1040 | memcpy(&elements_[dstStart], src, count * sizeof(HeapSlot)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:22: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here 650 | class HeapSlot : public WriteBarrieredBase | ^~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1048:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 1048 | memcpy(&elements_[dstStart], src, count * sizeof(HeapSlot)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here 650 | class HeapSlot : public WriteBarrieredBase | ^~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1082:20: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 1082 | memmove(elements_ + dstStart, elements_ + srcStart, count * sizeof(HeapSlot)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here 650 | class HeapSlot : public WriteBarrieredBase | ^~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1094:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 1094 | memmove(elements_ + dstStart, elements_ + srcStart, count * sizeof(Value)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here 650 | class HeapSlot : public WriteBarrieredBase | ^~~~~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call In file included from src/third_party/mozjs-45/extract/js/src/vm/Interpreter-inl.h:20, from src/third_party/mozjs-45/extract/js/src/jit/CodeGenerator.cpp:46: src/third_party/mozjs-45/extract/js/src/jsobjinlines.h: In static member function 'static JSObject* JSObject::create(js::ExclusiveContext*, js::gc::AllocKind, js::gc::InitialHeap, js::HandleShape, js::HandleObjectGroup)': src/third_party/mozjs-45/extract/js/src/jsobjinlines.h:355:15: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::HeapSlot'; use assignment instead [-Wclass-memaccess] 355 | memset(obj->as().fixedSlots(), 0, size - sizeof(js::NativeObject)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here 650 | class HeapSlot : public WriteBarrieredBase | ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/TraceableVector.h:12, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:14: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': src/third_party/mozjs-45/include/js/MemoryMetrics.h:40:34: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/gc/StoreBuffer.h:18, from src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:13: src/third_party/mozjs-45/include/js/MemoryMetrics.h:31:8: note: 'struct JS::TabSizes' declared here 31 | struct TabSizes | ^~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::ServoSizes]': src/third_party/mozjs-45/include/js/MemoryMetrics.h:71:36: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::ServoSizes'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/MemoryMetrics.h:59:8: note: 'struct JS::ServoSizes' declared here 59 | struct ServoSizes | ^~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JSSubString]': src/third_party/mozjs-45/extract/js/src/jsstr.h:73:37: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JSSubString'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/TraceLoggingTypes.h:11, from src/third_party/mozjs-45/extract/js/src/vm/TraceLoggingGraph.h:15, from src/third_party/mozjs-45/extract/js/src/vm/TraceLogging.h:19, from src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:22, from src/third_party/mozjs-45/extract/js/src/jsscript.h:24: src/third_party/mozjs-45/extract/js/src/jsstr.h:68:8: note: 'struct JSSubString' declared here 68 | struct JSSubString { | ^~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::PreliminaryObjectArray]': src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:808:25: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::PreliminaryObjectArray'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:23: src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:796:7: note: 'class js::PreliminaryObjectArray' declared here 796 | class PreliminaryObjectArray | ^~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::TypeNewScript]': src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:939:39: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::TypeNewScript' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:886:7: note: 'class js::TypeNewScript' declared here 886 | class TypeNewScript | ^~~~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:699:25: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:686:8: note: 'struct js::jit::IonScriptCounts' declared here 686 | struct IonScriptCounts | ^~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': src/third_party/mozjs-45/extract/js/src/vm/String.h:1092:25: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/Shape.h:32, from src/third_party/mozjs-45/extract/js/src/jsobj.h:27, from src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:16: src/third_party/mozjs-45/extract/js/src/vm/String.h:1074:7: note: 'class js::StaticStrings' declared here 1074 | class StaticStrings | ^~~~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': src/third_party/mozjs-45/extract/js/src/vm/Shape.h:392:25: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/Shape.h:323:7: note: 'class js::BaseShape' declared here 323 | class BaseShape : public gc::TenuredCell | ^~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:293:40: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:244:7: note: 'class js::NewObjectCache' declared here 244 | class NewObjectCache | ^~~~~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::Address]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:290:33: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::Address'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/Safepoints.h:12, from src/third_party/mozjs-45/extract/js/src/jit/JitFrames.h:16, from src/third_party/mozjs-45/extract/js/src/jit/CompileInfo.h:13, from src/third_party/mozjs-45/extract/js/src/jit/JitCompartment.h:16: src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:282:8: note: 'struct js::jit::Address' declared here 282 | struct Address | ^~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::BaseIndex]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:306:35: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::BaseIndex'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:295:8: note: 'struct js::jit::BaseIndex' declared here 295 | struct BaseIndex | ^~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::CodeOffsetJump]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:513:25: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::jit::CodeOffsetJump'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:491:7: note: 'class js::jit::CodeOffsetJump' declared here 491 | class CodeOffsetJump | ^~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/include/js/TracingAPI.h:12, from src/third_party/mozjs-45/include/js/TraceableVector.h:13: src/third_party/mozjs-45/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': src/third_party/mozjs-45/include/js/HashTable.h:186:67: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' src/third_party/mozjs-45/extract/js/src/vm/SPSProfiler.h:256:18: required from here src/third_party/mozjs-45/include/js/HashTable.h:1550:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] 1550 | memset(table, 0, sizeof(*table) * capacity()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/HashTable.h:722:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here 722 | class HashTableEntry | ^~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/CompileInfo.h:12: src/third_party/mozjs-45/extract/js/src/jit/JitAllocPolicy.h: In instantiation of 'T* js::jit::JitAllocPolicy::maybe_pod_calloc(size_t) [with T = js::detail::HashTableEntry >; size_t = long unsigned int]': src/third_party/mozjs-45/include/js/HashTable.h:1144:54: required from 'static js::detail::HashTable::Entry* js::detail::HashTable::createTable(AllocPolicy&, uint32_t, FailureBehavior) [with T = js::HashMapEntry; HashPolicy = js::HashMap::MapHashPolicy; AllocPolicy = js::jit::JitAllocPolicy; Entry = js::detail::HashTableEntry >; uint32_t = unsigned int]' src/third_party/mozjs-45/include/js/HashTable.h:1212:28: required from 'bool js::detail::HashTable::init(uint32_t) [with T = js::HashMapEntry; HashPolicy = js::HashMap::MapHashPolicy; AllocPolicy = js::jit::JitAllocPolicy; uint32_t = unsigned int]' src/third_party/mozjs-45/include/js/HashTable.h:79:73: required from 'bool js::HashMap::init(uint32_t) [with Key = JS::Value; Value = unsigned int; HashPolicy = js::jit::LIRGraph::ValueHasher; AllocPolicy = js::jit::JitAllocPolicy; uint32_t = unsigned int]' src/third_party/mozjs-45/extract/js/src/jit/LIR.h:1696:37: required from here src/third_party/mozjs-45/extract/js/src/jit/JitAllocPolicy.h:92:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::detail::HashTableEntry >' with no trivial copy-assignment [-Wclass-memaccess] 92 | memset(p, 0, numElems * sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/HashTable.h:722:7: note: 'class js::detail::HashTableEntry >' declared here 722 | class HashTableEntry | ^~~~~~~~~~~~~~ ar rcsTD build/fedora/mongo/db/commands/libmongod.a build/fedora/mongo/db/commands/apply_ops_cmd.o build/fedora/mongo/db/commands/clone.o build/fedora/mongo/db/commands/clone_collection.o build/fedora/mongo/db/commands/collection_to_capped.o build/fedora/mongo/db/commands/compact.o build/fedora/mongo/db/commands/copydb.o build/fedora/mongo/db/commands/copydb_start_commands.o build/fedora/mongo/db/commands/cpuload.o build/fedora/mongo/db/commands/dbcheck.o build/fedora/mongo/db/commands/dbcommands_d.o build/fedora/mongo/db/commands/dbhash.o build/fedora/mongo/db/commands/do_txn_cmd.o build/fedora/mongo/db/commands/driverHelpers.o build/fedora/mongo/db/commands/eval.o build/fedora/mongo/db/commands/group_cmd.o build/fedora/mongo/db/commands/haystack.o build/fedora/mongo/db/commands/invalidate_view_catalog_command.o build/fedora/mongo/db/commands/mr.o build/fedora/mongo/db/commands/oplog_application_checks.o build/fedora/mongo/db/commands/oplog_note.o build/fedora/mongo/db/commands/parallel_collection_scan.o build/fedora/mongo/db/commands/resize_oplog.o build/fedora/mongo/db/commands/restart_catalog_command.o build/fedora/mongo/db/commands/set_feature_compatibility_version_command.o build/fedora/mongo/db/commands/shutdown_d.o build/fedora/mongo/db/commands/snapshot_management.o build/fedora/mongo/db/commands/top_command.o build/fedora/mongo/db/commands/touch.o build/fedora/mongo/db/commands/txn_cmds.o build/fedora/mongo/db/commands/user_management_commands.o Skipping ranlib for thin archive build/fedora/mongo/db/commands/libmongod.a g++ -o build/fedora/mongo/db/index/2d_access_method.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/index/2d_access_method.cpp g++ -o build/fedora/mongo/db/repl/rollback_source_impl.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/repl/rollback_source_impl.cpp g++ -o build/fedora/mongo/platform/shared_library_posix.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/platform/shared_library_posix.cpp g++ -o build/fedora/mongo/scripting/engine.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/scripting/engine.cpp g++ -o build/fedora/mongo/scripting/deadline_monitor.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/scripting/deadline_monitor.cpp g++ -o build/fedora/mongo/scripting/utils.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/scripting/utils.cpp g++ -o build/fedora/mongo/scripting/dbdirectclient_factory.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/scripting/dbdirectclient_factory.cpp g++ -o build/fedora/mongo/db/storage/ephemeral_for_test/ephemeral_for_test_engine.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/storage/ephemeral_for_test/ephemeral_for_test_engine.cpp In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/bson/timestamp.h:31, from src/mongo/db/repl/optime.h:33, from src/mongo/db/storage/journal_listener.h:31, from src/mongo/db/storage/ephemeral_for_test/ephemeral_for_test_engine.h:35, from src/mongo/db/storage/ephemeral_for_test/ephemeral_for_test_engine.cpp:33: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/db/storage/ephemeral_for_test/ephemeral_for_test_engine.h:121:13: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ ar rcsTD build/fedora/mongo/scripting/libscripting_common.a build/fedora/mongo/scripting/deadline_monitor.o build/fedora/mongo/scripting/dbdirectclient_factory.o build/fedora/mongo/scripting/engine.o build/fedora/mongo/scripting/utils.o Skipping ranlib for thin archive build/fedora/mongo/scripting/libscripting_common.a g++ -o build/fedora/mongo/db/storage/ephemeral_for_test/ephemeral_for_test_recovery_unit.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/storage/ephemeral_for_test/ephemeral_for_test_recovery_unit.cpp g++ -o build/fedora/mongo/db/storage/ephemeral_for_test/ephemeral_for_test_btree_impl.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/storage/ephemeral_for_test/ephemeral_for_test_btree_impl.cpp g++ -o build/fedora/third_party/icu4c-57.1/source/i18n/csrucode.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/csrucode.cpp g++ -o build/fedora/mongo/executor/remote_command_request.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/executor/remote_command_request.cpp g++ -o build/fedora/mongo/util/options_parser/option_description.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/asio-master/asio/include -Ibuild/fedora -Isrc src/mongo/util/options_parser/option_description.cpp ar rcsTD build/fedora/mongo/db/storage/ephemeral_for_test/libstorage_ephemeral_for_test_core.a build/fedora/mongo/db/storage/ephemeral_for_test/ephemeral_for_test_btree_impl.o build/fedora/mongo/db/storage/ephemeral_for_test/ephemeral_for_test_engine.o build/fedora/mongo/db/storage/ephemeral_for_test/ephemeral_for_test_recovery_unit.o Skipping ranlib for thin archive build/fedora/mongo/db/storage/ephemeral_for_test/libstorage_ephemeral_for_test_core.a g++ -o build/fedora/mongo/db/s/config/configsvr_commit_chunk_migration_command.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/s/config/configsvr_commit_chunk_migration_command.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/db/s/config/configsvr_commit_chunk_migration_command.cpp:35: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/db/server_options.h:30, from src/mongo/base/secure_allocator.h:40, from src/mongo/db/auth/authorization_manager.h:35, from src/mongo/db/auth/authorization_session.h:38, from src/mongo/db/s/config/configsvr_commit_chunk_migration_command.cpp:34: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/mongo/db/geo/shapes.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/geo/shapes.cpp src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/db/s/config/namespace_serializer.h:73:40: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/mongo/db/geo/big_polygon.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/geo/big_polygon.cpp In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call g++ -o build/fedora/mongo/db/geo/hash.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/geo/hash.cpp g++ -o build/fedora/mongo/util/net/private/socket_poll.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/asio-master/asio/include -Ibuild/fedora -Isrc src/mongo/util/net/private/socket_poll.cpp g++ -o build/fedora/mongo/scripting/mozjs/error.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -Wno-non-virtual-dtor -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -include js-config.h -include js/RequiredDefines.h -Wno-invalid-offsetof -fPIE -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/mozjs-45/include -Isrc/third_party/mozjs-45/mongo_sources -Isrc/third_party/mozjs-45/platform/x86_64/linux/include -Ibuild/fedora -Isrc src/mongo/scripting/mozjs/error.cpp g++ -o build/fedora/mongo/util/thread_safe_string.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/asio-master/asio/include -Ibuild/fedora -Isrc src/mongo/util/thread_safe_string.cpp g++ -o build/fedora/mongo/executor/network_interface_thread_pool.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/executor/network_interface_thread_pool.cpp In file included from /usr/include/string.h:535, from /usr/include/c++/12/cstring:42, from src/mongo/base/string_data.h:33, from src/mongo/db/jsobj.h:45, from src/mongo/db/geo/hash.h:31, from src/mongo/db/geo/hash.cpp:29: In function 'memcpy', inlined from 'mongo::StringData::copyTo(char*, bool) const' at src/mongo/base/string_data.h:266:15, inlined from 'mongo::StringBuilderImpl::append(mongo::StringData)' at src/mongo/bson/util/builder.h:484:19, inlined from 'mongo::StringBuilderImpl::operator<<(mongo::StringData)' at src/mongo/bson/util/builder.h:441:15, inlined from 'mongo::StringBuilderImpl::operator<<(char const*)' at src/mongo/bson/util/builder.h:438:22, inlined from 'mongoutils::str::stream::operator<< (char const (&) [6])mongoutils::str::stream&' at src/mongo/util/mongoutils/str.h:66:12, inlined from 'mongo::GeoHashConverter::parseParameters(mongo::BSONObj const&, mongo::GeoHashConverter::Parameters*)' at src/mongo/db/geo/hash.cpp:680:40: /usr/include/bits/string_fortified.h:29:33: warning: 'memcpy' offset [0, 4] is out of the bounds [0, 0] [-Warray-bounds] 29 | return __builtin___memcpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 30 | __glibc_objsize0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ ar rcsTD build/fedora/mongo/db/geo/libgeometry.a build/fedora/mongo/db/geo/hash.o build/fedora/mongo/db/geo/shapes.o build/fedora/mongo/db/geo/big_polygon.o build/fedora/mongo/db/geo/r2_region_coverer.o Skipping ranlib for thin archive build/fedora/mongo/db/geo/libgeometry.a g++ -o build/fedora/mongo/s/request_types/add_shard_request_type.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/s/request_types/add_shard_request_type.cpp ar rcsTD build/fedora/mongo/executor/libnetwork_interface_thread_pool.a build/fedora/mongo/executor/network_interface_thread_pool.o Skipping ranlib for thin archive build/fedora/mongo/executor/libnetwork_interface_thread_pool.a g++ -o build/fedora/mongo/s/request_types/update_zone_key_range_request_type.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/s/request_types/update_zone_key_range_request_type.cpp g++ -o build/fedora/mongo/db/repl/freshness_checker.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/repl/freshness_checker.cpp g++ -o build/fedora/mongo/db/repl/oplog_fetcher.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/repl/oplog_fetcher.cpp In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/bson/timestamp.h:31, from src/mongo/db/repl/freshness_checker.h:34, from src/mongo/db/repl/freshness_checker.cpp:33: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::repl::ReplSetTagPattern, mongo::StringMapTraits>': src/mongo/db/repl/repl_set_config.h:402:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::repl::ReplSetTagPattern; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::repl::ReplSetTagPattern; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::repl::ReplSetTagPattern; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::repl::ReplSetTagPattern; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/query_solution.h:36, from src/mongo/db/query/plan_executor.h:37, from src/mongo/db/clientcursor.h:38, from src/mongo/client/fetcher.h:41, from src/mongo/db/repl/oplog_fetcher.h:36, from src/mongo/db/repl/oplog_fetcher.cpp:33: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/bson/timestamp.h:31, from src/mongo/db/repl/oplog_fetcher.h:35: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36, from src/mongo/db/query/plan_cache.h:35, from src/mongo/db/query/query_solution.h:38: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/mongo/db/repl/oplog_buffer_blocking_queue.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/repl/oplog_buffer_blocking_queue.cpp src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, unsigned int, mongo::StringMapTraits>': src/mongo/db/op_observer.h:310:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::repl::ReplSetTagPattern, mongo::StringMapTraits>': src/mongo/db/repl/repl_set_config.h:402:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::repl::ReplSetTagPattern; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::repl::ReplSetTagPattern; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::repl::ReplSetTagPattern; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::repl::ReplSetTagPattern; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ gcc -o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_scalb.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -DUSE_COMPILER_F80_TYPE=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -Dlinux=1 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_scalb.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C g++ -o build/fedora/third_party/icu4c-57.1/source/common/udata.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/udata.cpp g++ -o build/fedora/mongo/util/winutil.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/asio-master/asio/include -Ibuild/fedora -Isrc src/mongo/util/winutil.cpp ar rcsTD build/fedora/mongo/util/libwinutil.a build/fedora/mongo/util/winutil.o Skipping ranlib for thin archive build/fedora/mongo/util/libwinutil.a /usr/bin/python3 buildscripts/idl/idlc.py --include src --base_dir build/fedora --target_arch x86_64 --header build/fedora/mongo/db/create_indexes_gen.h --output build/fedora/mongo/db/create_indexes_gen.cpp src/mongo/db/create_indexes.idl g++ -o build/fedora/mongo/db/sessions_collection.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/sessions_collection.cpp In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call /usr/bin/python3 buildscripts/idl/idlc.py --include src --base_dir build/fedora --target_arch x86_64 --header build/fedora/mongo/db/repl/replication_consistency_markers_gen.h --output build/fedora/mongo/db/repl/replication_consistency_markers_gen.cpp src/mongo/db/repl/replication_consistency_markers.idl g++ -o build/fedora/mongo/db/repl/replication_consistency_markers_gen.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc build/fedora/mongo/db/repl/replication_consistency_markers_gen.cpp g++ -o build/fedora/mongo/db/repl/rollback_checker.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/repl/rollback_checker.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from build/fedora/mongo/db/repl/replication_consistency_markers_gen.cpp:16: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from build/fedora/mongo/db/repl/replication_consistency_markers_gen.h:16, from build/fedora/mongo/db/repl/replication_consistency_markers_gen.cpp:9: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ ar rcsTD build/fedora/mongo/db/repl/librollback_checker.a build/fedora/mongo/db/repl/rollback_checker.o Skipping ranlib for thin archive build/fedora/mongo/db/repl/librollback_checker.a /usr/bin/python3 buildscripts/idl/idlc.py --include src --base_dir build/fedora --target_arch x86_64 --header build/fedora/mongo/db/free_mon/free_mon_storage_gen.h --output build/fedora/mongo/db/free_mon/free_mon_storage_gen.cpp src/mongo/db/free_mon/free_mon_storage.idl g++ -o build/fedora/mongo/db/free_mon/free_mon_storage.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/free_mon/free_mon_storage.cpp In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/bson/bsonobj.h:44, from src/mongo/db/free_mon/free_mon_storage.h:33, from src/mongo/db/free_mon/free_mon_storage.cpp:29: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/plan_cache.h:35, from src/mongo/db/catalog/collection_info_cache.h:33, from src/mongo/db/catalog/collection.h:41, from src/mongo/db/catalog_raii.h:32, from src/mongo/db/db_raii.h:33, from src/mongo/db/free_mon/free_mon_storage.cpp:35: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/third_party/icu4c-57.1/source/i18n/gregocal.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/gregocal.cpp In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call gcc -o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_lrintd.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -DUSE_COMPILER_F80_TYPE=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -Dlinux=1 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_lrintd.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C 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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call gcc -o build/fedora/third_party/wiredtiger/src/os_common/os_abort.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/fedora/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/fedora/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/fedora/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/os_common/os_abort.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C 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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/mongo/db/catalog/index_catalog_entry.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/catalog/index_catalog_entry.cpp src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, unsigned int, mongo::StringMapTraits>': src/mongo/db/op_observer.h:310:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long unsigned int, mongo::StringMapTraits>': src/mongo/db/views/view_graph.h:177:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/db/views/view_catalog.h:174:13: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Collection*, mongo::StringMapTraits>': src/mongo/db/catalog/database.h:165:38: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Top::CollectionData, mongo::StringMapTraits>': src/mongo/db/stats/top.h:150:14: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ gcc -o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_minmax.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -DUSE_COMPILER_F80_TYPE=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -Dlinux=1 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_minmax.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call gcc -o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_exp.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -DUSE_COMPILER_F80_TYPE=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -Dlinux=1 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_exp.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C g++ -o build/fedora/mongo/db/repl/update_position_args.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/repl/update_position_args.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/bson/util/bson_check.h:33, from src/mongo/db/repl/update_position_args.cpp:34: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/db/repl/update_position_args.h:33, from src/mongo/db/repl/update_position_args.cpp:31: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/mongo/db/repl/database_cloner.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/repl/database_cloner.cpp src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, bool, mongo::StringMapTraits>': src/mongo/bson/util/bson_check.h:62:43: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = bool; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = bool; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = bool; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = bool; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/query_solution.h:36, from src/mongo/db/query/plan_executor.h:37, from src/mongo/db/clientcursor.h:38, from src/mongo/client/fetcher.h:41, from src/mongo/db/repl/database_cloner.h:39, from src/mongo/db/repl/database_cloner.cpp:33: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/bson/bsonobj.h:44, from src/mongo/db/repl/database_cloner.h:38: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36, from src/mongo/db/query/plan_cache.h:35, from src/mongo/db/query/query_solution.h:38: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/mongo/db/repl/abstract_oplog_fetcher.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/repl/abstract_oplog_fetcher.cpp src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, unsigned int, mongo::StringMapTraits>': src/mongo/db/op_observer.h:310:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/query_solution.h:36, from src/mongo/db/query/plan_executor.h:37, from src/mongo/db/clientcursor.h:38, from src/mongo/client/fetcher.h:41, from src/mongo/db/repl/abstract_oplog_fetcher.h:33, from src/mongo/db/repl/abstract_oplog_fetcher.cpp:33: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/bson/bsonobj.h:44, from src/mongo/client/fetcher.h:39: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36, from src/mongo/db/query/plan_cache.h:35, from src/mongo/db/query/query_solution.h:38: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call gcc -o build/fedora/third_party/wiredtiger/src/cursor/cur_table.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/fedora/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/fedora/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/fedora/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/cursor/cur_table.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C ar rcsTD build/fedora/mongo/db/repl/libabstract_oplog_fetcher.a build/fedora/mongo/db/repl/abstract_oplog_fetcher.o Skipping ranlib for thin archive build/fedora/mongo/db/repl/libabstract_oplog_fetcher.a g++ -o build/fedora/third_party/mozjs-45/extract/js/src/mfbt/Unified_cpp_mfbt0.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -Wno-non-virtual-dtor -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -include js-confdefs.h -Wno-invalid-offsetof -fPIE -DIMPL_MFBT -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=1 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora/third_party/mozjs-45/extract/js/src -Isrc/third_party/mozjs-45/extract/js/src -Ibuild/fedora/third_party/mozjs-45/extract/mfbt -Isrc/third_party/mozjs-45/extract/mfbt -Ibuild/fedora/third_party/mozjs-45/extract/intl/icu/source/common -Isrc/third_party/mozjs-45/extract/intl/icu/source/common -Ibuild/fedora/third_party/mozjs-45/include -Isrc/third_party/mozjs-45/include -Ibuild/fedora/third_party/mozjs-45/mongo_sources -Isrc/third_party/mozjs-45/mongo_sources -Ibuild/fedora/third_party/mozjs-45/platform/x86_64/linux/build -Isrc/third_party/mozjs-45/platform/x86_64/linux/build -Ibuild/fedora/third_party/mozjs-45/platform/x86_64/linux/include -Isrc/third_party/mozjs-45/platform/x86_64/linux/include src/third_party/mozjs-45/extract/js/src/mfbt/Unified_cpp_mfbt0.cpp g++ -o build/fedora/mongo/util/secure_zero_memory.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/asio-master/asio/include -Ibuild/fedora -Isrc src/mongo/util/secure_zero_memory.cpp g++ -o build/fedora/mongo/db/exec/geo_near.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/exec/geo_near.cpp gcc -o build/fedora/third_party/wiredtiger/src/support/rand.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/fedora/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/fedora/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/fedora/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/support/rand.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C gcc -o build/fedora/third_party/wiredtiger/src/btree/bt_curprev.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/fedora/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/fedora/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/fedora/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/btree/bt_curprev.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/bson/timestamp.h:31, from src/mongo/db/catalog/collection.h:39, from src/mongo/db/exec/near.h:37, from src/mongo/db/exec/geo_near.h:31, from src/mongo/db/exec/geo_near.cpp:32: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/plan_cache.h:35, from src/mongo/db/catalog/collection_info_cache.h:33, from src/mongo/db/catalog/collection.h:41: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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 g++ -o build/fedora/mongo/db/pipeline/document_source_sequential_document_cache.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/pipeline/document_source_sequential_document_cache.cpp src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/bson/bsonobj.h:44, from src/mongo/bson/bsonobj_comparator_interface.h:32, from src/mongo/bson/simple_bsonobj_comparator.h:34, from src/mongo/db/pipeline/document_source.h:41, from src/mongo/db/pipeline/document_source_sequential_document_cache.h:31, from src/mongo/db/pipeline/document_source_sequential_document_cache.cpp:31: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, unsigned int, mongo::StringMapTraits>': src/mongo/db/op_observer.h:310:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/db/pipeline/document_source.h:44: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call g++ -o build/fedora/mongo/s/client/sharding_connection_hook.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/s/client/sharding_connection_hook.cpp g++ -o build/fedora/third_party/icu4c-57.1/source/i18n/rbnf.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/rbnf.cpp gcc -o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_round_integral.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -DUSE_COMPILER_F80_TYPE=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -Dlinux=1 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_round_integral.c g++ -o build/fedora/third_party/icu4c-57.1/source/common/locdspnm.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/locdspnm.cpp cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C g++ -o build/fedora/mongo/db/exec/scoped_timer.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/exec/scoped_timer.cpp g++ -o build/fedora/mongo/logger/log_manager.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/logger/log_manager.cpp ar rcsTD build/fedora/mongo/db/exec/libscoped_timer.a build/fedora/mongo/db/exec/scoped_timer.o Skipping ranlib for thin archive build/fedora/mongo/db/exec/libscoped_timer.a gcc -o build/fedora/third_party/wiredtiger/src/btree/bt_discard.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/fedora/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/fedora/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/fedora/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/btree/bt_discard.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C g++ -o build/fedora/mongo/util/intrusive_counter.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/asio-master/asio/include -Ibuild/fedora -Isrc src/mongo/util/intrusive_counter.cpp g++ -o build/fedora/third_party/icu4c-57.1/source/i18n/collationbuilder.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/collationbuilder.cpp g++ -o build/fedora/third_party/icu4c-57.1/source/i18n/rematch.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/rematch.cpp g++ -o build/fedora/mongo/s/client/shard.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/s/client/shard.cpp g++ -o build/fedora/mongo/db/pipeline/granularity_rounder.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/pipeline/granularity_rounder.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/document_comparator.h:32, from src/mongo/db/pipeline/expression_context.h:41, from src/mongo/db/pipeline/granularity_rounder.h:35, from src/mongo/db/pipeline/granularity_rounder.cpp:31: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/db/pipeline/granularity_rounder.h:34: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::function(const boost::intrusive_ptr&)>, mongo::StringMapTraits>': src/mongo/db/pipeline/granularity_rounder.cpp:41:20: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::function(const boost::intrusive_ptr&)>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::function(const boost::intrusive_ptr&)>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::function(const boost::intrusive_ptr&)>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::function(const boost::intrusive_ptr&)>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/mongo/db/pipeline/granularity_rounder_powers_of_two.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/pipeline/granularity_rounder_powers_of_two.cpp g++ -o build/fedora/mongo/db/pipeline/granularity_rounder_preferred_numbers.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/pipeline/granularity_rounder_preferred_numbers.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/document_comparator.h:32, from src/mongo/db/pipeline/expression_context.h:41, from src/mongo/db/pipeline/granularity_rounder.h:35, from src/mongo/db/pipeline/granularity_rounder_powers_of_two.cpp:31: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/db/pipeline/granularity_rounder.h:34: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/document_comparator.h:32, from src/mongo/db/pipeline/expression_context.h:41, from src/mongo/db/pipeline/granularity_rounder.h:35, from src/mongo/db/pipeline/granularity_rounder_preferred_numbers.cpp:31: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/db/pipeline/granularity_rounder.h:34: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/pipeline/expression.h:103:32: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/mongo/db/views/resolved_view.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/views/resolved_view.cpp ar rcsTD build/fedora/mongo/db/pipeline/libgranularity_rounder.a build/fedora/mongo/db/pipeline/granularity_rounder.o build/fedora/mongo/db/pipeline/granularity_rounder_powers_of_two.o build/fedora/mongo/db/pipeline/granularity_rounder_preferred_numbers.o Skipping ranlib for thin archive build/fedora/mongo/db/pipeline/libgranularity_rounder.a g++ -o build/fedora/mongo/db/update/update_object_node.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/update/update_object_node.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/matcher/expression_with_placeholder.h:35, from src/mongo/db/update/update_object_node.h:36, from src/mongo/db/update/update_object_node.cpp:31: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/update/update_object_node.h:35: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from /usr/include/string.h:535, from /usr/include/c++/12/cstring:42, from src/mongo/base/string_data.h:33, from build/fedora/mongo/base/error_codes.h:35, from src/mongo/base/status.h:33, from src/mongo/base/status_with.h:36, from src/mongo/db/views/resolved_view.h:33, from src/mongo/db/views/resolved_view.cpp:31: In function 'memcpy', inlined from 'mongo::StringData::copyTo(char*, bool) const' at src/mongo/base/string_data.h:266:15, inlined from 'mongo::StringBuilderImpl::append(mongo::StringData)' at src/mongo/bson/util/builder.h:484:19, inlined from 'mongo::StringBuilderImpl::appendIntegral(int, int)mongo::StringBuilderImpl&' at src/mongo/bson/util/builder.h:518:19, inlined from 'mongo::StringBuilderImpl::appendIntegral(int, int)mongo::StringBuilderImpl&' at src/mongo/bson/util/builder.h:512:24, inlined from 'mongo::StringBuilderImpl::operator<<(int)' at src/mongo/bson/util/builder.h:402:30, inlined from 'mongo::BSONObjBuilder::numStr[abi:cxx11](int)' at src/mongo/bson/bsonobjbuilder.h:719:14, inlined from 'mongo::BSONObjBuilder::append(mongo::StringData, std::vector > const&)mongo::BSONObjBuilder&' at src/mongo/bson/bsonobjbuilder.h:958:26, inlined from 'mongo::ResolvedView::serialize(mongo::BSONObjBuilder*) const' at src/mongo/db/views/resolved_view.cpp:79:18: /usr/include/bits/string_fortified.h:29:33: warning: 'memcpy' offset [0, 511] is out of the bounds [0, 0] [-Warray-bounds] 29 | return __builtin___memcpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 30 | __glibc_objsize0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/db/update/update_object_node.cpp: In static member function 'static std::unique_ptr mongo::UpdateObjectNode::createUpdateNodeByMerging(const mongo::UpdateObjectNode&, const mongo::UpdateObjectNode&, mongo::FieldRef*)': src/mongo/db/update/update_object_node.cpp:347:21: warning: redundant move in return statement [-Wredundant-move] 347 | return std::move(mergedNode); | ~~~~~~~~~^~~~~~~~~~~~ src/mongo/db/update/update_object_node.cpp:347:21: note: remove 'std::move' call g++ -o build/fedora/mongo/scripting/mozjs/cursor.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -Wno-non-virtual-dtor -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -include js-config.h -include js/RequiredDefines.h -Wno-invalid-offsetof -fPIE -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/mozjs-45/include -Isrc/third_party/mozjs-45/mongo_sources -Isrc/third_party/mozjs-45/platform/x86_64/linux/include -Ibuild/fedora -Isrc src/mongo/scripting/mozjs/cursor.cpp In file included from /usr/include/string.h:535, from src/mongo/bson/bsonelement.h:34: In function 'memcpy', inlined from 'mongo::StringData::copyTo(char*, bool) const' at src/mongo/base/string_data.h:266:15, inlined from 'mongo::StringBuilderImpl::append(mongo::StringData)' at src/mongo/bson/util/builder.h:484:19, inlined from 'mongo::StringBuilderImpl::operator<<(mongo::StringData)' at src/mongo/bson/util/builder.h:441:15, inlined from 'mongoutils::str::stream::operator<< (mongo::StringData const&)mongoutils::str::stream&' at src/mongo/util/mongoutils/str.h:66:12, inlined from 'mongo::(anonymous namespace)::parseArrayFilterIdentifier(mongo::StringData, unsigned long, mongo::FieldRef const&, std::map >, std::less, std::allocator > > > > const&, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >&)' at src/mongo/db/update/update_object_node.cpp:70:84: /usr/include/bits/string_fortified.h:29:33: warning: 'memcpy' offset 0 is out of the bounds [0, 0] [-Warray-bounds] 29 | return __builtin___memcpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 30 | __glibc_objsize0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -o build/fedora/mongo/db/storage/ephemeral_for_test/ephemeral_for_test_record_store.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/storage/ephemeral_for_test/ephemeral_for_test_record_store.cpp g++ -o build/fedora/mongo/logger/component_message_log_domain.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/logger/component_message_log_domain.cpp g++ -o build/fedora/mongo/db/storage/journal_listener.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/storage/journal_listener.cpp ar rcsTD build/fedora/mongo/db/storage/libjournal_listener.a build/fedora/mongo/db/storage/journal_listener.o Skipping ranlib for thin archive build/fedora/mongo/db/storage/libjournal_listener.a g++ -o build/fedora/mongo/base/initializer.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/base/initializer.cpp gcc -o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid_fegetexceptflag.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -DUSE_COMPILER_F80_TYPE=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -Dlinux=1 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid_fegetexceptflag.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C g++ -o build/fedora/third_party/icu4c-57.1/source/i18n/zonemeta.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/zonemeta.cpp g++ -o build/fedora/third_party/s2/strings/split.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Isrc/third_party/s2 -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/third_party/s2/strings/split.cc g++ -o build/fedora/mongo/db/query/find_common.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/query/find_common.cpp g++ -o build/fedora/mongo/db/query/collation/collator_factory_icu_decoration.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/query/collation/collator_factory_icu_decoration.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/db/curop.h:35, from src/mongo/db/query/find_common.cpp:34: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/bson/bsonobj.h:44, from src/mongo/db/query/find_common.h:29, from src/mongo/db/query/find_common.cpp:31: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/mongo/db/query/parsed_distinct.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/query/parsed_distinct.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/parsed_distinct.h:35, from src/mongo/db/query/parsed_distinct.cpp:31: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/bson_validate.h:35, from src/mongo/db/dbmessage.h:34, from src/mongo/db/query/canonical_query.h:33: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/mongo/db/s/config/configsvr_enable_sharding_command.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/s/config/configsvr_enable_sharding_command.cpp In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/db/s/config/configsvr_enable_sharding_command.cpp:40: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/bson/mutable/element.h:34, from src/mongo/db/auth/privilege.h:32, from src/mongo/db/audit.h:37, from src/mongo/db/s/config/configsvr_enable_sharding_command.cpp:35: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/db/s/config/namespace_serializer.h:73:40: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/s/catalog_cache.h:377:21: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/s/catalog_cache.h:379:24: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/s/catalog_cache.h:379:24: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/s/catalog_cache.h:379:24: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ ar rcsTD build/fedora/mongo/db/query/libquery_common.a build/fedora/mongo/db/query/collation/collator_factory_icu_decoration.o build/fedora/mongo/db/query/find_common.o build/fedora/mongo/db/query/parsed_distinct.o Skipping ranlib for thin archive build/fedora/mongo/db/query/libquery_common.a g++ -o build/fedora/mongo/db/storage/mmap_v1/data_file_sync.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/storage/mmap_v1/data_file_sync.cpp In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/db/commands/server_status.h:33, from src/mongo/db/storage/mmap_v1/data_file_sync.h:31, from src/mongo/db/storage/mmap_v1/data_file_sync.cpp:33: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/bson/mutable/element.h:34, from src/mongo/db/auth/privilege.h:32, from src/mongo/db/commands.h:39: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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 g++ -o build/fedora/mongo/db/storage/mmap_v1/data_file.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/storage/mmap_v1/data_file.cpp src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call g++ -o build/fedora/mongo/db/storage/mmap_v1/dur_journal_writer.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/storage/mmap_v1/dur_journal_writer.cpp g++ -o build/fedora/mongo/db/storage/mmap_v1/mmap_v1_engine.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/storage/mmap_v1/mmap_v1_engine.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/db/commands/server_status.h:33, from src/mongo/db/storage/mmap_v1/data_file_sync.h:31, from src/mongo/db/storage/mmap_v1/mmap_v1_engine.cpp:44: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/db/storage/mmap_v1/diskloc.h:40, from src/mongo/db/storage/mmap_v1/extent_manager.h:39, from src/mongo/db/storage/mmap_v1/mmap_v1_engine.h:35, from src/mongo/db/storage/mmap_v1/mmap_v1_engine.cpp:31: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/mongo/db/storage/mmap_v1/catalog/hashtab.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/storage/mmap_v1/catalog/hashtab.cpp src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/storage/mmap_v1/catalog/hashtab.h:34, from src/mongo/db/storage/mmap_v1/catalog/hashtab.cpp:33: src/mongo/db/storage/mmap_v1/catalog/namespace_details.h: In member function 'void mongo::NamespaceDetails::Extra::init()': src/mongo/db/storage/mmap_v1/catalog/namespace_details.h:149:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::NamespaceDetails::Extra' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 149 | memset(this, 0, sizeof(Extra)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/storage/mmap_v1/catalog/namespace_details.h:126:11: note: 'class mongo::NamespaceDetails::Extra' declared here 126 | class Extra { | ^~~~~ src/mongo/db/storage/mmap_v1/catalog/namespace_details.h: In member function 'void mongo::NamespaceDetails::Extra::copy(mongo::NamespaceDetails*, const mongo::NamespaceDetails::Extra&)': src/mongo/db/storage/mmap_v1/catalog/namespace_details.h:158:19: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::NamespaceDetails::Extra' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 158 | memcpy(this, &e, sizeof(Extra)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/storage/mmap_v1/catalog/namespace_details.h:126:11: note: 'class mongo::NamespaceDetails::Extra' declared here 126 | class Extra { | ^~~~~ g++ -o build/fedora/mongo/db/storage/mmap_v1/catalog/namespace_index.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/storage/mmap_v1/catalog/namespace_index.cpp In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call In file included from src/mongo/db/storage/mmap_v1/catalog/hashtab.h:34, from src/mongo/db/storage/mmap_v1/catalog/namespace_index.cpp:40: src/mongo/db/storage/mmap_v1/catalog/namespace_details.h: In member function 'void mongo::NamespaceDetails::Extra::init()': src/mongo/db/storage/mmap_v1/catalog/namespace_details.h:149:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::NamespaceDetails::Extra' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 149 | memset(this, 0, sizeof(Extra)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/storage/mmap_v1/catalog/namespace_details.h:126:11: note: 'class mongo::NamespaceDetails::Extra' declared here 126 | class Extra { | ^~~~~ src/mongo/db/storage/mmap_v1/catalog/namespace_details.h: In member function 'void mongo::NamespaceDetails::Extra::copy(mongo::NamespaceDetails*, const mongo::NamespaceDetails::Extra&)': src/mongo/db/storage/mmap_v1/catalog/namespace_details.h:158:19: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::NamespaceDetails::Extra' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 158 | memcpy(this, &e, sizeof(Extra)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/storage/mmap_v1/catalog/namespace_details.h:126:11: note: 'class mongo::NamespaceDetails::Extra' declared here 126 | class Extra { | ^~~~~ g++ -o build/fedora/mongo/db/storage/mmap_v1/commit_notifier.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/storage/mmap_v1/commit_notifier.cpp g++ -o build/fedora/mongo/db/storage/mmap_v1/catalog/namespace_details.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/storage/mmap_v1/catalog/namespace_details.cpp g++ -o build/fedora/mongo/db/storage/mmap_v1/mmap_v1_extent_manager.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/storage/mmap_v1/mmap_v1_extent_manager.cpp In file included from src/mongo/db/storage/mmap_v1/catalog/namespace_details.cpp:31: src/mongo/db/storage/mmap_v1/catalog/namespace_details.h: In member function 'void mongo::NamespaceDetails::Extra::init()': src/mongo/db/storage/mmap_v1/catalog/namespace_details.h:149:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::NamespaceDetails::Extra' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 149 | memset(this, 0, sizeof(Extra)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/storage/mmap_v1/catalog/namespace_details.h:126:11: note: 'class mongo::NamespaceDetails::Extra' declared here 126 | class Extra { | ^~~~~ src/mongo/db/storage/mmap_v1/catalog/namespace_details.h: In member function 'void mongo::NamespaceDetails::Extra::copy(mongo::NamespaceDetails*, const mongo::NamespaceDetails::Extra&)': src/mongo/db/storage/mmap_v1/catalog/namespace_details.h:158:19: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::NamespaceDetails::Extra' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 158 | memcpy(this, &e, sizeof(Extra)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/storage/mmap_v1/catalog/namespace_details.h:126:11: note: 'class mongo::NamespaceDetails::Extra' declared here 126 | class Extra { | ^~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/bson/timestamp.h:31, from src/mongo/db/repl/optime.h:33, from src/mongo/db/namespace_string.h:38, from src/mongo/db/storage/mmap_v1/catalog/namespace_details.h:32: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/plan_cache.h:35, from src/mongo/db/catalog/collection_info_cache.h:33, from src/mongo/db/catalog/collection.h:41, from src/mongo/db/storage/mmap_v1/catalog/namespace_details.cpp:37: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from /usr/include/string.h:535, from /usr/include/c++/12/cstring:42, from /usr/include/boost/system/detail/generic_category_message.hpp:15, from /usr/include/boost/system/detail/generic_category.hpp:14, from /usr/include/boost/system/detail/error_condition.hpp:14, from /usr/include/boost/system/detail/error_category_impl.hpp:14, from /usr/include/boost/system/error_category.hpp:11, from /usr/include/boost/filesystem/path_traits.hpp:14, from /usr/include/boost/filesystem/path.hpp:21, from /usr/include/boost/filesystem/operations.hpp:20, from src/mongo/db/storage/mmap_v1/mmap_v1_extent_manager.cpp:33: In function 'memcpy', inlined from 'mongo::StringData::copyTo(char*, bool) const' at src/mongo/base/string_data.h:266:15, inlined from 'mongo::StringBuilderImpl::append(mongo::StringData)' at src/mongo/bson/util/builder.h:484:19, inlined from 'mongo::StringBuilderImpl::appendIntegral(int, int)mongo::StringBuilderImpl&' at src/mongo/bson/util/builder.h:518:19, inlined from 'mongo::StringBuilderImpl::appendIntegral(int, int)mongo::StringBuilderImpl&' at src/mongo/bson/util/builder.h:512:24, inlined from 'mongo::StringBuilderImpl::operator<<(int)' at src/mongo/bson/util/builder.h:402:30, inlined from 'mongoutils::str::stream::operator<< (int const&)mongoutils::str::stream&' at src/mongo/util/mongoutils/str.h:66:12, inlined from 'mongo::MmapV1ExtentManager::_getOpenFile(int) const::{lambda()#1}::operator()() const' at src/mongo/db/storage/mmap_v1/mmap_v1_extent_manager.cpp:208:5: /usr/include/bits/string_fortified.h:29:33: warning: 'memcpy' offset [0, 467] is out of the bounds [0, 0] [-Warray-bounds] 29 | return __builtin___memcpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 30 | __glibc_objsize0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, unsigned int, mongo::StringMapTraits>': src/mongo/db/op_observer.h:310:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/mongo/db/storage/mmap_v1/durop.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/storage/mmap_v1/durop.cpp src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call g++ -o build/fedora/mongo/db/storage/mmap_v1/aligned_builder.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/storage/mmap_v1/aligned_builder.cpp g++ -o build/fedora/mongo/db/storage/mmap_v1/catalog/namespace_details_collection_entry.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/storage/mmap_v1/catalog/namespace_details_collection_entry.cpp g++ -o build/fedora/mongo/db/storage/mmap_v1/journal_latency_test_cmd.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/storage/mmap_v1/journal_latency_test_cmd.cpp In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/bson/bsonobj.h:44, from src/mongo/db/storage/mmap_v1/catalog/namespace_details_collection_entry.h:34, from src/mongo/db/storage/mmap_v1/catalog/namespace_details_collection_entry.cpp:33: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/plan_cache.h:35, from src/mongo/db/catalog/collection_info_cache.h:33, from src/mongo/db/catalog/collection.h:41, from src/mongo/db/catalog/database.h:38, from src/mongo/db/storage/mmap_v1/catalog/namespace_details_collection_entry.cpp:35: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/db/storage/mmap_v1/journal_latency_test_cmd.cpp:41: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/bson/mutable/element.h:34, from src/mongo/db/auth/privilege.h:32, from src/mongo/db/storage/mmap_v1/journal_latency_test_cmd.cpp:40: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ 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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ 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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ 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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, unsigned int, mongo::StringMapTraits>': src/mongo/db/op_observer.h:310:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long unsigned int, mongo::StringMapTraits>': src/mongo/db/views/view_graph.h:177:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/db/views/view_catalog.h:174:13: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Collection*, mongo::StringMapTraits>': src/mongo/db/catalog/database.h:165:38: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::vector, mongo::StringMapTraits>': src/mongo/db/catalog/uuid_catalog.h:234:44: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::vector; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::vector; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::vector; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::vector; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/storage/mmap_v1/catalog/namespace_details_collection_entry.cpp:41: src/mongo/db/storage/mmap_v1/catalog/namespace_details.h: In member function 'void mongo::NamespaceDetails::Extra::init()': src/mongo/db/storage/mmap_v1/catalog/namespace_details.h:149:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::NamespaceDetails::Extra' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 149 | memset(this, 0, sizeof(Extra)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/storage/mmap_v1/catalog/namespace_details.h:126:11: note: 'class mongo::NamespaceDetails::Extra' declared here 126 | class Extra { | ^~~~~ src/mongo/db/storage/mmap_v1/catalog/namespace_details.h: In member function 'void mongo::NamespaceDetails::Extra::copy(mongo::NamespaceDetails*, const mongo::NamespaceDetails::Extra&)': src/mongo/db/storage/mmap_v1/catalog/namespace_details.h:158:19: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::NamespaceDetails::Extra' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 158 | memcpy(this, &e, sizeof(Extra)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/storage/mmap_v1/catalog/namespace_details.h:126:11: note: 'class mongo::NamespaceDetails::Extra' declared here 126 | class Extra { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call g++ -o build/fedora/mongo/db/storage/mmap_v1/dur_commitjob.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/storage/mmap_v1/dur_commitjob.cpp In file included from src/mongo/db/storage/mmap_v1/dur_commitjob.cpp:35: src/mongo/db/storage/mmap_v1/dur_commitjob.h: In instantiation of 'void mongo::dur::Already::clear() [with int Prime = 127]': src/mongo/db/storage/mmap_v1/dur_commitjob.cpp:112:24: required from here src/mongo/db/storage/mmap_v1/dur_commitjob.h:99:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::dur::Already<127>' with no trivial copy-assignment; use value-initialization instead [-Wclass-memaccess] 99 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/storage/mmap_v1/dur_commitjob.h:90:7: note: 'class mongo::dur::Already<127>' declared here 90 | class Already { | ^~~~~~~ g++ -o build/fedora/mongo/db/storage/mmap_v1/dur_recovery_unit.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/storage/mmap_v1/dur_recovery_unit.cpp g++ -o build/fedora/mongo/db/storage/mmap_v1/dur.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/storage/mmap_v1/dur.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/db/commands/server_status.h:33, from src/mongo/db/storage/mmap_v1/dur.cpp:83: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/bson/timestamp.h:31, from src/mongo/db/repl/optime.h:33, from src/mongo/db/storage/journal_listener.h:31, from src/mongo/db/storage/mmap_v1/dur.h:35, from src/mongo/db/storage/mmap_v1/dur.cpp:76: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/mongo/db/storage/mmap_v1/mmap_v1_database_catalog_entry.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/storage/mmap_v1/mmap_v1_database_catalog_entry.cpp src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/bson/bsonobj.h:44, from src/mongo/db/storage/mmap_v1/catalog/namespace_details_collection_entry.h:34, from src/mongo/db/storage/mmap_v1/mmap_v1_database_catalog_entry.h:37, from src/mongo/db/storage/mmap_v1/mmap_v1_database_catalog_entry.cpp:33: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/plan_cache.h:35, from src/mongo/db/catalog/collection_info_cache.h:33, from src/mongo/db/catalog/collection.h:41, from src/mongo/db/catalog/database.h:38, from src/mongo/db/storage/mmap_v1/mmap_v1_database_catalog_entry.cpp:37: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, unsigned int, mongo::StringMapTraits>': src/mongo/db/op_observer.h:310:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long unsigned int, mongo::StringMapTraits>': src/mongo/db/views/view_graph.h:177:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/db/views/view_catalog.h:174:13: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Collection*, mongo::StringMapTraits>': src/mongo/db/catalog/database.h:165:38: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/mongo/db/storage/mmap_v1/repair_database.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/storage/mmap_v1/repair_database.cpp src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, bool, mongo::StringMapTraits>': src/mongo/db/fts/stop_words.h:62:21: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = bool; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = bool; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = bool; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = bool; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/storage/mmap_v1/mmap_v1_database_catalog_entry.cpp:51: src/mongo/db/storage/mmap_v1/catalog/namespace_details.h: In member function 'void mongo::NamespaceDetails::Extra::init()': src/mongo/db/storage/mmap_v1/catalog/namespace_details.h:149:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::NamespaceDetails::Extra' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 149 | memset(this, 0, sizeof(Extra)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/storage/mmap_v1/catalog/namespace_details.h:126:11: note: 'class mongo::NamespaceDetails::Extra' declared here 126 | class Extra { | ^~~~~ src/mongo/db/storage/mmap_v1/catalog/namespace_details.h: In member function 'void mongo::NamespaceDetails::Extra::copy(mongo::NamespaceDetails*, const mongo::NamespaceDetails::Extra&)': src/mongo/db/storage/mmap_v1/catalog/namespace_details.h:158:19: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::NamespaceDetails::Extra' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 158 | memcpy(this, &e, sizeof(Extra)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/storage/mmap_v1/catalog/namespace_details.h:126:11: note: 'class mongo::NamespaceDetails::Extra' declared here 126 | class Extra { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/db/storage/mmap_v1/diskloc.h:40, from src/mongo/db/storage/mmap_v1/extent_manager.h:39, from src/mongo/db/storage/mmap_v1/mmap_v1_engine.h:35, from src/mongo/db/storage/mmap_v1/repair_database.cpp:35: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/plan_cache.h:35, from src/mongo/db/catalog/collection_info_cache.h:33, from src/mongo/db/catalog/collection.h:41, from src/mongo/db/storage/mmap_v1/repair_database.cpp:40: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, unsigned int, mongo::StringMapTraits>': src/mongo/db/op_observer.h:310:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long unsigned int, mongo::StringMapTraits>': src/mongo/db/views/view_graph.h:177:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/db/views/view_catalog.h:174:13: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Collection*, mongo::StringMapTraits>': src/mongo/db/catalog/database.h:165:38: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::vector, mongo::StringMapTraits>': src/mongo/db/catalog/uuid_catalog.h:234:44: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::vector; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::vector; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::vector; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::vector; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Top::CollectionData, mongo::StringMapTraits>': src/mongo/db/stats/top.h:150:14: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/mongo/db/storage/mmap_v1/dur_recover.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/storage/mmap_v1/dur_recover.cpp In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call src/mongo/db/storage/mmap_v1/dur_recover.cpp: In member function 'bool mongo::dur::RecoveryJob::processFileBuffer(mongo::OperationContext*, const void*, unsigned int)': src/mongo/db/storage/mmap_v1/dur_recover.cpp:490:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct mongo::dur::JHeader'; use assignment or value-initialization instead [-Wclass-memaccess] 490 | std::memset(&h, 0, sizeof(h)); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/mongo/db/storage/mmap_v1/dur_recover.h:38, from src/mongo/db/storage/mmap_v1/dur_recover.cpp:35: src/mongo/db/storage/mmap_v1/dur_journalformat.h:48:8: note: 'struct mongo::dur::JHeader' declared here 48 | struct JHeader { | ^~~~~~~ g++ -o build/fedora/mongo/db/storage/mmap_v1/dur_preplogbuffer.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/storage/mmap_v1/dur_preplogbuffer.cpp g++ -o build/fedora/mongo/db/storage/mmap_v1/catalog/namespace_details_rsv1_metadata.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/storage/mmap_v1/catalog/namespace_details_rsv1_metadata.cpp In file included from src/mongo/db/storage/mmap_v1/catalog/namespace_details_rsv1_metadata.h:36, from src/mongo/db/storage/mmap_v1/catalog/namespace_details_rsv1_metadata.cpp:31: src/mongo/db/storage/mmap_v1/catalog/namespace_details.h: In member function 'void mongo::NamespaceDetails::Extra::init()': src/mongo/db/storage/mmap_v1/catalog/namespace_details.h:149:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::NamespaceDetails::Extra' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 149 | memset(this, 0, sizeof(Extra)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/storage/mmap_v1/catalog/namespace_details.h:126:11: note: 'class mongo::NamespaceDetails::Extra' declared here 126 | class Extra { | ^~~~~ src/mongo/db/storage/mmap_v1/catalog/namespace_details.h: In member function 'void mongo::NamespaceDetails::Extra::copy(mongo::NamespaceDetails*, const mongo::NamespaceDetails::Extra&)': src/mongo/db/storage/mmap_v1/catalog/namespace_details.h:158:19: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::NamespaceDetails::Extra' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 158 | memcpy(this, &e, sizeof(Extra)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/storage/mmap_v1/catalog/namespace_details.h:126:11: note: 'class mongo::NamespaceDetails::Extra' declared here 126 | class Extra { | ^~~~~ g++ -o build/fedora/mongo/db/storage/mmap_v1/durable_mapped_file.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/storage/mmap_v1/durable_mapped_file.cpp g++ -o build/fedora/mongo/db/views/durable_view_catalog.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/views/durable_view_catalog.cpp In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/bson/timestamp.h:31, from src/mongo/db/repl/optime.h:33, from src/mongo/db/namespace_string.h:38, from src/mongo/db/views/durable_view_catalog.h:35, from src/mongo/db/views/durable_view_catalog.cpp:33: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/plan_cache.h:35, from src/mongo/db/catalog/collection_info_cache.h:33, from src/mongo/db/catalog/collection.h:41, from src/mongo/db/views/durable_view_catalog.cpp:37: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ ar rcsTD build/fedora/mongo/db/storage/mmap_v1/libstorage_mmapv1.a build/fedora/mongo/db/storage/mmap_v1/aligned_builder.o build/fedora/mongo/db/storage/mmap_v1/catalog/hashtab.o build/fedora/mongo/db/storage/mmap_v1/catalog/index_details.o build/fedora/mongo/db/storage/mmap_v1/catalog/namespace_details.o build/fedora/mongo/db/storage/mmap_v1/catalog/namespace_details_collection_entry.o build/fedora/mongo/db/storage/mmap_v1/catalog/namespace_details_rsv1_metadata.o build/fedora/mongo/db/storage/mmap_v1/catalog/namespace_index.o build/fedora/mongo/db/storage/mmap_v1/commit_notifier.o build/fedora/mongo/db/storage/mmap_v1/data_file.o build/fedora/mongo/db/storage/mmap_v1/data_file_sync.o build/fedora/mongo/db/storage/mmap_v1/durable_mapped_file.o build/fedora/mongo/db/storage/mmap_v1/dur.o build/fedora/mongo/db/storage/mmap_v1/durop.o build/fedora/mongo/db/storage/mmap_v1/dur_preplogbuffer.o build/fedora/mongo/db/storage/mmap_v1/dur_commitjob.o build/fedora/mongo/db/storage/mmap_v1/dur_recover.o build/fedora/mongo/db/storage/mmap_v1/dur_journal.o build/fedora/mongo/db/storage/mmap_v1/dur_journal_writer.o build/fedora/mongo/db/storage/mmap_v1/dur_recovery_unit.o build/fedora/mongo/db/storage/mmap_v1/journal_latency_test_cmd.o build/fedora/mongo/db/storage/mmap_v1/mmap_v1_database_catalog_entry.o build/fedora/mongo/db/storage/mmap_v1/mmap_v1_engine.o build/fedora/mongo/db/storage/mmap_v1/mmap_v1_extent_manager.o build/fedora/mongo/db/storage/mmap_v1/mmap_v1_init.o build/fedora/mongo/db/storage/mmap_v1/repair_database.o Skipping ranlib for thin archive build/fedora/mongo/db/storage/mmap_v1/libstorage_mmapv1.a g++ -o build/fedora/mongo/db/query/index_bounds.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/query/index_bounds.cpp src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, unsigned int, mongo::StringMapTraits>': src/mongo/db/op_observer.h:310:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long unsigned int, mongo::StringMapTraits>': src/mongo/db/views/view_graph.h:177:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/db/views/view_catalog.h:174:13: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Collection*, mongo::StringMapTraits>': src/mongo/db/catalog/database.h:165:38: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call g++ -o build/fedora/third_party/icu4c-57.1/source/i18n/visibledigits.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/visibledigits.cpp gcc -o build/fedora/third_party/icu4c-57.1/source/common/icudataver.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/icudataver.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C gcc -o build/fedora/third_party/wiredtiger/src/support/hazard.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/fedora/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/fedora/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/fedora/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/support/hazard.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C g++ -o build/fedora/mongo/executor/egress_tag_closer_manager.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/executor/egress_tag_closer_manager.cpp ar rcsTD build/fedora/mongo/db/views/libviews_mongod.a build/fedora/mongo/db/views/durable_view_catalog.o Skipping ranlib for thin archive build/fedora/mongo/db/views/libviews_mongod.a g++ -o build/fedora/mongo/db/auth/action_set.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/auth/action_set.cpp gcc -o build/fedora/third_party/icu4c-57.1/source/common/ucnvscsu.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/ucnvscsu.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C gcc -o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_fma.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -DUSE_COMPILER_F80_TYPE=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -Dlinux=1 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_fma.c gcc -o build/fedora/third_party/wiredtiger/src/os_posix/os_priv.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/fedora/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/fedora/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/fedora/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/os_posix/os_priv.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C gcc -o build/fedora/third_party/wiredtiger/src/schema/schema_rename.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/fedora/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/fedora/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/fedora/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/schema/schema_rename.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C g++ -o build/fedora/third_party/icu4c-57.1/source/common/uloc_keytype.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/uloc_keytype.cpp g++ -o build/fedora/third_party/icu4c-57.1/source/common/cstr.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/cstr.cpp g++ -o build/fedora/mongo/db/storage/kv/kv_database_catalog_entry_base.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/storage/kv/kv_database_catalog_entry_base.cpp gcc -o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_to_uint8.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -DUSE_COMPILER_F80_TYPE=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -Dlinux=1 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_to_uint8.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C g++ -o build/fedora/mongo/db/query/explain.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/query/explain.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/query/explain.cpp:31: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/db/exec/plan_stats.h:38, from src/mongo/db/exec/plan_stage.h:34, from src/mongo/db/query/explain.h:31: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/mongo/db/commands/connection_status.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/commands/connection_status.cpp src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, unsigned int, mongo::StringMapTraits>': src/mongo/db/op_observer.h:310:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, bool, mongo::StringMapTraits>': src/mongo/db/fts/stop_words.h:62:21: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = bool; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = bool; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = bool; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = bool; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/db/commands/connection_status.cpp:34: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/bson_extract.h:35, from src/mongo/db/commands/connection_status.cpp:31: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call g++ -o build/fedora/mongo/transport/transport_layer.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/transport/transport_layer.cpp g++ -o build/fedora/mongo/transport/service_entry_point_utils.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/transport/service_entry_point_utils.cpp g++ -o build/fedora/mongo/transport/session.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/transport/session.cpp g++ -o build/fedora/mongo/s/query/router_stage_remove_metadata_fields.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/s/query/router_stage_remove_metadata_fields.cpp ar rcsTD build/fedora/mongo/transport/libtransport_layer_common.a build/fedora/mongo/transport/service_entry_point_utils.o build/fedora/mongo/transport/session.o build/fedora/mongo/transport/transport_layer.o Skipping ranlib for thin archive build/fedora/mongo/transport/libtransport_layer_common.a g++ -o build/fedora/mongo/db/write_concern_options.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/write_concern_options.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/s/query/router_stage_remove_metadata_fields.cpp:36: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ gcc -o build/fedora/third_party/icu4c-57.1/source/common/ucnvhz.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/ucnvhz.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C g++ -o build/fedora/mongo/util/processinfo_linux.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/asio-master/asio/include -Ibuild/fedora -Isrc src/mongo/util/processinfo_linux.cpp gcc -o build/fedora/third_party/wiredtiger/src/btree/bt_slvg.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/fedora/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/fedora/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/fedora/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/btree/bt_slvg.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C g++ -o build/fedora/mongo/db/matcher/matcher.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/matcher/matcher.cpp g++ -o build/fedora/mongo/db/matcher/schema/expression_internal_schema_num_properties.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/matcher/schema/expression_internal_schema_num_properties.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/matcher/expression_parser.h:35, from src/mongo/db/matcher/matcher.cpp:36: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/db/exec/working_set.h:34, from src/mongo/db/matcher/matcher.cpp:34: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37: 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: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::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::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::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/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/matcher/schema/expression_internal_schema_num_properties.h:32, from src/mongo/db/matcher/schema/expression_internal_schema_num_properties.cpp:31: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/bson/bsonobj.h:44, from src/mongo/db/matcher/expression.h:36: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/mongo/db/matcher/schema/expression_internal_schema_xor.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/matcher/schema/expression_internal_schema_xor.cpp In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/matcher/expression_tree.h:33, from src/mongo/db/matcher/schema/expression_internal_schema_xor.h:31, from src/mongo/db/matcher/schema/expression_internal_schema_xor.cpp:31: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/bson/bsonobj.h:44, from src/mongo/db/matcher/expression.h:36: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ 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: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::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::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::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/schema/expression_internal_schema_xor.h: In member function 'virtual std::unique_ptr mongo::InternalSchemaXorMatchExpression::shallowClone() const': src/mongo/db/matcher/schema/expression_internal_schema_xor.h:57:25: warning: redundant move in return statement [-Wredundant-move] 57 | return std::move(xorCopy); | ~~~~~~~~~^~~~~~~~~ src/mongo/db/matcher/schema/expression_internal_schema_xor.h:57:25: note: remove 'std::move' call g++ -o build/fedora/mongo/db/matcher/schema/expression_internal_schema_fmod.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/matcher/schema/expression_internal_schema_fmod.cpp g++ -o build/fedora/mongo/db/matcher/matchable.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/matcher/matchable.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/matcher/expression_leaf.h:34, from src/mongo/db/matcher/schema/expression_internal_schema_fmod.h:31, from src/mongo/db/matcher/schema/expression_internal_schema_fmod.cpp:31: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/bson/bsonelement_comparator_interface.h:32, from src/mongo/bson/bsonelement_comparator.h:32, from src/mongo/db/matcher/expression_leaf.h:31: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call src/mongo/db/matcher/schema/expression_internal_schema_fmod.h: In member function 'virtual std::unique_ptr mongo::InternalSchemaFmodMatchExpression::shallowClone() const': src/mongo/db/matcher/schema/expression_internal_schema_fmod.h:49:25: warning: redundant move in return statement [-Wredundant-move] 49 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/schema/expression_internal_schema_fmod.h:49:25: note: remove 'std::move' call g++ -o build/fedora/mongo/db/matcher/extensions_callback.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/matcher/extensions_callback.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/matcher/extensions_callback.h:31, from src/mongo/db/matcher/extensions_callback.cpp:31: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/bson/bsonobj.h:44, from src/mongo/db/matcher/expression.h:36: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call g++ -o build/fedora/mongo/db/matcher/schema/expression_internal_schema_eq.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/matcher/schema/expression_internal_schema_eq.cpp g++ -o build/fedora/mongo/db/matcher/schema/expression_internal_schema_all_elem_match_from_index.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/matcher/schema/expression_internal_schema_all_elem_match_from_index.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/matcher/expression_leaf.h:34, from src/mongo/db/matcher/schema/expression_internal_schema_eq.h:32, from src/mongo/db/matcher/schema/expression_internal_schema_eq.cpp:31: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/bson/bsonelement_comparator_interface.h:32, from src/mongo/bson/unordered_fields_bsonelement_comparator.h:32, from src/mongo/db/matcher/schema/expression_internal_schema_eq.h:31: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call src/mongo/db/matcher/schema/expression_internal_schema_eq.cpp: In member function 'virtual std::unique_ptr mongo::InternalSchemaEqMatchExpression::shallowClone() const': src/mongo/db/matcher/schema/expression_internal_schema_eq.cpp:88:21: warning: redundant move in return statement [-Wredundant-move] 88 | return std::move(clone); | ~~~~~~~~~^~~~~~~ src/mongo/db/matcher/schema/expression_internal_schema_eq.cpp:88:21: note: remove 'std::move' call In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/matcher/schema/expression_internal_schema_all_elem_match_from_index.h:31, from src/mongo/db/matcher/schema/expression_internal_schema_all_elem_match_from_index.cpp:30: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/bson/bsonobj.h:44, from src/mongo/db/matcher/expression.h:36: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/schema/expression_internal_schema_all_elem_match_from_index.h:32: src/mongo/db/matcher/expression_array.h: In member function 'virtual std::unique_ptr mongo::ElemMatchObjectMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_array.h:85:25: warning: redundant move in return statement [-Wredundant-move] 85 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_array.h:85:25: note: remove 'std::move' call src/mongo/db/matcher/expression_array.h: In member function 'virtual std::unique_ptr mongo::ElemMatchValueMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_array.h:140:25: warning: redundant move in return statement [-Wredundant-move] 140 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_array.h:140:25: note: remove 'std::move' call src/mongo/db/matcher/expression_array.h: In member function 'virtual std::unique_ptr mongo::SizeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_array.h:177:25: warning: redundant move in return statement [-Wredundant-move] 177 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_array.h:177:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/db/matcher/schema/expression_internal_schema_all_elem_match_from_index.cpp: In member function 'virtual std::unique_ptr mongo::InternalSchemaAllElemMatchFromIndexMatchExpression::shallowClone() const': src/mongo/db/matcher/schema/expression_internal_schema_all_elem_match_from_index.cpp:54:21: warning: redundant move in return statement [-Wredundant-move] 54 | return std::move(clone); | ~~~~~~~~~^~~~~~~ src/mongo/db/matcher/schema/expression_internal_schema_all_elem_match_from_index.cpp:54:21: note: remove 'std::move' call g++ -o build/fedora/mongo/db/matcher/schema/expression_internal_schema_cond.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/matcher/schema/expression_internal_schema_cond.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/matcher/expression_arity.h:34, from src/mongo/db/matcher/schema/expression_internal_schema_cond.h:32, from src/mongo/db/matcher/schema/expression_internal_schema_cond.cpp:31: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/bson/bsonobj.h:44, from src/mongo/db/matcher/expression.h:36: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/mongo/db/matcher/schema/expression_internal_schema_root_doc_eq.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/matcher/schema/expression_internal_schema_root_doc_eq.cpp src/mongo/db/matcher/expression_arity.h: In instantiation of 'std::unique_ptr mongo::FixedArityMatchExpression::shallowClone() const [with T = mongo::InternalSchemaCondMatchExpression; long unsigned int nargs = 3]': src/mongo/db/matcher/expression_arity.h:116:38: required from here src/mongo/db/matcher/expression_arity.h:131:31: warning: redundant move in return statement [-Wredundant-move] 131 | return std::move(clone); | ^ src/mongo/db/matcher/expression_arity.h:131:31: note: remove 'std::move' call In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/matcher/schema/expression_internal_schema_root_doc_eq.h:32, from src/mongo/db/matcher/schema/expression_internal_schema_root_doc_eq.cpp:31: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/bson/bsonobj.h:44, from src/mongo/bson/bsonobj_comparator_interface.h:32, from src/mongo/bson/unordered_fields_bsonobj_comparator.h:32, from src/mongo/db/matcher/schema/expression_internal_schema_root_doc_eq.h:31: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/mongo/db/matcher/schema/expression_internal_schema_num_array_items.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/matcher/schema/expression_internal_schema_num_array_items.cpp src/mongo/db/matcher/schema/expression_internal_schema_root_doc_eq.cpp: In member function 'virtual std::unique_ptr mongo::InternalSchemaRootDocEqMatchExpression::shallowClone() const': src/mongo/db/matcher/schema/expression_internal_schema_root_doc_eq.cpp:75:21: warning: redundant move in return statement [-Wredundant-move] 75 | return std::move(clone); | ~~~~~~~~~^~~~~~~ src/mongo/db/matcher/schema/expression_internal_schema_root_doc_eq.cpp:75:21: note: remove 'std::move' call g++ -o build/fedora/mongo/db/matcher/rewrite_expr.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/matcher/rewrite_expr.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/matcher/expression_path.h:31, from src/mongo/db/matcher/expression_array.h:38, from src/mongo/db/matcher/schema/expression_internal_schema_num_array_items.h:32, from src/mongo/db/matcher/schema/expression_internal_schema_num_array_items.cpp:31: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/bson/bsonmisc.h:32, from src/mongo/db/matcher/expression_array.h:36: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/db/matcher/expression_array.h: In member function 'virtual std::unique_ptr mongo::ElemMatchObjectMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_array.h:85:25: warning: redundant move in return statement [-Wredundant-move] 85 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_array.h:85:25: note: remove 'std::move' call src/mongo/db/matcher/expression_array.h: In member function 'virtual std::unique_ptr mongo::ElemMatchValueMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_array.h:140:25: warning: redundant move in return statement [-Wredundant-move] 140 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_array.h:140:25: note: remove 'std::move' call src/mongo/db/matcher/expression_array.h: In member function 'virtual std::unique_ptr mongo::SizeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_array.h:177:25: warning: redundant move in return statement [-Wredundant-move] 177 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_array.h:177:25: note: remove 'std::move' call In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/matcher/rewrite_expr.h:34, from src/mongo/db/matcher/rewrite_expr.cpp:33: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/bson/bsonobj.h:44, from src/mongo/db/matcher/expression.h:36: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/rewrite_expr.h:35: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call g++ -o build/fedora/mongo/db/matcher/expression_text_noop.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/matcher/expression_text_noop.cpp 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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/rewrite_expr.h:36: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/db/matcher/rewrite_expr.cpp: In member function 'std::unique_ptr mongo::RewriteExpr::_rewriteAndExpression(const boost::intrusive_ptr&)': src/mongo/db/matcher/rewrite_expr.cpp:87:25: warning: redundant move in return statement [-Wredundant-move] 87 | return std::move(andMatch); | ~~~~~~~~~^~~~~~~~~~ src/mongo/db/matcher/rewrite_expr.cpp:87:25: note: remove 'std::move' call src/mongo/db/matcher/rewrite_expr.cpp: In member function 'std::unique_ptr mongo::RewriteExpr::_rewriteOrExpression(const boost::intrusive_ptr&)': src/mongo/db/matcher/rewrite_expr.cpp:108:25: warning: redundant move in return statement [-Wredundant-move] 108 | return std::move(orMatch); | ~~~~~~~~~^~~~~~~~~ src/mongo/db/matcher/rewrite_expr.cpp:108:25: note: remove 'std::move' call src/mongo/db/matcher/rewrite_expr.cpp: In member function 'std::unique_ptr mongo::RewriteExpr::_buildComparisonMatchExpression(mongo::ExpressionCompare::CmpOp, mongo::BSONElement)': src/mongo/db/matcher/rewrite_expr.cpp:156:21: warning: redundant move in return statement [-Wredundant-move] 156 | return std::move(eqMatchExpr); | ~~~~~~~~~^~~~~~~~~~~~~ src/mongo/db/matcher/rewrite_expr.cpp:156:21: note: remove 'std::move' call In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/matcher/expression_leaf.h:34, from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/expression_text_noop.h:32, from src/mongo/db/matcher/expression_text_noop.cpp:31: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/db/fts/fts_util.h:35, from src/mongo/db/fts/fts_query.h:33, from src/mongo/db/fts/fts_query_noop.h:31, from src/mongo/db/matcher/expression_text_noop.h:31: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call src/mongo/db/matcher/expression_text_noop.cpp: In member function 'virtual std::unique_ptr mongo::TextNoOpMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_text_noop.cpp:57:21: warning: redundant move in return statement [-Wredundant-move] 57 | return std::move(expr); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_text_noop.cpp:57:21: note: remove 'std::move' call g++ -o build/fedora/mongo/db/matcher/expression_text_base.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/matcher/expression_text_base.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/matcher/expression_leaf.h:34, from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/expression_text_base.cpp:31: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/bson/bsonelement_comparator_interface.h:32, from src/mongo/bson/bsonelement_comparator.h:32, from src/mongo/db/matcher/expression_leaf.h:31: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/mongo/db/matcher/expression_tree.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/matcher/expression_tree.cpp 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/matcher/expression_tree.h:33, from src/mongo/db/matcher/expression_tree.cpp:31: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/bson/bsonobj.h:44, from src/mongo/db/matcher/expression.h:36: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ 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: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::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::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::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.cpp: In lambda function: src/mongo/db/matcher/expression_tree.cpp:153:33: warning: redundant move in return statement [-Wredundant-move] 153 | return std::move(simplifiedExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_tree.cpp:153:33: note: remove 'std::move' call g++ -o build/fedora/mongo/db/matcher/expression_expr.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/matcher/expression_expr.cpp g++ -o build/fedora/mongo/db/matcher/matcher_type_set.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/matcher/matcher_type_set.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/matcher/expression_expr.h:33, from src/mongo/db/matcher/expression_expr.cpp:31: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/bson/bsonobj.h:44, from src/mongo/db/matcher/expression.h:36: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_expr.h:34: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/rewrite_expr.h:35, from src/mongo/db/matcher/expression_expr.h:35: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/matcher/expression_parser.h:35, from src/mongo/db/matcher/matcher_type_set.cpp:33: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/matcher/matcher_type_set.h:34, from src/mongo/db/matcher/matcher_type_set.cpp:31: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ 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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/db/matcher/expression_expr.cpp: In member function 'virtual std::unique_ptr mongo::ExprMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_expr.cpp:95:21: warning: redundant move in return statement [-Wredundant-move] 95 | return std::move(clone); | ~~~~~~~~~^~~~~~~ src/mongo/db/matcher/expression_expr.cpp:95:21: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::BSONType, mongo::StringMapTraits>': src/mongo/db/matcher/matcher_type_set.cpp:55:23: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::BSONType; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::BSONType; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::BSONType; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::BSONType; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call g++ -o build/fedora/mongo/db/matcher/expression_geo.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/matcher/expression_geo.cpp g++ -o build/fedora/mongo/db/matcher/expression_array.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/matcher/expression_array.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/matcher/expression_path.h:31, from src/mongo/db/matcher/expression_array.h:38, from src/mongo/db/matcher/expression_array.cpp:31: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/bson/bsonmisc.h:32, from src/mongo/db/matcher/expression_array.h:36: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/db/matcher/expression_array.h: In member function 'virtual std::unique_ptr mongo::ElemMatchObjectMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_array.h:85:25: warning: redundant move in return statement [-Wredundant-move] 85 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_array.h:85:25: note: remove 'std::move' call src/mongo/db/matcher/expression_array.h: In member function 'virtual std::unique_ptr mongo::ElemMatchValueMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_array.h:140:25: warning: redundant move in return statement [-Wredundant-move] 140 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_array.h:140:25: note: remove 'std::move' call src/mongo/db/matcher/expression_array.h: In member function 'virtual std::unique_ptr mongo::SizeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_array.h:177:25: warning: redundant move in return statement [-Wredundant-move] 177 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_array.h:177:25: note: remove 'std::move' call In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/matcher/expression_geo.h:36, from src/mongo/db/matcher/expression_geo.cpp:33: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/util/duration.h:40, from src/mongo/util/time_support.h:41, from src/mongo/logger/message_event.h:35, from src/mongo/logger/message_log_domain.h:35, from src/mongo/logger/component_message_log_domain.h:31, from src/mongo/logger/log_manager.h:33, from src/mongo/logger/logger.h:30, from src/third_party/s2/base/logging.h:20, from src/third_party/s2/s2.h:23, from src/mongo/db/geo/s2.h:40, from src/mongo/db/geo/big_polygon.h:33, from src/mongo/db/geo/shapes.h:36, from src/mongo/db/geo/geometry_container.h:34, from src/mongo/db/matcher/expression_geo.h:35: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_geo.h:37: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/matcher/expression_geo.cpp:37: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/db/matcher/expression_geo.cpp: In member function 'virtual std::unique_ptr mongo::GeoMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_geo.cpp:415:21: warning: redundant move in return statement [-Wredundant-move] 415 | return std::move(next); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_geo.cpp:415:21: note: remove 'std::move' call src/mongo/db/matcher/expression_geo.cpp: In member function 'virtual std::unique_ptr mongo::GeoNearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_geo.cpp:472:21: warning: redundant move in return statement [-Wredundant-move] 472 | return std::move(next); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_geo.cpp:472:21: note: remove 'std::move' call g++ -o build/fedora/mongo/db/matcher/schema/json_schema_parser.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/matcher/schema/json_schema_parser.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/matcher/schema/json_schema_parser.h:31, from src/mongo/db/matcher/schema/json_schema_parser.cpp:33: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/bson/bsonobj.h:44, from src/mongo/db/matcher/expression.h:36: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/schema/json_schema_parser.h:32: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_type.h:31, from src/mongo/db/matcher/schema/json_schema_parser.h:33: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: 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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/schema/expression_internal_schema_all_elem_match_from_index.h:32, from src/mongo/db/matcher/schema/json_schema_parser.cpp:42: src/mongo/db/matcher/expression_array.h: In member function 'virtual std::unique_ptr mongo::ElemMatchObjectMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_array.h:85:25: warning: redundant move in return statement [-Wredundant-move] 85 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_array.h:85:25: note: remove 'std::move' call src/mongo/db/matcher/expression_array.h: In member function 'virtual std::unique_ptr mongo::ElemMatchValueMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_array.h:140:25: warning: redundant move in return statement [-Wredundant-move] 140 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_array.h:140:25: note: remove 'std::move' call src/mongo/db/matcher/expression_array.h: In member function 'virtual std::unique_ptr mongo::SizeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_array.h:177:25: warning: redundant move in return statement [-Wredundant-move] 177 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_array.h:177:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/schema/json_schema_parser.cpp:46: src/mongo/db/matcher/schema/expression_internal_schema_fmod.h: In member function 'virtual std::unique_ptr mongo::InternalSchemaFmodMatchExpression::shallowClone() const': src/mongo/db/matcher/schema/expression_internal_schema_fmod.h:49:25: warning: redundant move in return statement [-Wredundant-move] 49 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/schema/expression_internal_schema_fmod.h:49:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/schema/json_schema_parser.cpp:48: src/mongo/db/matcher/schema/expression_internal_schema_max_items.h: In member function 'virtual std::unique_ptr mongo::InternalSchemaMaxItemsMatchExpression::shallowClone() const': src/mongo/db/matcher/schema/expression_internal_schema_max_items.h:56:25: warning: redundant move in return statement [-Wredundant-move] 56 | return std::move(maxItems); | ~~~~~~~~~^~~~~~~~~~ src/mongo/db/matcher/schema/expression_internal_schema_max_items.h:56:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/schema/json_schema_parser.cpp:49: src/mongo/db/matcher/schema/expression_internal_schema_max_length.h: In member function 'virtual std::unique_ptr mongo::InternalSchemaMaxLengthMatchExpression::shallowClone() const': src/mongo/db/matcher/schema/expression_internal_schema_max_length.h:56:25: warning: redundant move in return statement [-Wredundant-move] 56 | return std::move(maxLen); | ~~~~~~~~~^~~~~~~~ src/mongo/db/matcher/schema/expression_internal_schema_max_length.h:56:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/schema/json_schema_parser.cpp:50: src/mongo/db/matcher/schema/expression_internal_schema_max_properties.h: In member function 'virtual std::unique_ptr mongo::InternalSchemaMaxPropertiesMatchExpression::shallowClone() const': src/mongo/db/matcher/schema/expression_internal_schema_max_properties.h:66:25: warning: redundant move in return statement [-Wredundant-move] 66 | return std::move(maxProperties); | ~~~~~~~~~^~~~~~~~~~~~~~~ src/mongo/db/matcher/schema/expression_internal_schema_max_properties.h:66:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/schema/json_schema_parser.cpp:51: src/mongo/db/matcher/schema/expression_internal_schema_min_items.h: In member function 'virtual std::unique_ptr mongo::InternalSchemaMinItemsMatchExpression::shallowClone() const': src/mongo/db/matcher/schema/expression_internal_schema_min_items.h:56:25: warning: redundant move in return statement [-Wredundant-move] 56 | return std::move(minItems); | ~~~~~~~~~^~~~~~~~~~ src/mongo/db/matcher/schema/expression_internal_schema_min_items.h:56:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/schema/json_schema_parser.cpp:52: src/mongo/db/matcher/schema/expression_internal_schema_min_length.h: In member function 'virtual std::unique_ptr mongo::InternalSchemaMinLengthMatchExpression::shallowClone() const': src/mongo/db/matcher/schema/expression_internal_schema_min_length.h:56:25: warning: redundant move in return statement [-Wredundant-move] 56 | return std::move(minLen); | ~~~~~~~~~^~~~~~~~ src/mongo/db/matcher/schema/expression_internal_schema_min_length.h:56:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/schema/json_schema_parser.cpp:53: src/mongo/db/matcher/schema/expression_internal_schema_min_properties.h: In member function 'virtual std::unique_ptr mongo::InternalSchemaMinPropertiesMatchExpression::shallowClone() const': src/mongo/db/matcher/schema/expression_internal_schema_min_properties.h:66:25: warning: redundant move in return statement [-Wredundant-move] 66 | return std::move(minProperties); | ~~~~~~~~~^~~~~~~~~~~~~~~ src/mongo/db/matcher/schema/expression_internal_schema_min_properties.h:66:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/schema/json_schema_parser.cpp:57: src/mongo/db/matcher/schema/expression_internal_schema_xor.h: In member function 'virtual std::unique_ptr mongo::InternalSchemaXorMatchExpression::shallowClone() const': src/mongo/db/matcher/schema/expression_internal_schema_xor.h:57:25: warning: redundant move in return statement [-Wredundant-move] 57 | return std::move(xorCopy); | ~~~~~~~~~^~~~~~~~~ src/mongo/db/matcher/schema/expression_internal_schema_xor.h:57:25: note: remove 'std::move' call src/mongo/db/matcher/schema/json_schema_parser.cpp: In function 'std::unique_ptr mongo::{anonymous}::makeRestriction(const mongo::MatcherTypeSet&, mongo::StringData, std::unique_ptr, mongo::InternalSchemaTypeExpression*)': src/mongo/db/matcher/schema/json_schema_parser.cpp:171:21: warning: redundant move in return statement [-Wredundant-move] 171 | return std::move(orExpr); | ~~~~~~~~~^~~~~~~~ src/mongo/db/matcher/schema/json_schema_parser.cpp:171:21: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::BSONElement, mongo::StringMapTraits>': src/mongo/db/matcher/schema/json_schema_parser.cpp:996:35: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::BSONElement; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::BSONElement; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::BSONElement; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::BSONElement; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::BSONType, mongo::StringMapTraits>': src/mongo/db/matcher/schema/json_schema_parser.cpp:1431:98: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::BSONType; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::BSONType; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::BSONType; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::BSONType; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/schema/expression_internal_schema_cond.h:32, from src/mongo/db/matcher/schema/json_schema_parser.cpp:44: src/mongo/db/matcher/expression_arity.h: In instantiation of 'std::unique_ptr mongo::FixedArityMatchExpression::shallowClone() const [with T = mongo::InternalSchemaCondMatchExpression; long unsigned int nargs = 3]': src/mongo/db/matcher/expression_arity.h:116:38: required from here src/mongo/db/matcher/expression_arity.h:131:31: warning: redundant move in return statement [-Wredundant-move] 131 | return std::move(clone); | ^ src/mongo/db/matcher/expression_arity.h:131:31: note: remove 'std::move' call g++ -o build/fedora/mongo/db/matcher/expression_leaf.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/matcher/expression_leaf.cpp 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/matcher/expression_leaf.h:34, from src/mongo/db/matcher/expression_leaf.cpp:31: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/bson/bsonelement_comparator_interface.h:32, from src/mongo/bson/bsonelement_comparator.h:32, from src/mongo/db/matcher/expression_leaf.h:31: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/matcher/expression_leaf.cpp:42: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/db/matcher/expression_leaf.cpp: In member function 'virtual std::unique_ptr mongo::InMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.cpp:383:21: warning: redundant move in return statement [-Wredundant-move] 383 | return std::move(next); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_leaf.cpp:383:21: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.cpp: In lambda function: src/mongo/db/matcher/expression_leaf.cpp:547:29: warning: redundant move in return statement [-Wredundant-move] 547 | return std::move(simplifiedExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.cpp:547:29: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.cpp:557:29: warning: redundant move in return statement [-Wredundant-move] 557 | return std::move(simplifiedExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.cpp:557:29: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call g++ -o build/fedora/mongo/db/matcher/expression_type.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/matcher/expression_type.cpp g++ -o build/fedora/mongo/db/matcher/expression.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/matcher/expression.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/matcher/expression_leaf.h:34, from src/mongo/db/matcher/expression_type.h:31, from src/mongo/db/matcher/expression_type.cpp:31: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/matcher/expression.cpp:31: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/bson/bsonelement_comparator_interface.h:32, from src/mongo/bson/bsonelement_comparator.h:32, from src/mongo/db/matcher/expression_leaf.h:31: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/bson/bsonobj.h:44, from src/mongo/db/matcher/expression.h:36: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call g++ -o build/fedora/mongo/db/matcher/schema/expression_internal_schema_match_array_index.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/matcher/schema/expression_internal_schema_match_array_index.cpp 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call g++ -o build/fedora/mongo/db/matcher/expression_with_placeholder.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/matcher/expression_with_placeholder.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/matcher/expression_path.h:31, from src/mongo/db/matcher/expression_array.h:38, from src/mongo/db/matcher/schema/expression_internal_schema_match_array_index.h:31, from src/mongo/db/matcher/schema/expression_internal_schema_match_array_index.cpp:31: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/bson/bsonmisc.h:32, from src/mongo/db/matcher/expression_array.h:36: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/db/matcher/expression_array.h: In member function 'virtual std::unique_ptr mongo::ElemMatchObjectMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_array.h:85:25: warning: redundant move in return statement [-Wredundant-move] 85 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_array.h:85:25: note: remove 'std::move' call src/mongo/db/matcher/expression_array.h: In member function 'virtual std::unique_ptr mongo::ElemMatchValueMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_array.h:140:25: warning: redundant move in return statement [-Wredundant-move] 140 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_array.h:140:25: note: remove 'std::move' call src/mongo/db/matcher/expression_array.h: In member function 'virtual std::unique_ptr mongo::SizeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_array.h:177:25: warning: redundant move in return statement [-Wredundant-move] 177 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_array.h:177:25: note: remove 'std::move' call In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/matcher/expression_with_placeholder.h:35, from src/mongo/db/matcher/expression_with_placeholder.cpp:31: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/bson/bsonobj.h:44, from src/mongo/db/matcher/expression.h:36: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/db/matcher/schema/expression_internal_schema_match_array_index.cpp: In member function 'virtual std::unique_ptr mongo::InternalSchemaMatchArrayIndexMatchExpression::shallowClone() const': src/mongo/db/matcher/schema/expression_internal_schema_match_array_index.cpp:93:21: warning: redundant move in return statement [-Wredundant-move] 93 | return std::move(clone); | ~~~~~~~~~^~~~~~~ src/mongo/db/matcher/schema/expression_internal_schema_match_array_index.cpp:93:21: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:36, from src/mongo/db/matcher/expression_with_placeholder.cpp:33: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37: 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: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::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::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::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 g++ -o build/fedora/mongo/db/matcher/expression_where_base.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/matcher/expression_where_base.cpp In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/matcher/expression_where_base.h:31, from src/mongo/db/matcher/expression_where_base.cpp:31: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/bson/bsonobj.h:44, from src/mongo/db/matcher/expression.h:36: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/mongo/db/matcher/schema/expression_internal_schema_unique_items.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/matcher/schema/expression_internal_schema_unique_items.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/matcher/expression_path.h:31, from src/mongo/db/matcher/expression_array.h:38, from src/mongo/db/matcher/schema/expression_internal_schema_unique_items.h:34, from src/mongo/db/matcher/schema/expression_internal_schema_unique_items.cpp:31: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/bson/bsonelement_comparator_interface.h:32, from src/mongo/bson/unordered_fields_bsonelement_comparator.h:32, from src/mongo/db/matcher/schema/expression_internal_schema_unique_items.h:33: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/db/matcher/expression_array.h: In member function 'virtual std::unique_ptr mongo::ElemMatchObjectMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_array.h:85:25: warning: redundant move in return statement [-Wredundant-move] 85 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_array.h:85:25: note: remove 'std::move' call src/mongo/db/matcher/expression_array.h: In member function 'virtual std::unique_ptr mongo::ElemMatchValueMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_array.h:140:25: warning: redundant move in return statement [-Wredundant-move] 140 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_array.h:140:25: note: remove 'std::move' call src/mongo/db/matcher/expression_array.h: In member function 'virtual std::unique_ptr mongo::SizeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_array.h:177:25: warning: redundant move in return statement [-Wredundant-move] 177 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_array.h:177:25: note: remove 'std::move' call src/mongo/db/matcher/schema/expression_internal_schema_unique_items.cpp: In member function 'virtual std::unique_ptr mongo::InternalSchemaUniqueItemsMatchExpression::shallowClone() const': src/mongo/db/matcher/schema/expression_internal_schema_unique_items.cpp:71:21: warning: redundant move in return statement [-Wredundant-move] 71 | return std::move(clone); | ~~~~~~~~~^~~~~~~ src/mongo/db/matcher/schema/expression_internal_schema_unique_items.cpp:71:21: note: remove 'std::move' call g++ -o build/fedora/mongo/db/matcher/schema/expression_internal_schema_object_match.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/matcher/schema/expression_internal_schema_object_match.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/matcher/expression_path.h:31, from src/mongo/db/matcher/schema/expression_internal_schema_object_match.h:31, from src/mongo/db/matcher/schema/expression_internal_schema_object_match.cpp:31: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/bson/bsonobj.h:44, from src/mongo/db/matcher/expression.h:36: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/db/matcher/schema/expression_internal_schema_object_match.cpp: In member function 'virtual std::unique_ptr mongo::InternalSchemaObjectMatchExpression::shallowClone() const': src/mongo/db/matcher/schema/expression_internal_schema_object_match.cpp:81:21: warning: redundant move in return statement [-Wredundant-move] 81 | return std::move(clone); | ~~~~~~~~~^~~~~~~ src/mongo/db/matcher/schema/expression_internal_schema_object_match.cpp:81:21: note: remove 'std::move' call g++ -o build/fedora/mongo/db/matcher/expression_parser.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/matcher/expression_parser.cpp g++ -o build/fedora/mongo/db/matcher/extensions_callback_noop.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/matcher/extensions_callback_noop.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/matcher/expression_parser.h:35, from src/mongo/db/matcher/expression_parser.cpp:33: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/bson/bsonobj.h:44, from src/mongo/db/matcher/expression.h:36: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37: 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: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::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::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::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/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/matcher/extensions_callback.h:31, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/matcher/extensions_callback_noop.cpp:31: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/bson/bsonobj.h:44, from src/mongo/db/matcher/expression.h:36: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ 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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ 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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.cpp:43: src/mongo/db/matcher/expression_array.h: In member function 'virtual std::unique_ptr mongo::ElemMatchObjectMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_array.h:85:25: warning: redundant move in return statement [-Wredundant-move] 85 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_array.h:85:25: note: remove 'std::move' call src/mongo/db/matcher/expression_array.h: In member function 'virtual std::unique_ptr mongo::ElemMatchValueMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_array.h:140:25: warning: redundant move in return statement [-Wredundant-move] 140 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_array.h:140:25: note: remove 'std::move' call src/mongo/db/matcher/expression_array.h: In member function 'virtual std::unique_ptr mongo::SizeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_array.h:177:25: warning: redundant move in return statement [-Wredundant-move] 177 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_array.h:177:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.cpp:55: src/mongo/db/matcher/schema/expression_internal_schema_fmod.h: In member function 'virtual std::unique_ptr mongo::InternalSchemaFmodMatchExpression::shallowClone() const': src/mongo/db/matcher/schema/expression_internal_schema_fmod.h:49:25: warning: redundant move in return statement [-Wredundant-move] 49 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/schema/expression_internal_schema_fmod.h:49:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.cpp:57: src/mongo/db/matcher/schema/expression_internal_schema_max_items.h: In member function 'virtual std::unique_ptr mongo::InternalSchemaMaxItemsMatchExpression::shallowClone() const': src/mongo/db/matcher/schema/expression_internal_schema_max_items.h:56:25: warning: redundant move in return statement [-Wredundant-move] 56 | return std::move(maxItems); | ~~~~~~~~~^~~~~~~~~~ src/mongo/db/matcher/schema/expression_internal_schema_max_items.h:56:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.cpp:58: src/mongo/db/matcher/schema/expression_internal_schema_max_length.h: In member function 'virtual std::unique_ptr mongo::InternalSchemaMaxLengthMatchExpression::shallowClone() const': src/mongo/db/matcher/schema/expression_internal_schema_max_length.h:56:25: warning: redundant move in return statement [-Wredundant-move] 56 | return std::move(maxLen); | ~~~~~~~~~^~~~~~~~ src/mongo/db/matcher/schema/expression_internal_schema_max_length.h:56:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.cpp:59: src/mongo/db/matcher/schema/expression_internal_schema_max_properties.h: In member function 'virtual std::unique_ptr mongo::InternalSchemaMaxPropertiesMatchExpression::shallowClone() const': src/mongo/db/matcher/schema/expression_internal_schema_max_properties.h:66:25: warning: redundant move in return statement [-Wredundant-move] 66 | return std::move(maxProperties); | ~~~~~~~~~^~~~~~~~~~~~~~~ src/mongo/db/matcher/schema/expression_internal_schema_max_properties.h:66:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.cpp:60: src/mongo/db/matcher/schema/expression_internal_schema_min_items.h: In member function 'virtual std::unique_ptr mongo::InternalSchemaMinItemsMatchExpression::shallowClone() const': src/mongo/db/matcher/schema/expression_internal_schema_min_items.h:56:25: warning: redundant move in return statement [-Wredundant-move] 56 | return std::move(minItems); | ~~~~~~~~~^~~~~~~~~~ src/mongo/db/matcher/schema/expression_internal_schema_min_items.h:56:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.cpp:61: src/mongo/db/matcher/schema/expression_internal_schema_min_length.h: In member function 'virtual std::unique_ptr mongo::InternalSchemaMinLengthMatchExpression::shallowClone() const': src/mongo/db/matcher/schema/expression_internal_schema_min_length.h:56:25: warning: redundant move in return statement [-Wredundant-move] 56 | return std::move(minLen); | ~~~~~~~~~^~~~~~~~ src/mongo/db/matcher/schema/expression_internal_schema_min_length.h:56:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.cpp:62: src/mongo/db/matcher/schema/expression_internal_schema_min_properties.h: In member function 'virtual std::unique_ptr mongo::InternalSchemaMinPropertiesMatchExpression::shallowClone() const': src/mongo/db/matcher/schema/expression_internal_schema_min_properties.h:66:25: warning: redundant move in return statement [-Wredundant-move] 66 | return std::move(minProperties); | ~~~~~~~~~^~~~~~~~~~~~~~~ src/mongo/db/matcher/schema/expression_internal_schema_min_properties.h:66:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.cpp:66: src/mongo/db/matcher/schema/expression_internal_schema_xor.h: In member function 'virtual std::unique_ptr mongo::InternalSchemaXorMatchExpression::shallowClone() const': src/mongo/db/matcher/schema/expression_internal_schema_xor.h:57:25: warning: redundant move in return statement [-Wredundant-move] 57 | return std::move(xorCopy); | ~~~~~~~~~^~~~~~~~~ src/mongo/db/matcher/schema/expression_internal_schema_xor.h:57:25: note: remove 'std::move' call src/mongo/db/matcher/expression_parser.cpp: In function 'mongo::StatusWith > > > mongo::{anonymous}::parsePatternProperties(mongo::BSONElement, mongo::StringData, const boost::intrusive_ptr&, const mongo::ExtensionsCallback*, mongo::MatchExpressionParser::AllowedFeatureSet, mongo::DocumentParseLevel)': src/mongo/db/matcher/expression_parser.cpp:954:21: warning: redundant move in return statement [-Wredundant-move] 954 | return std::move(patternProperties); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_parser.cpp:954:21: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::function >(mongo::StringData, mongo::BSONElement, const boost::intrusive_ptr&, const mongo::ExtensionsCallback*, long long unsigned int, mongo::DocumentParseLevel)>, mongo::StringMapTraits>': src/mongo/db/matcher/expression_parser.cpp:1835:9: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::function >(mongo::StringData, mongo::BSONElement, const boost::intrusive_ptr&, const mongo::ExtensionsCallback*, long long unsigned int, mongo::DocumentParseLevel)>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::function >(mongo::StringData, mongo::BSONElement, const boost::intrusive_ptr&, const mongo::ExtensionsCallback*, long long unsigned int, mongo::DocumentParseLevel)>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::function >(mongo::StringData, mongo::BSONElement, const boost::intrusive_ptr&, const mongo::ExtensionsCallback*, long long unsigned int, mongo::DocumentParseLevel)>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::function >(mongo::StringData, mongo::BSONElement, const boost::intrusive_ptr&, const mongo::ExtensionsCallback*, long long unsigned int, mongo::DocumentParseLevel)>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::PathAcceptingKeyword, mongo::StringMapTraits>': src/mongo/db/matcher/expression_parser.cpp:1886:9: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::PathAcceptingKeyword; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::PathAcceptingKeyword; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::PathAcceptingKeyword; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::PathAcceptingKeyword; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/mongo/db/matcher/expression_internal_expr_eq.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/matcher/expression_internal_expr_eq.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/matcher/expression_leaf.h:34, from src/mongo/db/matcher/expression_internal_expr_eq.h:31, from src/mongo/db/matcher/expression_internal_expr_eq.cpp:31: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/bson/bsonelement_comparator_interface.h:32, from src/mongo/bson/bsonelement_comparator.h:32, from src/mongo/db/matcher/expression_leaf.h:31: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/schema/expression_internal_schema_cond.h:32, from src/mongo/db/matcher/expression_parser.cpp:53: src/mongo/db/matcher/expression_arity.h: In instantiation of 'std::unique_ptr mongo::FixedArityMatchExpression::shallowClone() const [with T = mongo::InternalSchemaCondMatchExpression; long unsigned int nargs = 3]': src/mongo/db/matcher/expression_arity.h:116:38: required from here src/mongo/db/matcher/expression_arity.h:131:31: warning: redundant move in return statement [-Wredundant-move] 131 | return std::move(clone); | ^ src/mongo/db/matcher/expression_arity.h:131:31: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: 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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call src/mongo/db/matcher/expression_internal_expr_eq.cpp: In member function 'virtual std::unique_ptr mongo::InternalExprEqMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_internal_expr_eq.cpp:65:21: warning: redundant move in return statement [-Wredundant-move] 65 | return std::move(clone); | ~~~~~~~~~^~~~~~~ src/mongo/db/matcher/expression_internal_expr_eq.cpp:65:21: note: remove 'std::move' call g++ -o build/fedora/mongo/db/matcher/schema/expression_internal_schema_allowed_properties.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/matcher/schema/expression_internal_schema_allowed_properties.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/matcher/schema/expression_internal_schema_allowed_properties.h:36, from src/mongo/db/matcher/schema/expression_internal_schema_allowed_properties.cpp:31: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/bson/bsonobj.h:44, from src/mongo/db/matcher/expression.h:36: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/mongo/rpc/metadata/sharding_metadata.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/rpc/metadata/sharding_metadata.cpp g++ -o build/fedora/mongo/scripting/mozjs/proxyscope.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -Wno-non-virtual-dtor -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -include js-config.h -include js/RequiredDefines.h -Wno-invalid-offsetof -fPIE -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/mozjs-45/include -Isrc/third_party/mozjs-45/mongo_sources -Isrc/third_party/mozjs-45/platform/x86_64/linux/include -Ibuild/fedora -Isrc src/mongo/scripting/mozjs/proxyscope.cpp g++ -o build/fedora/mongo/s/query/cluster_client_cursor_impl.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/s/query/cluster_client_cursor_impl.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/matcher/expression_parser.h:35, from src/mongo/db/pipeline/pipeline.h:36, from src/mongo/s/query/cluster_client_cursor_params.h:41, from src/mongo/s/query/cluster_client_cursor.h:37, from src/mongo/s/query/cluster_client_cursor_impl.h:35, from src/mongo/s/query/cluster_client_cursor_impl.cpp:31: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/executor/remote_command_request.h:34, from src/mongo/executor/task_executor.h:39, from src/mongo/s/query/cluster_client_cursor_impl.h:34: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ ar rcsTD build/fedora/mongo/db/matcher/libexpressions.a build/fedora/mongo/db/matcher/expression.o build/fedora/mongo/db/matcher/expression_algo.o build/fedora/mongo/db/matcher/expression_array.o build/fedora/mongo/db/matcher/expression_expr.o build/fedora/mongo/db/matcher/expression_geo.o build/fedora/mongo/db/matcher/expression_internal_expr_eq.o build/fedora/mongo/db/matcher/expression_leaf.o build/fedora/mongo/db/matcher/expression_parser.o build/fedora/mongo/db/matcher/expression_text_base.o build/fedora/mongo/db/matcher/expression_text_noop.o build/fedora/mongo/db/matcher/expression_tree.o build/fedora/mongo/db/matcher/expression_type.o build/fedora/mongo/db/matcher/expression_where_base.o build/fedora/mongo/db/matcher/expression_where_noop.o build/fedora/mongo/db/matcher/expression_with_placeholder.o build/fedora/mongo/db/matcher/extensions_callback.o build/fedora/mongo/db/matcher/extensions_callback_noop.o build/fedora/mongo/db/matcher/match_details.o build/fedora/mongo/db/matcher/matchable.o build/fedora/mongo/db/matcher/matcher.o build/fedora/mongo/db/matcher/matcher_type_set.o build/fedora/mongo/db/matcher/rewrite_expr.o build/fedora/mongo/db/matcher/schema/expression_internal_schema_all_elem_match_from_index.o build/fedora/mongo/db/matcher/schema/expression_internal_schema_allowed_properties.o build/fedora/mongo/db/matcher/schema/expression_internal_schema_cond.o build/fedora/mongo/db/matcher/schema/expression_internal_schema_eq.o build/fedora/mongo/db/matcher/schema/expression_internal_schema_fmod.o build/fedora/mongo/db/matcher/schema/expression_internal_schema_match_array_index.o build/fedora/mongo/db/matcher/schema/expression_internal_schema_num_array_items.o build/fedora/mongo/db/matcher/schema/expression_internal_schema_num_properties.o build/fedora/mongo/db/matcher/schema/expression_internal_schema_object_match.o build/fedora/mongo/db/matcher/schema/expression_internal_schema_root_doc_eq.o build/fedora/mongo/db/matcher/schema/expression_internal_schema_str_length.o build/fedora/mongo/db/matcher/schema/expression_internal_schema_unique_items.o build/fedora/mongo/db/matcher/schema/expression_internal_schema_xor.o build/fedora/mongo/db/matcher/schema/json_schema_parser.o In file included from src/mongo/db/matcher/expression_parser.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call Skipping ranlib for thin archive build/fedora/mongo/db/matcher/libexpressions.a 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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call g++ -o build/fedora/mongo/util/options_parser/startup_options.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/asio-master/asio/include -Ibuild/fedora -Isrc src/mongo/util/options_parser/startup_options.cpp 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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ gcc -o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_acosh.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -DUSE_COMPILER_F80_TYPE=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -Dlinux=1 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_acosh.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C g++ -o build/fedora/mongo/base/initializer_dependency_graph.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/base/initializer_dependency_graph.cpp In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call g++ -o build/fedora/mongo/db/catalog/index_create_impl.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/catalog/index_create_impl.cpp ar rcsTD build/fedora/mongo/s/query/libcluster_client_cursor.a build/fedora/mongo/s/query/cluster_client_cursor_impl.o Skipping ranlib for thin archive build/fedora/mongo/s/query/libcluster_client_cursor.a g++ -o build/fedora/mongo/db/storage/kv/kv_prefix.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/storage/kv/kv_prefix.cpp In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/bson/bsonobj.h:44, from src/mongo/bson/ordering.h:32, from src/mongo/db/catalog/index_catalog_entry.h:36, from src/mongo/db/catalog/index_catalog.h:36, from src/mongo/db/catalog/index_create.h:38, from src/mongo/db/catalog/index_create_impl.h:31, from src/mongo/db/catalog/index_create_impl.cpp:33: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/plan_cache.h:35, from src/mongo/db/catalog/collection_info_cache.h:33, from src/mongo/db/catalog/collection.h:41, from src/mongo/db/catalog/index_create_impl.cpp:40: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ gcc -o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_ops_64.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -DUSE_COMPILER_F80_TYPE=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -Dlinux=1 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_ops_64.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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 g++ -o build/fedora/third_party/icu4c-57.1/source/i18n/region.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/region.cpp g++ -o build/fedora/third_party/s2/s2.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -DDEBUG_MODE=false -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/third_party/s2/s2.cc src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, unsigned int, mongo::StringMapTraits>': src/mongo/db/op_observer.h:310:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/third_party/s2/s2cap.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -DDEBUG_MODE=false -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/third_party/s2/s2cap.cc ar rcsTD build/fedora/mongo/db/repl/librollback_source_impl.a build/fedora/mongo/db/repl/rollback_source_impl.o Skipping ranlib for thin archive build/fedora/mongo/db/repl/librollback_source_impl.a g++ -o build/fedora/mongo/db/startup_warnings_common.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/startup_warnings_common.cpp In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call g++ -o build/fedora/mongo/db/s/config/sharding_catalog_manager.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/s/config/sharding_catalog_manager.cpp In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/bson/bsonobj.h:44, from src/mongo/db/concurrency/lock_manager.h:36, from src/mongo/db/concurrency/locker.h:34, from src/mongo/db/concurrency/d_concurrency.h:33, from src/mongo/db/s/config/sharding_catalog_manager.h:33, from src/mongo/db/s/config/sharding_catalog_manager.cpp:33: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/db/s/config/namespace_serializer.h:73:40: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/mongo/db/s/config/sharding_catalog_manager_chunk_operations.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/s/config/sharding_catalog_manager_chunk_operations.cpp In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/bson/bsonobj.h:44, from src/mongo/db/concurrency/lock_manager.h:36, from src/mongo/db/concurrency/locker.h:34, from src/mongo/db/concurrency/d_concurrency.h:33, from src/mongo/db/s/config/sharding_catalog_manager.h:33, from src/mongo/db/s/config/sharding_catalog_manager_chunk_operations.cpp:33: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/db/s/config/namespace_serializer.h:73:40: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/plan_cache.h:35, from src/mongo/db/catalog/collection_info_cache.h:33, from src/mongo/db/catalog/collection.h:41, from src/mongo/db/catalog_raii.h:32, from src/mongo/db/s/config/sharding_catalog_manager_chunk_operations.cpp:40: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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 g++ -o build/fedora/mongo/db/s/config/sharding_catalog_manager_collection_operations.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/s/config/sharding_catalog_manager_collection_operations.cpp src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, unsigned int, mongo::StringMapTraits>': src/mongo/db/op_observer.h:310:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long unsigned int, mongo::StringMapTraits>': src/mongo/db/views/view_graph.h:177:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/db/views/view_catalog.h:174:13: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Collection*, mongo::StringMapTraits>': src/mongo/db/catalog/database.h:165:38: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/bson/bsonobj.h:44, from src/mongo/db/concurrency/lock_manager.h:36, from src/mongo/db/concurrency/locker.h:34, from src/mongo/db/concurrency/d_concurrency.h:33, from src/mongo/db/s/config/sharding_catalog_manager.h:33, from src/mongo/db/s/config/sharding_catalog_manager_collection_operations.cpp:33: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/db/s/config/namespace_serializer.h:73:40: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/db/s/config/sharding_catalog_manager_collection_operations.cpp:46: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call g++ -o build/fedora/mongo/db/s/config/initial_split_policy.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/s/config/initial_split_policy.cpp g++ -o build/fedora/mongo/db/s/config/sharding_catalog_manager_shard_operations.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/s/config/sharding_catalog_manager_shard_operations.cpp In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/bson/bsonobj.h:44, from src/mongo/db/s/config/initial_split_policy.h:33, from src/mongo/db/s/config/initial_split_policy.cpp:33: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::vector, mongo::StringMapTraits>': src/mongo/db/s/config/initial_split_policy.cpp:71:83: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::vector; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::vector; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::vector; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::vector; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/bson/bsonobj.h:44, from src/mongo/db/concurrency/lock_manager.h:36, from src/mongo/db/concurrency/locker.h:34, from src/mongo/db/concurrency/d_concurrency.h:33, from src/mongo/db/s/config/sharding_catalog_manager.h:33, from src/mongo/db/s/config/sharding_catalog_manager_shard_operations.cpp:33: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/db/s/config/namespace_serializer.h:73:40: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/plan_cache.h:35, from src/mongo/db/catalog/collection_info_cache.h:33, from src/mongo/db/catalog/collection.h:41, from src/mongo/db/catalog_raii.h:32, from src/mongo/db/s/config/sharding_catalog_manager_shard_operations.cpp:46: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, unsigned int, mongo::StringMapTraits>': src/mongo/db/op_observer.h:310:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long unsigned int, mongo::StringMapTraits>': src/mongo/db/views/view_graph.h:177:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/db/views/view_catalog.h:174:13: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Collection*, mongo::StringMapTraits>': src/mongo/db/catalog/database.h:165:38: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::repl::ReplSetTagPattern, mongo::StringMapTraits>': src/mongo/db/repl/repl_set_config.h:402:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::repl::ReplSetTagPattern; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::repl::ReplSetTagPattern; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::repl::ReplSetTagPattern; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::repl::ReplSetTagPattern; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/mongo/db/s/config/sharding_catalog_manager_zone_operations.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/s/config/sharding_catalog_manager_zone_operations.cpp In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/bson/bsonobj.h:44, from src/mongo/db/concurrency/lock_manager.h:36, from src/mongo/db/concurrency/locker.h:34, from src/mongo/db/concurrency/d_concurrency.h:33, from src/mongo/db/s/config/sharding_catalog_manager.h:33, from src/mongo/db/s/config/sharding_catalog_manager_zone_operations.cpp:33: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/db/s/config/namespace_serializer.h:73:40: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/mongo/db/s/config/sharding_catalog_manager_database_operations.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/s/config/sharding_catalog_manager_database_operations.cpp g++ -o build/fedora/mongo/db/query/planner_access.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/query/planner_access.cpp In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/bson/bsonobj.h:44, from src/mongo/db/concurrency/lock_manager.h:36, from src/mongo/db/concurrency/locker.h:34, from src/mongo/db/concurrency/d_concurrency.h:33, from src/mongo/db/s/config/sharding_catalog_manager.h:33, from src/mongo/db/s/config/sharding_catalog_manager_database_operations.cpp:31: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/db/s/config/namespace_serializer.h:73:40: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/plan_cache.h:35, from src/mongo/db/catalog/collection_info_cache.h:33, from src/mongo/db/catalog/collection.h:41, from src/mongo/db/repl/storage_interface.h:40, from src/mongo/db/commands/feature_compatibility_version.h:34, from src/mongo/db/s/config/sharding_catalog_manager_database_operations.cpp:36: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/planner_access.h:31, from src/mongo/db/query/planner_access.cpp:33: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/bson_validate.h:35, from src/mongo/db/dbmessage.h:34, from src/mongo/db/query/canonical_query.h:33: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, unsigned int, mongo::StringMapTraits>': src/mongo/db/op_observer.h:310:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/s/catalog_cache.h:377:21: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/s/catalog_cache.h:379:24: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/s/catalog_cache.h:379:24: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/s/catalog_cache.h:379:24: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/query/planner_access.cpp:42: src/mongo/db/matcher/expression_array.h: In member function 'virtual std::unique_ptr mongo::ElemMatchObjectMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_array.h:85:25: warning: redundant move in return statement [-Wredundant-move] 85 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_array.h:85:25: note: remove 'std::move' call src/mongo/db/matcher/expression_array.h: In member function 'virtual std::unique_ptr mongo::ElemMatchValueMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_array.h:140:25: warning: redundant move in return statement [-Wredundant-move] 140 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_array.h:140:25: note: remove 'std::move' call src/mongo/db/matcher/expression_array.h: In member function 'virtual std::unique_ptr mongo::SizeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_array.h:177:25: warning: redundant move in return statement [-Wredundant-move] 177 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_array.h:177:25: note: remove 'std::move' call src/mongo/db/query/planner_access.cpp: In static member function 'static std::unique_ptr mongo::QueryPlannerAccess::makeCollectionScan(const mongo::CanonicalQuery&, bool, const mongo::QueryPlannerParams&)': src/mongo/db/query/planner_access.cpp:178:21: warning: redundant move in return statement [-Wredundant-move] 178 | return std::move(csn); | ~~~~~~~~~^~~~~ src/mongo/db/query/planner_access.cpp:178:21: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call ar rcsTD build/fedora/mongo/db/s/libsharding_catalog_manager.a build/fedora/mongo/db/s/config/initial_split_policy.o build/fedora/mongo/db/s/config/namespace_serializer.o build/fedora/mongo/db/s/config/sharding_catalog_manager_chunk_operations.o build/fedora/mongo/db/s/config/sharding_catalog_manager_collection_operations.o build/fedora/mongo/db/s/config/sharding_catalog_manager_database_operations.o build/fedora/mongo/db/s/config/sharding_catalog_manager_shard_operations.o build/fedora/mongo/db/s/config/sharding_catalog_manager_zone_operations.o build/fedora/mongo/db/s/config/sharding_catalog_manager.o Skipping ranlib for thin archive build/fedora/mongo/db/s/libsharding_catalog_manager.a g++ -o build/fedora/third_party/icu4c-57.1/source/i18n/ztrans.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/ztrans.cpp g++ -o build/fedora/mongo/db/repl/dbcheck_gen.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc build/fedora/mongo/db/repl/dbcheck_gen.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from build/fedora/mongo/db/repl/dbcheck_gen.cpp:16: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from build/fedora/mongo/db/repl/dbcheck_gen.h:16, from build/fedora/mongo/db/repl/dbcheck_gen.cpp:9: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/third_party/shim_asio.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/asio-master/asio/include src/third_party/shim_asio.cpp src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ ar rcsTD build/fedora/third_party/libshim_asio.a build/fedora/third_party/shim_asio.o Skipping ranlib for thin archive build/fedora/third_party/libshim_asio.a g++ -o build/fedora/third_party/icu4c-57.1/source/common/resbund_cnv.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/resbund_cnv.cpp In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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 g++ -o build/fedora/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src3.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -Wno-non-virtual-dtor -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -include js-confdefs.h -Wno-invalid-offsetof -fPIE -DIMPL_MFBT -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=1 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora/third_party/mozjs-45/extract/js/src -Isrc/third_party/mozjs-45/extract/js/src -Ibuild/fedora/third_party/mozjs-45/extract/mfbt -Isrc/third_party/mozjs-45/extract/mfbt -Ibuild/fedora/third_party/mozjs-45/extract/intl/icu/source/common -Isrc/third_party/mozjs-45/extract/intl/icu/source/common -Ibuild/fedora/third_party/mozjs-45/include -Isrc/third_party/mozjs-45/include -Ibuild/fedora/third_party/mozjs-45/mongo_sources -Isrc/third_party/mozjs-45/mongo_sources -Ibuild/fedora/third_party/mozjs-45/platform/x86_64/linux/build -Isrc/third_party/mozjs-45/platform/x86_64/linux/build -Ibuild/fedora/third_party/mozjs-45/platform/x86_64/linux/include -Isrc/third_party/mozjs-45/platform/x86_64/linux/include src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src3.cpp src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/third_party/mozjs-45/extract/js/src/builtin/SymbolObject.h:10, from src/third_party/mozjs-45/extract/js/src/builtin/SymbolObject.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src3.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1040:19: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 1040 | memcpy(&elements_[dstStart], src, count * sizeof(HeapSlot)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsobj.h:21, from src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:16: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here 650 | class HeapSlot : public WriteBarrieredBase | ^~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1048:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 1048 | memcpy(&elements_[dstStart], src, count * sizeof(HeapSlot)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here 650 | class HeapSlot : public WriteBarrieredBase | ^~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1082:20: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 1082 | memmove(elements_ + dstStart, elements_ + srcStart, count * sizeof(HeapSlot)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here 650 | class HeapSlot : public WriteBarrieredBase | ^~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1094:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 1094 | memmove(elements_ + dstStart, elements_ + srcStart, count * sizeof(Value)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here 650 | class HeapSlot : public WriteBarrieredBase | ^~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/third_party/mozjs-45/extract/js/src/builtin/SymbolObject.cpp:12: src/third_party/mozjs-45/extract/js/src/jsobjinlines.h: In static member function 'static JSObject* JSObject::create(js::ExclusiveContext*, js::gc::AllocKind, js::gc::InitialHeap, js::HandleShape, js::HandleObjectGroup)': src/third_party/mozjs-45/extract/js/src/jsobjinlines.h:355:15: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::HeapSlot'; use assignment instead [-Wclass-memaccess] 355 | memset(obj->as().fixedSlots(), 0, size - sizeof(js::NativeObject)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here 650 | class HeapSlot : public WriteBarrieredBase | ^~~~~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/extract/js/src/jsapi.h:25, from src/third_party/mozjs-45/extract/js/src/jsfriendapi.h:15, from src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:15: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': src/third_party/mozjs-45/include/js/MemoryMetrics.h:40:34: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/gc/StoreBuffer.h:18, from src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:13: src/third_party/mozjs-45/include/js/MemoryMetrics.h:31:8: note: 'struct JS::TabSizes' declared here 31 | struct TabSizes | ^~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::ServoSizes]': src/third_party/mozjs-45/include/js/MemoryMetrics.h:71:36: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::ServoSizes'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/MemoryMetrics.h:59:8: note: 'struct JS::ServoSizes' declared here 59 | struct ServoSizes | ^~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::PreliminaryObjectArray]': src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:808:25: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::PreliminaryObjectArray'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/ObjectGroup.h:16, from src/third_party/mozjs-45/extract/js/src/vm/Shape.h:31, from src/third_party/mozjs-45/extract/js/src/jsobj.h:27: src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:796:7: note: 'class js::PreliminaryObjectArray' declared here 796 | class PreliminaryObjectArray | ^~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::TypeNewScript]': src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:939:39: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::TypeNewScript' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:886:7: note: 'class js::TypeNewScript' declared here 886 | class TypeNewScript | ^~~~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JSSubString]': src/third_party/mozjs-45/extract/js/src/jsstr.h:73:37: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JSSubString'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/String.h:16, from src/third_party/mozjs-45/extract/js/src/vm/Shape.h:32: src/third_party/mozjs-45/extract/js/src/jsstr.h:68:8: note: 'struct JSSubString' declared here 68 | struct JSSubString { | ^~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': src/third_party/mozjs-45/extract/js/src/vm/String.h:1092:25: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/String.h:1074:7: note: 'class js::StaticStrings' declared here 1074 | class StaticStrings | ^~~~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': src/third_party/mozjs-45/extract/js/src/vm/Shape.h:392:25: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/Shape.h:323:7: note: 'class js::BaseShape' declared here 323 | class BaseShape : public gc::TenuredCell | ^~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:699:25: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:24, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/vm/StringBuffer.h:13, from src/third_party/mozjs-45/extract/js/src/builtin/SymbolObject.cpp:9: src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:686:8: note: 'struct js::jit::IonScriptCounts' declared here 686 | struct IonScriptCounts | ^~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:293:40: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:244:7: note: 'class js::NewObjectCache' declared here 244 | class NewObjectCache | ^~~~~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::Address]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:290:33: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::Address'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/Safepoints.h:12, from src/third_party/mozjs-45/extract/js/src/jit/JitFrames.h:16, from src/third_party/mozjs-45/extract/js/src/jscntxtinlines.h:16, from src/third_party/mozjs-45/extract/js/src/jscompartmentinlines.h:14, from src/third_party/mozjs-45/extract/js/src/jsobjinlines.h:29: src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:282:8: note: 'struct js::jit::Address' declared here 282 | struct Address | ^~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::BaseIndex]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:306:35: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::BaseIndex'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:295:8: note: 'struct js::jit::BaseIndex' declared here 295 | struct BaseIndex | ^~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::CodeOffsetJump]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:513:25: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::jit::CodeOffsetJump'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:491:7: note: 'class js::jit::CodeOffsetJump' declared here 491 | class CodeOffsetJump | ^~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsapi.h:29: src/third_party/mozjs-45/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': src/third_party/mozjs-45/include/js/HashTable.h:186:67: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' src/third_party/mozjs-45/extract/js/src/vm/SPSProfiler.h:256:18: required from here src/third_party/mozjs-45/include/js/HashTable.h:1550:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] 1550 | memset(table, 0, sizeof(*table) * capacity()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/HashTable.h:722:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here 722 | class HashTableEntry | ^~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry, js::RelocatablePtr >; HashPolicy = js::HashMap, js::RelocatablePtr, js::MovableCellHasher >, js::RuntimeAllocPolicy>::MapHashPolicy; AllocPolicy = js::RuntimeAllocPolicy]': src/third_party/mozjs-45/include/js/HashTable.h:186:67: required from 'void js::HashMap::clear() [with Key = js::RelocatablePtr; Value = js::RelocatablePtr; HashPolicy = js::MovableCellHasher >; AllocPolicy = js::RuntimeAllocPolicy]' src/third_party/mozjs-45/extract/js/src/builtin/WeakMapObject.cpp:62:19: required from here src/third_party/mozjs-45/include/js/HashTable.h:1550:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::RelocatablePtr >, js::HashMap, js::RelocatablePtr, js::MovableCellHasher >, js::RuntimeAllocPolicy>::MapHashPolicy, js::RuntimeAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry, js::RelocatablePtr > >'} with no trivial copy-assignment [-Wclass-memaccess] 1550 | memset(table, 0, sizeof(*table) * capacity()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/HashTable.h:722:7: note: 'js::detail::HashTable, js::RelocatablePtr >, js::HashMap, js::RelocatablePtr, js::MovableCellHasher >, js::RuntimeAllocPolicy>::MapHashPolicy, js::RuntimeAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry, js::RelocatablePtr > >'} declared here 722 | class HashTableEntry | ^~~~~~~~~~~~~~ In file included from /usr/include/string.h:535, from /usr/include/c++/12/cstring:42, from src/mongo/base/data_range.h:30: In function 'memcpy', inlined from 'mongo::StringData::copyTo(char*, bool) const' at src/mongo/base/string_data.h:266:15, inlined from 'mongo::StringBuilderImpl::append(mongo::StringData)' at src/mongo/bson/util/builder.h:484:19, inlined from 'mongo::StringBuilderImpl::appendIntegral(int, int)mongo::StringBuilderImpl&' at src/mongo/bson/util/builder.h:518:19, inlined from 'mongo::StringBuilderImpl::appendIntegral(int, int)mongo::StringBuilderImpl&' at src/mongo/bson/util/builder.h:512:24, inlined from 'mongo::StringBuilderImpl::operator<<(int)' at src/mongo/bson/util/builder.h:402:30, inlined from 'mongo::BSONObjBuilder::numStr[abi:cxx11](int)' at src/mongo/bson/bsonobjbuilder.h:719:14, inlined from 'mongo::BSONObjBuilder::append(mongo::StringData, std::vector > const&)mongo::BSONObjBuilder&' at src/mongo/bson/bsonobjbuilder.h:958:26, inlined from 'mongo::DbCheckOplogCollection::serialize(mongo::BSONObjBuilder*) const' at build/fedora/mongo/db/repl/dbcheck_gen.cpp:625:24: /usr/include/bits/string_fortified.h:29:33: warning: 'memcpy' offset [0, 511] is out of the bounds [0, 0] [-Warray-bounds] 29 | return __builtin___memcpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 30 | __glibc_objsize0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -o build/fedora/mongo/db/s/get_shard_version_command.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/s/get_shard_version_command.cpp In file included from src/third_party/mozjs-45/include/js/CallArgs.h:38, from src/third_party/mozjs-45/extract/js/src/jsapi.h:27: In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSString*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::SymbolObject::for_(JSContext*, unsigned int, JS::Value*)' at src/third_party/mozjs-45/extract/js/src/builtin/SymbolObject.cpp:127:57: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'stringKey' in 'MEM[(struct Rooted * *)cx_44(D) + 56B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/SymbolObject.cpp: In function 'js::SymbolObject::for_(JSContext*, unsigned int, JS::Value*)': src/third_party/mozjs-45/extract/js/src/builtin/SymbolObject.cpp:127:18: note: 'stringKey' declared here 127 | RootedString stringKey(cx, ToString(cx, args.get(0))); | ^~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/SymbolObject.cpp:127:18: note: 'cx_44(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSScript*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'ByteSizeOfScript(JSContext*, unsigned int, JS::Value*)' at src/third_party/mozjs-45/extract/js/src/builtin/TestingFunctions.cpp:2673:55: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'script' in 'MEM[(struct Rooted * *)cx_67(D) + 80B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src3.cpp:11: src/third_party/mozjs-45/extract/js/src/builtin/TestingFunctions.cpp: In function 'ByteSizeOfScript(JSContext*, unsigned int, JS::Value*)': src/third_party/mozjs-45/extract/js/src/builtin/TestingFunctions.cpp:2673:18: note: 'script' declared here 2673 | RootedScript script(cx, fun->getOrCreateScript(cx)); | ^~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/TestingFunctions.cpp:2673:18: note: 'cx_67(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'GetBuildConfiguration(JSContext*, unsigned int, JS::Value*)' at src/third_party/mozjs-45/extract/js/src/builtin/TestingFunctions.cpp:79:48: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'info' in 'MEM[(struct Rooted * *)cx_299(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/TestingFunctions.cpp: In function 'GetBuildConfiguration(JSContext*, unsigned int, JS::Value*)': src/third_party/mozjs-45/extract/js/src/builtin/TestingFunctions.cpp:79:18: note: 'info' declared here 79 | RootedObject info(cx, JS_NewPlainObject(cx)); | ^~~~ src/third_party/mozjs-45/extract/js/src/builtin/TestingFunctions.cpp:79:18: note: 'cx_299(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSString*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'Neuter(JSContext*, unsigned int, JS::Value*)' at src/third_party/mozjs-45/extract/js/src/builtin/TestingFunctions.cpp:2024:51: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'str' in 'MEM[(struct Rooted * *)cx_88(D) + 56B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/TestingFunctions.cpp: In function 'Neuter(JSContext*, unsigned int, JS::Value*)': src/third_party/mozjs-45/extract/js/src/builtin/TestingFunctions.cpp:2024:18: note: 'str' declared here 2024 | RootedString str(cx, JS::ToString(cx, args[1])); | ^~~ src/third_party/mozjs-45/extract/js/src/builtin/TestingFunctions.cpp:2024:18: note: 'cx_88(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'GetJitCompilerOptions(JSContext*, unsigned int, JS::Value*)' at src/third_party/mozjs-45/extract/js/src/builtin/TestingFunctions.cpp:1762:48: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'info' in 'MEM[(struct Rooted * *)cx_184(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/TestingFunctions.cpp: In function 'GetJitCompilerOptions(JSContext*, unsigned int, JS::Value*)': src/third_party/mozjs-45/extract/js/src/builtin/TestingFunctions.cpp:1762:18: note: 'info' declared here 1762 | RootedObject info(cx, JS_NewPlainObject(cx)); | ^~~~ src/third_party/mozjs-45/extract/js/src/builtin/TestingFunctions.cpp:1762:18: note: 'cx_184(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted >(JSContext* const&, JS::Handle&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'HasChild(JSContext*, unsigned int, JS::Value*)' at src/third_party/mozjs-45/extract/js/src/builtin/TestingFunctions.cpp:874:38: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'child' in 'MEM[(struct Rooted * *)cx_81(D) + 104B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/TestingFunctions.cpp: In function 'HasChild(JSContext*, unsigned int, JS::Value*)': src/third_party/mozjs-45/extract/js/src/builtin/TestingFunctions.cpp:874:17: note: 'child' declared here 874 | RootedValue child(cx, args.get(1)); | ^~~~~ src/third_party/mozjs-45/extract/js/src/builtin/TestingFunctions.cpp:874:17: note: 'cx_81(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'MakeFakePromise(JSContext*, unsigned int, JS::Value*)' at src/third_party/mozjs-45/extract/js/src/builtin/TestingFunctions.cpp:1204:81: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'obj' in 'MEM[(struct Rooted * *)cx_34(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/TestingFunctions.cpp: In function 'MakeFakePromise(JSContext*, unsigned int, JS::Value*)': src/third_party/mozjs-45/extract/js/src/builtin/TestingFunctions.cpp:1204:18: note: 'obj' declared here 1204 | RootedObject obj(cx, NewObjectWithGivenProto(cx, &FakePromiseClass, nullptr)); | ^~~ src/third_party/mozjs-45/extract/js/src/builtin/TestingFunctions.cpp:1204:18: note: 'cx_34(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'SetGCCallback(JSContext*, unsigned int, JS::Value*)' at src/third_party/mozjs-45/extract/js/src/builtin/TestingFunctions.cpp:2872:48: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'opts' in 'MEM[(struct Rooted * *)cx_181(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/TestingFunctions.cpp: In function 'SetGCCallback(JSContext*, unsigned int, JS::Value*)': src/third_party/mozjs-45/extract/js/src/builtin/TestingFunctions.cpp:2872:18: note: 'opts' declared here 2872 | RootedObject opts(cx, ToObject(cx, args[0])); | ^~~~ src/third_party/mozjs-45/extract/js/src/builtin/TestingFunctions.cpp:2872:18: note: 'cx_181(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'GetBacktrace(JSContext*, unsigned int, JS::Value*)' at src/third_party/mozjs-45/extract/js/src/builtin/TestingFunctions.cpp:2212:51: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'cfg' in 'MEM[(struct Rooted * *)cx_193(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/TestingFunctions.cpp: In function 'GetBacktrace(JSContext*, unsigned int, JS::Value*)': src/third_party/mozjs-45/extract/js/src/builtin/TestingFunctions.cpp:2212:22: note: 'cfg' declared here 2212 | RootedObject cfg(cx, ToObject(cx, args[0])); | ^~~ src/third_party/mozjs-45/extract/js/src/builtin/TestingFunctions.cpp:2212:22: note: 'cx_193(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::ArrayObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'ReadSPSProfilingStack(JSContext*, unsigned int, JS::Value*)' at src/third_party/mozjs-45/extract/js/src/builtin/TestingFunctions.cpp:1415:50: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'stack' in 'MEM[(struct Rooted * *)cx_218(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/TestingFunctions.cpp: In function 'ReadSPSProfilingStack(JSContext*, unsigned int, JS::Value*)': src/third_party/mozjs-45/extract/js/src/builtin/TestingFunctions.cpp:1415:18: note: 'stack' declared here 1415 | RootedObject stack(cx, NewDenseEmptyArray(cx)); | ^~~~~ src/third_party/mozjs-45/extract/js/src/builtin/TestingFunctions.cpp:1415:18: note: 'cx_218(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::PlainObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'InitWeakMapClass(JSContext*, JS::Handle, bool)' at src/third_party/mozjs-45/extract/js/src/builtin/WeakMapObject.cpp:443:73: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'proto' in 'MEM[(struct Rooted * *)cx_92(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src3.cpp:29: src/third_party/mozjs-45/extract/js/src/builtin/WeakMapObject.cpp: In function 'InitWeakMapClass(JSContext*, JS::Handle, bool)': src/third_party/mozjs-45/extract/js/src/builtin/WeakMapObject.cpp:443:23: note: 'proto' declared here 443 | RootedPlainObject proto(cx, NewBuiltinClassInstance(cx)); | ^~~~~ src/third_party/mozjs-45/extract/js/src/builtin/WeakMapObject.cpp:443:23: note: 'cx_92(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'CreatePrototypeObjectForComplexTypeInstance(JSContext*, JS::Handle)' at src/third_party/mozjs-45/extract/js/src/builtin/TypedObject.cpp:477:76: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'ctorPrototypePrototype' in 'MEM[(struct Rooted * *)cx_26(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src3.cpp:20: src/third_party/mozjs-45/extract/js/src/builtin/TypedObject.cpp: In function 'CreatePrototypeObjectForComplexTypeInstance(JSContext*, JS::Handle)': src/third_party/mozjs-45/extract/js/src/builtin/TypedObject.cpp:477:18: note: 'ctorPrototypePrototype' declared here 477 | RootedObject ctorPrototypePrototype(cx, GetPrototype(cx, ctorPrototype)); | ^~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/TypedObject.cpp:477:18: note: 'cx_26(D)' declared here In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/db/server_options.h:30, from src/mongo/base/secure_allocator.h:40, from src/mongo/db/auth/authorization_manager.h:35, from src/mongo/db/s/get_shard_version_command.cpp:35: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSString*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'ShellCloneAndExecuteScript(JSContext*, unsigned int, JS::Value*)' at src/third_party/mozjs-45/extract/js/src/builtin/TestingFunctions.cpp:2574:47: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'str' in 'MEM[(struct Rooted * *)cx_210(D) + 56B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/TestingFunctions.cpp: In function 'ShellCloneAndExecuteScript(JSContext*, unsigned int, JS::Value*)': src/third_party/mozjs-45/extract/js/src/builtin/TestingFunctions.cpp:2574:18: note: 'str' declared here 2574 | RootedString str(cx, ToString(cx, args[0])); | ^~~ src/third_party/mozjs-45/extract/js/src/builtin/TestingFunctions.cpp:2574:18: note: 'cx_210(D)' declared here In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/plan_cache.h:35, from src/mongo/db/catalog/collection_info_cache.h:33, from src/mongo/db/catalog/collection.h:41, from src/mongo/db/catalog_raii.h:32, from src/mongo/db/s/get_shard_version_command.cpp:38: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSString*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'EvalReturningScope(JSContext*, unsigned int, JS::Value*)' at src/third_party/mozjs-45/extract/js/src/builtin/TestingFunctions.cpp:2485:47: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'str' in 'MEM[(struct Rooted * *)cx_376(D) + 56B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/TestingFunctions.cpp: In function 'EvalReturningScope(JSContext*, unsigned int, JS::Value*)': src/third_party/mozjs-45/extract/js/src/builtin/TestingFunctions.cpp:2485:18: note: 'str' declared here 2485 | RootedString str(cx, ToString(cx, args[0])); | ^~~ src/third_party/mozjs-45/extract/js/src/builtin/TestingFunctions.cpp:2485:18: note: 'cx_376(D)' declared here src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::PlainObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::SymbolObject::initClass(JSContext*, JS::Handle)' at src/third_party/mozjs-45/extract/js/src/builtin/SymbolObject.cpp:60:73: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'proto' in 'MEM[(struct Rooted * *)cx_149(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/SymbolObject.cpp: In function 'js::SymbolObject::initClass(JSContext*, JS::Handle)': src/third_party/mozjs-45/extract/js/src/builtin/SymbolObject.cpp:60:18: note: 'proto' declared here 60 | RootedObject proto(cx, global->createBlankPrototype(cx)); | ^~~~~ src/third_party/mozjs-45/extract/js/src/builtin/SymbolObject.cpp:60:18: note: 'cx_149(D)' declared here In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSString*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'ReportPropertyError(JSContext*, unsigned int, JS::Handle)' at src/third_party/mozjs-45/extract/js/src/builtin/TypedObject.cpp:1713:50, inlined from 'js::TypedObject::obj_deleteProperty(JSContext*, JS::Handle, JS::Handle, JS::ObjectOpResult&)' at src/third_party/mozjs-45/extract/js/src/builtin/TypedObject.cpp:2035:35: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'str' in 'MEM[(struct Rooted * *)cx_38(D) + 56B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/TypedObject.cpp: In function 'js::TypedObject::obj_deleteProperty(JSContext*, JS::Handle, JS::Handle, JS::ObjectOpResult&)': src/third_party/mozjs-45/extract/js/src/builtin/TypedObject.cpp:1713:18: note: 'str' declared here 1713 | RootedString str(cx, ValueToSource(cx, idVal)); | ^~~ src/third_party/mozjs-45/extract/js/src/builtin/TypedObject.cpp:1713:18: note: 'cx_38(D)' declared here 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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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 member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::TypedObject::obj_hasProperty(JSContext*, JS::Handle, JS::Handle, bool*)' at src/third_party/mozjs-45/extract/js/src/builtin/TypedObject.cpp:1769:43: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'proto' in 'MEM[(struct Rooted * *)cx_92(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/TypedObject.cpp: In function 'js::TypedObject::obj_hasProperty(JSContext*, JS::Handle, JS::Handle, bool*)': src/third_party/mozjs-45/extract/js/src/builtin/TypedObject.cpp:1769:18: note: 'proto' declared here 1769 | RootedObject proto(cx, obj->getProto()); | ^~~~~ src/third_party/mozjs-45/extract/js/src/builtin/TypedObject.cpp:1769:18: note: 'cx_92(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::ObjectGroup*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::OutlineTypedObject::createUnattachedWithClass(JSContext*, js::Class const*, JS::Handle, int, js::gc::InitialHeap)' at src/third_party/mozjs-45/extract/js/src/builtin/TypedObject.cpp:1471:68: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'group' in 'MEM[(struct Rooted * *)cx_42(D) + 48B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/TypedObject.cpp: In function 'js::OutlineTypedObject::createUnattachedWithClass(JSContext*, js::Class const*, JS::Handle, int, js::gc::InitialHeap)': src/third_party/mozjs-45/extract/js/src/builtin/TypedObject.cpp:1469:23: note: 'group' declared here 1469 | RootedObjectGroup group(cx, ObjectGroup::defaultNewGroup(cx, clasp, | ^~~~~ src/third_party/mozjs-45/extract/js/src/builtin/TypedObject.cpp:1469:23: note: 'cx_42(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::TypedObject::obj_lookupProperty(JSContext*, JS::Handle, JS::Handle, JS::MutableHandle, JS::MutableHandle)' at src/third_party/mozjs-45/extract/js/src/builtin/TypedObject.cpp:1697:43: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'proto' in 'MEM[(struct Rooted * *)cx_53(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/TypedObject.cpp: In function 'js::TypedObject::obj_lookupProperty(JSContext*, JS::Handle, JS::Handle, JS::MutableHandle, JS::MutableHandle)': src/third_party/mozjs-45/extract/js/src/builtin/TypedObject.cpp:1697:18: note: 'proto' declared here 1697 | RootedObject proto(cx, obj->getProto()); | ^~~~~ src/third_party/mozjs-45/extract/js/src/builtin/TypedObject.cpp:1697:18: note: 'cx_53(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::ObjectGroup*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::InlineTypedObject::create(JSContext*, JS::Handle, js::gc::InitialHeap)' at src/third_party/mozjs-45/extract/js/src/builtin/TypedObject.cpp:2109:68: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'group' in 'MEM[(struct Rooted * *)cx_41(D) + 48B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/TypedObject.cpp: In function 'js::InlineTypedObject::create(JSContext*, JS::Handle, js::gc::InitialHeap)': src/third_party/mozjs-45/extract/js/src/builtin/TypedObject.cpp:2107:23: note: 'group' declared here 2107 | RootedObjectGroup group(cx, ObjectGroup::defaultNewGroup(cx, clasp, | ^~~~~ src/third_party/mozjs-45/extract/js/src/builtin/TypedObject.cpp:2107:23: note: 'cx_41(D)' declared here src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::ArrayObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'JS_NondeterministicGetWeakMapKeys(JSContext*, JS::Handle, JS::MutableHandle)' at src/third_party/mozjs-45/extract/js/src/builtin/WeakMapObject.cpp:227:48: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'arr' in 'MEM[(struct Rooted * *)cx_199(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/WeakMapObject.cpp: In function 'JS_NondeterministicGetWeakMapKeys(JSContext*, JS::Handle, JS::MutableHandle)': src/third_party/mozjs-45/extract/js/src/builtin/WeakMapObject.cpp:227:18: note: 'arr' declared here 227 | RootedObject arr(cx, NewDenseEmptyArray(cx)); | ^~~ src/third_party/mozjs-45/extract/js/src/builtin/WeakMapObject.cpp:227:18: note: 'cx_199(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::PlainObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::WeakSetObject::initClass(JSContext*, JSObject*)' at src/third_party/mozjs-45/extract/js/src/builtin/WeakSetObject.cpp:48:73: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'proto' in 'MEM[(struct Rooted * *)cx_94(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src3.cpp:38: src/third_party/mozjs-45/extract/js/src/builtin/WeakSetObject.cpp: In function 'js::WeakSetObject::initClass(JSContext*, JSObject*)': src/third_party/mozjs-45/extract/js/src/builtin/WeakSetObject.cpp:48:23: note: 'proto' declared here 48 | RootedPlainObject proto(cx, NewBuiltinClassInstance(cx)); | ^~~~~ src/third_party/mozjs-45/extract/js/src/builtin/WeakSetObject.cpp:48:23: note: 'cx_94(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSFunction*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'Reify(JSContext*, JS::Handle, JS::Handle, unsigned long, JS::MutableHandle)' at src/third_party/mozjs-45/extract/js/src/builtin/TypedObject.cpp:157:70: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'func' in 'MEM[(struct Rooted * *)cx_80(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/TypedObject.cpp: In function 'Reify(JSContext*, JS::Handle, JS::Handle, unsigned long, JS::MutableHandle)': src/third_party/mozjs-45/extract/js/src/builtin/TypedObject.cpp:157:20: note: 'func' declared here 157 | RootedFunction func(cx, SelfHostedFunction(cx, cx->names().Reify)); | ^~~~ src/third_party/mozjs-45/extract/js/src/builtin/TypedObject.cpp:157:20: note: 'cx_80(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::TypedObject::obj_getElement(JSContext*, JS::Handle, JS::Handle, unsigned int, JS::MutableHandle)' at src/third_party/mozjs-45/extract/js/src/builtin/TypedObject.cpp:1854:43: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'proto' in 'MEM[(struct Rooted * *)cx_85(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/TypedObject.cpp: In function 'js::TypedObject::obj_getElement(JSContext*, JS::Handle, JS::Handle, unsigned int, JS::MutableHandle)': src/third_party/mozjs-45/extract/js/src/builtin/TypedObject.cpp:1854:18: note: 'proto' declared here 1854 | RootedObject proto(cx, obj->getProto()); | ^~~~~ src/third_party/mozjs-45/extract/js/src/builtin/TypedObject.cpp:1854:18: note: 'cx_85(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::TypedObject::obj_getProperty(JSContext*, JS::Handle, JS::Handle, JS::Handle, JS::MutableHandle)' at src/third_party/mozjs-45/extract/js/src/builtin/TypedObject.cpp:1826:43: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'proto' in 'MEM[(struct Rooted * *)cx_139(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/TypedObject.cpp: In function 'js::TypedObject::obj_getProperty(JSContext*, JS::Handle, JS::Handle, JS::Handle, JS::MutableHandle)': src/third_party/mozjs-45/extract/js/src/builtin/TypedObject.cpp:1826:18: note: 'proto' declared here 1826 | RootedObject proto(cx, obj->getProto()); | ^~~~~ src/third_party/mozjs-45/extract/js/src/builtin/TypedObject.cpp:1826:18: note: 'cx_139(D)' declared here In member function 'JS::Rooted::~Rooted()', inlined from 'js::TypedObject::obj_getOwnPropertyDescriptor(JSContext*, JS::Handle, JS::Handle, JS::MutableHandle)' at src/third_party/mozjs-45/extract/js/src/builtin/TypedObject.cpp:2001:7: src/third_party/mozjs-45/include/js/RootingAPI.h:720:16: warning: storing the address of local variable 'descr' in '*_37' [-Wdangling-pointer=] 720 | *stack = prev; | ~~~~~~~^~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/TypedObject.cpp: In function 'js::TypedObject::obj_getOwnPropertyDescriptor(JSContext*, JS::Handle, JS::Handle, JS::MutableHandle)': src/third_party/mozjs-45/extract/js/src/builtin/TypedObject.cpp:1958:24: note: 'descr' declared here 1958 | Rooted descr(cx, &typedObj->typeDescr()); | ^~~~~ src/third_party/mozjs-45/extract/js/src/builtin/TypedObject.cpp:1958:24: note: 'cx_169(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSFunction*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'ConvertAndCopyTo(JSContext*, JS::Handle, JS::Handle, int, JS::Handle, JS::Handle)' at src/third_party/mozjs-45/extract/js/src/builtin/TypedObject.cpp:118:65: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'func' in 'MEM[(struct Rooted * *)cx_88(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/TypedObject.cpp: In function 'ConvertAndCopyTo(JSContext*, JS::Handle, JS::Handle, int, JS::Handle, JS::Handle)': src/third_party/mozjs-45/extract/js/src/builtin/TypedObject.cpp:117:20: note: 'func' declared here 117 | RootedFunction func( | ^~~~ src/third_party/mozjs-45/extract/js/src/builtin/TypedObject.cpp:117:20: note: 'cx_88(D)' declared here src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, unsigned int, mongo::StringMapTraits>': src/mongo/db/op_observer.h:310:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long unsigned int, mongo::StringMapTraits>': src/mongo/db/views/view_graph.h:177:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/db/views/view_catalog.h:174:13: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Collection*, mongo::StringMapTraits>': src/mongo/db/catalog/database.h:165:38: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'WeakMap_construct(JSContext*, unsigned int, JS::Value*)' at src/third_party/mozjs-45/extract/js/src/builtin/WeakMapObject.cpp:319:75: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'obj' in 'MEM[(struct Rooted * *)cx_404(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/WeakMapObject.cpp: In function 'WeakMap_construct(JSContext*, unsigned int, JS::Value*)': src/third_party/mozjs-45/extract/js/src/builtin/WeakMapObject.cpp:319:18: note: 'obj' declared here 319 | RootedObject obj(cx, CreateThis(cx, &WeakMapObject::class_, newTarget)); | ^~~ src/third_party/mozjs-45/extract/js/src/builtin/WeakMapObject.cpp:319:18: note: 'cx_404(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::WeakMapObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::WeakSetObject::create(JSContext*, JS::Handle)' at src/third_party/mozjs-45/extract/js/src/builtin/WeakSetObject.cpp:66:68: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'map' in 'MEM[(struct Rooted * *)cx_36(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/WeakSetObject.cpp: In function 'js::WeakSetObject::create(JSContext*, JS::Handle)': src/third_party/mozjs-45/extract/js/src/builtin/WeakSetObject.cpp:66:18: note: 'map' declared here 66 | RootedObject map(cx, NewBuiltinClassInstance(cx)); | ^~~ src/third_party/mozjs-45/extract/js/src/builtin/WeakSetObject.cpp:66:18: note: 'cx_36(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::WeakSetObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::WeakSetObject::construct(JSContext*, unsigned int, JS::Value*)' at src/third_party/mozjs-45/extract/js/src/builtin/WeakSetObject.cpp:92:68: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'obj' in 'MEM[(struct Rooted * *)cx_386(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/WeakSetObject.cpp: In function 'js::WeakSetObject::construct(JSContext*, unsigned int, JS::Value*)': src/third_party/mozjs-45/extract/js/src/builtin/WeakSetObject.cpp:92:28: note: 'obj' declared here 92 | Rooted obj(cx, WeakSetObject::create(cx, proto)); | ^~~ src/third_party/mozjs-45/extract/js/src/builtin/WeakSetObject.cpp:92:28: note: 'cx_386(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSAtom*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::ArrayMetaTypeDescr::construct(JSContext*, unsigned int, JS::Value*)' at src/third_party/mozjs-45/extract/js/src/builtin/TypedObject.cpp:677:52: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'stringRepr' in 'MEM[(struct Rooted * *)cx_214(D) + 56B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/TypedObject.cpp: In function 'js::ArrayMetaTypeDescr::construct(JSContext*, unsigned int, JS::Value*)': src/third_party/mozjs-45/extract/js/src/builtin/TypedObject.cpp:677:16: note: 'stringRepr' declared here 677 | RootedAtom stringRepr(cx, contents.finishAtom()); | ^~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/TypedObject.cpp:677:16: note: 'cx_214(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::NativeObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'DefineSimpleTypeDescr(JSContext*, JS::Handle, JS::Handle, js::ReferenceTypeDescr::Type, JS::Handle)bool' at src/third_party/mozjs-45/extract/js/src/builtin/TypedObject.cpp:1131:18: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'objProto' in 'MEM[(struct Rooted * *)cx_196(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/TypedObject.cpp: In function 'DefineSimpleTypeDescr(JSContext*, JS::Handle, JS::Handle, js::ReferenceTypeDescr::Type, JS::Handle)bool': src/third_party/mozjs-45/extract/js/src/builtin/TypedObject.cpp:1131:18: note: 'objProto' declared here 1131 | RootedObject objProto(cx, global->getOrCreateObjectPrototype(cx)); | ^~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/TypedObject.cpp:1131:18: note: 'cx_196(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::NativeObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'DefineSimpleTypeDescr(JSContext*, JS::Handle, JS::Handle, js::ScalarTypeDescr::Type, JS::Handle)bool' at src/third_party/mozjs-45/extract/js/src/builtin/TypedObject.cpp:1131:18: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'objProto' in 'MEM[(struct Rooted * *)cx_194(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/TypedObject.cpp: In function 'DefineSimpleTypeDescr(JSContext*, JS::Handle, JS::Handle, js::ScalarTypeDescr::Type, JS::Handle)bool': src/third_party/mozjs-45/extract/js/src/builtin/TypedObject.cpp:1131:18: note: 'objProto' declared here 1131 | RootedObject objProto(cx, global->getOrCreateObjectPrototype(cx)); | ^~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/TypedObject.cpp:1131:18: note: 'cx_194(D)' declared here In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::NativeObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::GlobalObject::initTypedObjectModule(JSContext*, JS::Handle)' at src/third_party/mozjs-45/extract/js/src/builtin/TypedObject.cpp:1247:69: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'objProto' in 'MEM[(struct Rooted * *)cx_329(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/TypedObject.cpp: In function 'js::GlobalObject::initTypedObjectModule(JSContext*, JS::Handle)': src/third_party/mozjs-45/extract/js/src/builtin/TypedObject.cpp:1247:18: note: 'objProto' declared here 1247 | RootedObject objProto(cx, global->getOrCreateObjectPrototype(cx)); | ^~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/TypedObject.cpp:1247:18: note: 'cx_329(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::OutlineTypedObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::TypedObject::createZeroed(JSContext*, JS::Handle, int, js::gc::InitialHeap)' at src/third_party/mozjs-45/extract/js/src/builtin/TypedObject.cpp:1584:102: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'obj' in 'MEM[(struct Rooted * *)cx_79(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/TypedObject.cpp: In function 'js::TypedObject::createZeroed(JSContext*, JS::Handle, int, js::gc::InitialHeap)': src/third_party/mozjs-45/extract/js/src/builtin/TypedObject.cpp:1584:33: note: 'obj' declared here 1584 | Rooted obj(cx, OutlineTypedObject::createUnattached(cx, descr, length, heap)); | ^~~ src/third_party/mozjs-45/extract/js/src/builtin/TypedObject.cpp:1584:33: note: 'cx_79(D)' declared here g++ -o build/fedora/mongo/db/repl/session_update_tracker.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/repl/session_update_tracker.cpp g++ -o build/fedora/mongo/db/commands/profile_gen.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc build/fedora/mongo/db/commands/profile_gen.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from build/fedora/mongo/db/commands/profile_gen.cpp:16: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from build/fedora/mongo/db/commands/profile_gen.h:16, from build/fedora/mongo/db/commands/profile_gen.cpp:9: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/db/curop.h:35, from src/mongo/db/single_transaction_stats.h:31, from src/mongo/db/session.h:42, from src/mongo/db/repl/session_update_tracker.cpp:34: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/bson/bsonobj.h:44, from src/mongo/db/repl/session_update_tracker.h:35, from src/mongo/db/repl/session_update_tracker.cpp:31: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ 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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ 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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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: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::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::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_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call g++ -o build/fedora/mongo/db/pipeline/accumulator_std_dev.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/pipeline/accumulator_std_dev.cpp g++ -o build/fedora/mongo/db/repair_database.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/repair_database.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/pipeline/expression.h:40, from src/mongo/db/pipeline/accumulator.h:39, from src/mongo/db/pipeline/accumulator_std_dev.cpp:31: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/db/pipeline/accumulator.h:38: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/bson/bsonobj.h:44, from src/mongo/db/repair_database.h:33, from src/mongo/db/repair_database.cpp:35: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/plan_cache.h:35, from src/mongo/db/catalog/collection_info_cache.h:33, from src/mongo/db/catalog/collection.h:41, from src/mongo/db/repair_database.cpp:42: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/pipeline/expression.h:103:32: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, unsigned int, mongo::StringMapTraits>': src/mongo/db/op_observer.h:310:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long unsigned int, mongo::StringMapTraits>': src/mongo/db/views/view_graph.h:177:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/db/views/view_catalog.h:174:13: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Collection*, mongo::StringMapTraits>': src/mongo/db/catalog/database.h:165:38: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UUID, mongo::StringMapTraits>': src/mongo/db/catalog/namespace_uuid_cache.h:86:23: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UUID; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UUID; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UUID; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UUID; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::vector, mongo::StringMapTraits>': src/mongo/db/catalog/uuid_catalog.h:234:44: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::vector; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::vector; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::vector; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::vector; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/mongo/s/catalog/dist_lock_catalog_impl.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/s/catalog/dist_lock_catalog_impl.cpp In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call In file included from /usr/include/string.h:535, from /usr/include/c++/12/cstring:42, from src/mongo/base/data_range.h:30, from src/mongo/bson/oid.h:34, from src/mongo/s/catalog/dist_lock_catalog_impl.h:34, from src/mongo/s/catalog/dist_lock_catalog_impl.cpp:31: In function 'memcpy', inlined from 'mongo::StringData::copyTo(char*, bool) const' at src/mongo/base/string_data.h:266:15, inlined from 'mongo::StringBuilderImpl::append(mongo::StringData)' at src/mongo/bson/util/builder.h:484:19, inlined from 'mongo::StringBuilderImpl::operator<<(mongo::StringData)' at src/mongo/bson/util/builder.h:441:15, inlined from 'mongo::StringBuilderImpl::operator<<(char const*)' at src/mongo/bson/util/builder.h:438:22, inlined from 'mongoutils::str::stream::operator<< (char const (&) [6])mongoutils::str::stream&' at src/mongo/util/mongoutils/str.h:66:12, inlined from 'mongo::(anonymous namespace)::extractFindAndModifyNewObj(mongo::StatusWith)' at src/mongo/s/catalog/dist_lock_catalog_impl.cpp:94:38: /usr/include/bits/string_fortified.h:29:33: warning: 'memcpy' offset [0, 4] is out of the bounds [0, 0] [-Warray-bounds] 29 | return __builtin___memcpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 30 | __glibc_objsize0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ ar rcsTD build/fedora/mongo/db/librepair_database.a build/fedora/mongo/db/repair_database.o Skipping ranlib for thin archive build/fedora/mongo/db/librepair_database.a gcc -o build/fedora/third_party/wiredtiger/src/lsm/lsm_worker.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/fedora/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/fedora/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/fedora/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/lsm/lsm_worker.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C g++ -o build/fedora/mongo/s/catalog/dist_lock_ping_info.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/s/catalog/dist_lock_ping_info.cpp g++ -o build/fedora/mongo/util/periodic_runner_factory.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/asio-master/asio/include -Ibuild/fedora -Isrc src/mongo/util/periodic_runner_factory.cpp g++ -o build/fedora/mongo/db/repl/oplog_buffer_collection.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/repl/oplog_buffer_collection.cpp gcc -o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_log.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -DUSE_COMPILER_F80_TYPE=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -Dlinux=1 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_log.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C g++ -o build/fedora/mongo/db/logical_session_cache_factory_mongos.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/logical_session_cache_factory_mongos.cpp In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/bson/timestamp.h:31, from src/mongo/db/repl/optime.h:33, from src/mongo/db/namespace_string.h:38, from src/mongo/db/repl/oplog_buffer_collection.h:34, from src/mongo/db/repl/oplog_buffer_collection.cpp:32: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/plan_cache.h:35, from src/mongo/db/catalog/collection_info_cache.h:33, from src/mongo/db/catalog/collection.h:41, from src/mongo/db/repl/storage_interface.h:40, from src/mongo/db/repl/oplog_buffer_collection.cpp:42: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ ar rcsTD build/fedora/mongo/db/liblogical_session_cache_factory_mongos.a build/fedora/mongo/db/logical_session_cache_factory_mongos.o Skipping ranlib for thin archive build/fedora/mongo/db/liblogical_session_cache_factory_mongos.a g++ -o build/fedora/mongo/db/storage/mmap_v1/paths.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/storage/mmap_v1/paths.cpp src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, unsigned int, mongo::StringMapTraits>': src/mongo/db/op_observer.h:310:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call g++ -o build/fedora/mongo/db/ops/delete.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/ops/delete.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/query_solution.h:36, from src/mongo/db/query/plan_executor.h:37, from src/mongo/db/ops/delete.h:34, from src/mongo/db/ops/delete.cpp:31: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/db/ops/delete.h:33: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36, from src/mongo/db/query/plan_cache.h:35, from src/mongo/db/query/query_solution.h:38: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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 gcc -o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/strtod32.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -DUSE_COMPILER_F80_TYPE=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -Dlinux=1 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/strtod32.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/third_party/mozjs-45/extract/js/src/jsutil.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -Wno-non-virtual-dtor -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -include js-confdefs.h -Wno-invalid-offsetof -fPIE -DIMPL_MFBT -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=1 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora/third_party/mozjs-45/extract/js/src -Isrc/third_party/mozjs-45/extract/js/src -Ibuild/fedora/third_party/mozjs-45/extract/mfbt -Isrc/third_party/mozjs-45/extract/mfbt -Ibuild/fedora/third_party/mozjs-45/extract/intl/icu/source/common -Isrc/third_party/mozjs-45/extract/intl/icu/source/common -Ibuild/fedora/third_party/mozjs-45/include -Isrc/third_party/mozjs-45/include -Ibuild/fedora/third_party/mozjs-45/mongo_sources -Isrc/third_party/mozjs-45/mongo_sources -Ibuild/fedora/third_party/mozjs-45/platform/x86_64/linux/build -Isrc/third_party/mozjs-45/platform/x86_64/linux/build -Ibuild/fedora/third_party/mozjs-45/platform/x86_64/linux/include -Isrc/third_party/mozjs-45/platform/x86_64/linux/include src/third_party/mozjs-45/extract/js/src/jsutil.cpp src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/mongo/client/fetcher.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/client/fetcher.cpp src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, unsigned int, mongo::StringMapTraits>': src/mongo/db/op_observer.h:310:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long unsigned int, mongo::StringMapTraits>': src/mongo/db/views/view_graph.h:177:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/db/views/view_catalog.h:174:13: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Collection*, mongo::StringMapTraits>': src/mongo/db/catalog/database.h:165:38: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/query_solution.h:36, from src/mongo/db/query/plan_executor.h:37, from src/mongo/db/clientcursor.h:38, from src/mongo/client/fetcher.h:41, from src/mongo/client/fetcher.cpp:32: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/bson/bsonobj.h:44, from src/mongo/client/fetcher.h:39: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36, from src/mongo/db/query/plan_cache.h:35, from src/mongo/db/query/query_solution.h:38: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call g++ -o build/fedora/third_party/icu4c-57.1/source/i18n/remtrans.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/remtrans.cpp g++ -o build/fedora/mongo/rpc/object_check.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/rpc/object_check.cpp In file included from /usr/include/string.h:535, from /usr/include/c++/12/cstring:42, from src/mongo/base/string_data.h:33, from build/fedora/mongo/base/error_codes.h:35, from src/mongo/base/status.h:33, from src/mongo/client/fetcher.h:37: In function 'memcpy', inlined from 'mongo::StringData::copyTo(char*, bool) const' at src/mongo/base/string_data.h:266:15, inlined from 'mongo::StringBuilderImpl::append(mongo::StringData)' at src/mongo/bson/util/builder.h:484:19, inlined from 'mongo::StringBuilderImpl::operator<<(mongo::StringData)' at src/mongo/bson/util/builder.h:441:15, inlined from 'mongo::StringBuilderImpl::operator<<(char const*)' at src/mongo/bson/util/builder.h:438:22, inlined from 'mongoutils::str::stream::operator<< (char const* const&)mongoutils::str::stream&' at src/mongo/util/mongoutils/str.h:66:12, inlined from 'mongo::(anonymous namespace)::parseCursorResponse(mongo::BSONObj const&, std::__cxx11::basic_string, std::allocator > const&, mongo::Fetcher::QueryResponse*)' at src/mongo/client/fetcher.cpp:90:76: /usr/include/bits/string_fortified.h:29:33: warning: 'memcpy' offset [0, 5] is out of the bounds [0, 0] [-Warray-bounds] 29 | return __builtin___memcpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 30 | __glibc_objsize0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'memcpy', inlined from 'mongo::StringData::copyTo(char*, bool) const' at src/mongo/base/string_data.h:266:15, inlined from 'mongo::StringBuilderImpl::append(mongo::StringData)' at src/mongo/bson/util/builder.h:484:19, inlined from 'mongo::StringBuilderImpl::operator<<(mongo::StringData)' at src/mongo/bson/util/builder.h:441:15, inlined from 'mongo::StringBuilderImpl::operator<<(char const*)' at src/mongo/bson/util/builder.h:438:22, inlined from 'mongoutils::str::stream::operator<< (char const (&) [2])mongoutils::str::stream&' at src/mongo/util/mongoutils/str.h:66:12, inlined from 'mongo::(anonymous namespace)::parseCursorResponse(mongo::BSONObj const&, std::__cxx11::basic_string, std::allocator > const&, mongo::Fetcher::QueryResponse*)' at src/mongo/client/fetcher.cpp:90:96: /usr/include/bits/string_fortified.h:29:33: warning: 'memcpy' offset 0 is out of the bounds [0, 0] [-Warray-bounds] 29 | return __builtin___memcpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 30 | __glibc_objsize0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'memcpy', inlined from 'mongo::StringData::copyTo(char*, bool) const' at src/mongo/base/string_data.h:266:15, inlined from 'mongo::StringBuilderImpl::append(mongo::StringData)' at src/mongo/bson/util/builder.h:484:19, inlined from 'mongo::StringBuilderImpl::operator<<(mongo::StringData)' at src/mongo/bson/util/builder.h:441:15, inlined from 'mongo::StringBuilderImpl::operator<<(char const*)' at src/mongo/bson/util/builder.h:438:22, inlined from 'mongoutils::str::stream::operator<< (char const (&) [2])mongoutils::str::stream&' at src/mongo/util/mongoutils/str.h:66:12, inlined from 'mongo::(anonymous namespace)::parseCursorResponse(mongo::BSONObj const&, std::__cxx11::basic_string, std::allocator > const&, mongo::Fetcher::QueryResponse*)' at src/mongo/client/fetcher.cpp:109:40: /usr/include/bits/string_fortified.h:29:33: warning: 'memcpy' offset 0 is out of the bounds [0, 0] [-Warray-bounds] 29 | return __builtin___memcpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 30 | __glibc_objsize0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'memcpy', inlined from 'mongo::StringData::copyTo(char*, bool) const' at src/mongo/base/string_data.h:266:15, inlined from 'mongo::StringBuilderImpl::append(mongo::StringData)' at src/mongo/bson/util/builder.h:484:19, inlined from 'mongo::StringBuilderImpl::operator<<(mongo::StringData)' at src/mongo/bson/util/builder.h:441:15, inlined from 'mongo::StringBuilderImpl::operator<<(char const*)' at src/mongo/bson/util/builder.h:438:22, inlined from 'mongoutils::str::stream::operator<< (char const (&) [2])mongoutils::str::stream&' at src/mongo/util/mongoutils/str.h:66:12, inlined from 'mongo::(anonymous namespace)::parseCursorResponse(mongo::BSONObj const&, std::__cxx11::basic_string, std::allocator > const&, mongo::Fetcher::QueryResponse*)' at src/mongo/client/fetcher.cpp:111:40: /usr/include/bits/string_fortified.h:29:33: warning: 'memcpy' offset 0 is out of the bounds [0, 0] [-Warray-bounds] 29 | return __builtin___memcpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 30 | __glibc_objsize0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'memcpy', inlined from 'mongo::StringData::copyTo(char*, bool) const' at src/mongo/base/string_data.h:266:15, inlined from 'mongo::StringBuilderImpl::append(mongo::StringData)' at src/mongo/bson/util/builder.h:484:19, inlined from 'mongo::StringBuilderImpl::operator<<(mongo::StringData)' at src/mongo/bson/util/builder.h:441:15, inlined from 'mongo::StringBuilderImpl::operator<<(char const*)' at src/mongo/bson/util/builder.h:438:22, inlined from 'mongoutils::str::stream::operator<< (char const* const&)mongoutils::str::stream&' at src/mongo/util/mongoutils/str.h:66:12, inlined from 'mongo::(anonymous namespace)::parseCursorResponse(mongo::BSONObj const&, std::__cxx11::basic_string, std::allocator > const&, mongo::Fetcher::QueryResponse*)' at src/mongo/client/fetcher.cpp:134:76: /usr/include/bits/string_fortified.h:29:33: warning: 'memcpy' offset [0, 5] is out of the bounds [0, 0] [-Warray-bounds] 29 | return __builtin___memcpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 30 | __glibc_objsize0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'memcpy', inlined from 'mongo::StringData::copyTo(char*, bool) const' at src/mongo/base/string_data.h:266:15, inlined from 'mongo::StringBuilderImpl::append(mongo::StringData)' at src/mongo/bson/util/builder.h:484:19, inlined from 'mongo::StringBuilderImpl::operator<<(mongo::StringData)' at src/mongo/bson/util/builder.h:441:15, inlined from 'mongo::StringBuilderImpl::operator<<(char const*)' at src/mongo/bson/util/builder.h:438:22, inlined from 'mongoutils::str::stream::operator<< (char const* const&)mongoutils::str::stream&' at src/mongo/util/mongoutils/str.h:66:12, inlined from 'mongo::(anonymous namespace)::parseCursorResponse(mongo::BSONObj const&, std::__cxx11::basic_string, std::allocator > const&, mongo::Fetcher::QueryResponse*)' at src/mongo/client/fetcher.cpp:76:76: /usr/include/bits/string_fortified.h:29:33: warning: 'memcpy' offset [0, 5] is out of the bounds [0, 0] [-Warray-bounds] 29 | return __builtin___memcpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 30 | __glibc_objsize0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'memcpy', inlined from 'mongo::StringData::copyTo(char*, bool) const' at src/mongo/base/string_data.h:266:15, inlined from 'mongo::StringBuilderImpl::append(mongo::StringData)' at src/mongo/bson/util/builder.h:484:19, inlined from 'mongo::StringBuilderImpl::operator<<(mongo::StringData)' at src/mongo/bson/util/builder.h:441:15, inlined from 'mongo::StringBuilderImpl::operator<<(char const*)' at src/mongo/bson/util/builder.h:438:22, inlined from 'mongoutils::str::stream::operator<< (char const* const&)mongoutils::str::stream&' at src/mongo/util/mongoutils/str.h:66:12, inlined from 'mongo::(anonymous namespace)::parseCursorResponse(mongo::BSONObj const&, std::__cxx11::basic_string, std::allocator > const&, mongo::Fetcher::QueryResponse*)' at src/mongo/client/fetcher.cpp:91:40: /usr/include/bits/string_fortified.h:29:33: warning: 'memcpy' offset [0, 1] is out of the bounds [0, 0] [-Warray-bounds] 29 | return __builtin___memcpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 30 | __glibc_objsize0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'memcpy', inlined from 'mongo::StringData::copyTo(char*, bool) const' at src/mongo/base/string_data.h:266:15, inlined from 'mongo::StringBuilderImpl::append(mongo::StringData)' at src/mongo/bson/util/builder.h:484:19, inlined from 'mongo::StringBuilderImpl::operator<<(mongo::StringData)' at src/mongo/bson/util/builder.h:441:15, inlined from 'mongo::StringBuilderImpl::operator<<(char const*)' at src/mongo/bson/util/builder.h:438:22, inlined from 'mongoutils::str::stream::operator<< (char const* const&)mongoutils::str::stream&' at src/mongo/util/mongoutils/str.h:66:12, inlined from 'mongo::(anonymous namespace)::parseCursorResponse(mongo::BSONObj const&, std::__cxx11::basic_string, std::allocator > const&, mongo::Fetcher::QueryResponse*)' at src/mongo/client/fetcher.cpp:112:40: /usr/include/bits/string_fortified.h:29:33: warning: 'memcpy' offset [0, 1] is out of the bounds [0, 0] [-Warray-bounds] 29 | return __builtin___memcpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 30 | __glibc_objsize0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'memcpy', inlined from 'mongo::StringData::copyTo(char*, bool) const' at src/mongo/base/string_data.h:266:15, inlined from 'mongo::StringBuilderImpl::append(mongo::StringData)' at src/mongo/bson/util/builder.h:484:19, inlined from 'mongo::StringBuilderImpl::operator<<(mongo::StringData)' at src/mongo/bson/util/builder.h:441:15, inlined from 'mongo::StringBuilderImpl::operator<<(char const*)' at src/mongo/bson/util/builder.h:438:22, inlined from 'mongoutils::str::stream::operator<< (char const* const&)mongoutils::str::stream&' at src/mongo/util/mongoutils/str.h:66:12, inlined from 'mongo::(anonymous namespace)::parseCursorResponse(mongo::BSONObj const&, std::__cxx11::basic_string, std::allocator > const&, mongo::Fetcher::QueryResponse*)' at src/mongo/client/fetcher.cpp:110:40: /usr/include/bits/string_fortified.h:29:33: warning: 'memcpy' offset [0, 5] is out of the bounds [0, 0] [-Warray-bounds] 29 | return __builtin___memcpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 30 | __glibc_objsize0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'memcpy', inlined from 'mongo::StringData::copyTo(char*, bool) const' at src/mongo/base/string_data.h:266:15, inlined from 'mongo::StringBuilderImpl::append(mongo::StringData)' at src/mongo/bson/util/builder.h:484:19, inlined from 'mongo::StringBuilderImpl::operator<<(mongo::StringData)' at src/mongo/bson/util/builder.h:441:15, inlined from 'mongo::StringBuilderImpl::operator<<(char const*)' at src/mongo/bson/util/builder.h:438:22, inlined from 'mongoutils::str::stream::operator<< (char const (&) [2])mongoutils::str::stream&' at src/mongo/util/mongoutils/str.h:66:12, inlined from 'mongo::(anonymous namespace)::parseCursorResponse(mongo::BSONObj const&, std::__cxx11::basic_string, std::allocator > const&, mongo::Fetcher::QueryResponse*)' at src/mongo/client/fetcher.cpp:134:96: /usr/include/bits/string_fortified.h:29:33: warning: 'memcpy' offset 0 is out of the bounds [0, 0] [-Warray-bounds] 29 | return __builtin___memcpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 30 | __glibc_objsize0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ ar rcsTD build/fedora/mongo/rpc/libobject_check.a build/fedora/mongo/rpc/object_check.o Skipping ranlib for thin archive build/fedora/mongo/rpc/libobject_check.a g++ -o build/fedora/mongo/db/storage/mmap_v1/mmap.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/storage/mmap_v1/mmap.cpp ar rcsTD build/fedora/mongo/client/libfetcher.a build/fedora/mongo/client/fetcher.o Skipping ranlib for thin archive build/fedora/mongo/client/libfetcher.a g++ -o build/fedora/mongo/db/auth/sasl_scram_server_conversation.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/auth/sasl_scram_server_conversation.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/db/auth/sasl_mechanism_registry.h:37, from src/mongo/db/auth/sasl_mechanism_policies.h:33, from src/mongo/db/auth/sasl_scram_server_conversation.h:32, from src/mongo/db/auth/sasl_scram_server_conversation.cpp:33: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/db/server_options.h:30, from src/mongo/base/secure_allocator.h:40, from src/mongo/crypto/mechanism_scram.h:36, from src/mongo/db/auth/sasl_scram_server_conversation.h:31: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/mongo/db/repl/is_master_response.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/repl/is_master_response.cpp src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call In file included from /usr/include/string.h:535, from /usr/include/c++/12/cstring:42, from src/mongo/base/data_range.h:30, from src/mongo/bson/oid.h:34, from src/mongo/db/repl/is_master_response.h:34, from src/mongo/db/repl/is_master_response.cpp:33: In function 'memcpy', inlined from 'mongo::StringData::copyTo(char*, bool) const' at src/mongo/base/string_data.h:266:15, inlined from 'mongo::StringBuilderImpl::append(mongo::StringData)' at src/mongo/bson/util/builder.h:484:19, inlined from 'mongo::StringBuilderImpl::appendIntegral(int, int)mongo::StringBuilderImpl&' at src/mongo/bson/util/builder.h:518:19, inlined from 'mongo::StringBuilderImpl::appendIntegral(int, int)mongo::StringBuilderImpl&' at src/mongo/bson/util/builder.h:512:24, inlined from 'mongo::StringBuilderImpl::operator<<(int)' at src/mongo/bson/util/builder.h:402:30, inlined from 'mongo::BSONObjBuilder::numStr[abi:cxx11](int)' at src/mongo/bson/bsonobjbuilder.h:719:14, inlined from 'mongo::BSONObjBuilder::append, std::allocator > >(mongo::StringData, std::vector, std::allocator >, std::allocator, std::allocator > > > const&)mongo::BSONObjBuilder& [clone .isra.0]' at src/mongo/bson/bsonobjbuilder.h:958:26: /usr/include/bits/string_fortified.h:29:33: warning: 'memcpy' offset [0, 511] is out of the bounds [0, 0] [-Warray-bounds] 29 | return __builtin___memcpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 30 | __glibc_objsize0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -o build/fedora/mongo/db/ftdc/ftdc_commands.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/ftdc/ftdc_commands.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/db/ftdc/ftdc_commands.cpp:35: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/db/server_options.h:30, from src/mongo/base/secure_allocator.h:40, from src/mongo/db/auth/authorization_manager.h:35, from src/mongo/db/auth/authorization_session.h:38, from src/mongo/db/ftdc/ftdc_commands.cpp:33: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ gcc -o build/fedora/third_party/wiredtiger/src/support/stat.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/fedora/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/fedora/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/fedora/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/support/stat.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call g++ -o build/fedora/mongo/db/update/update_node.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/update/update_node.cpp g++ -o build/fedora/mongo/db/storage/devnull/devnull_kv_engine.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/storage/devnull/devnull_kv_engine.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/matcher/expression_with_placeholder.h:35, from src/mongo/db/update/update_array_node.h:35, from src/mongo/db/update/update_node.cpp:34: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/update/update_node.h:33, from src/mongo/db/update/update_node.cpp:31: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/third_party/icu4c-57.1/source/i18n/measfmt.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/measfmt.cpp gcc -o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_fma.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -DUSE_COMPILER_F80_TYPE=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -Dlinux=1 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_fma.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C g++ -o build/fedora/mongo/db/repl/member_data.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/repl/member_data.cpp g++ -o build/fedora/mongo/db/repl/topology_coordinator.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/repl/topology_coordinator.cpp In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/bson/timestamp.h:31, from src/mongo/db/repl/member_data.h:31, from src/mongo/db/repl/member_data.cpp:35: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::repl::ReplSetTagPattern, mongo::StringMapTraits>': src/mongo/db/repl/repl_set_config.h:402:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::repl::ReplSetTagPattern; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::repl::ReplSetTagPattern; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::repl::ReplSetTagPattern; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::repl::ReplSetTagPattern; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/db/repl/member_state.h:40, from src/mongo/db/repl/repl_set_heartbeat_response.h:33, from src/mongo/db/repl/topology_coordinator.h:36, from src/mongo/db/repl/topology_coordinator.cpp:33: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::repl::ReplSetTagPattern, mongo::StringMapTraits>': src/mongo/db/repl/repl_set_config.h:402:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::repl::ReplSetTagPattern; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::repl::ReplSetTagPattern; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::repl::ReplSetTagPattern; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::repl::ReplSetTagPattern; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ gcc -o build/fedora/third_party/wiredtiger/src/lsm/lsm_manager.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/fedora/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/fedora/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/fedora/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/lsm/lsm_manager.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C gcc -o build/fedora/third_party/wiredtiger/src/cursor/cur_std.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/fedora/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/fedora/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/fedora/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/cursor/cur_std.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C g++ -o build/fedora/mongo/db/repl/oplog_interface_local.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/repl/oplog_interface_local.cpp In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/bson/bsonobj.h:44, from src/mongo/db/repl/oplog_interface.h:37, from src/mongo/db/repl/oplog_interface_local.h:31, from src/mongo/db/repl/oplog_interface_local.cpp:31: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/plan_cache.h:35, from src/mongo/db/catalog/collection_info_cache.h:33, from src/mongo/db/catalog/collection.h:41, from src/mongo/db/catalog_raii.h:32, from src/mongo/db/db_raii.h:33, from src/mongo/db/repl/oplog_interface_local.cpp:33: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, unsigned int, mongo::StringMapTraits>': src/mongo/db/op_observer.h:310:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long unsigned int, mongo::StringMapTraits>': src/mongo/db/views/view_graph.h:177:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/db/views/view_catalog.h:174:13: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Collection*, mongo::StringMapTraits>': src/mongo/db/catalog/database.h:165:38: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Top::CollectionData, mongo::StringMapTraits>': src/mongo/db/stats/top.h:150:14: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call ar rcsTD build/fedora/mongo/db/repl/liboplog_interface_local.a build/fedora/mongo/db/repl/oplog_interface_local.o Skipping ranlib for thin archive build/fedora/mongo/db/repl/liboplog_interface_local.a gcc -o build/fedora/third_party/wiredtiger/src/cursor/cur_bulk.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/fedora/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/fedora/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/fedora/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/cursor/cur_bulk.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C ar rcsTD build/fedora/mongo/db/repl/libtopology_coordinator.a build/fedora/mongo/db/repl/heartbeat_response_action.o build/fedora/mongo/db/repl/member_data.o build/fedora/mongo/db/repl/topology_coordinator.o Skipping ranlib for thin archive build/fedora/mongo/db/repl/libtopology_coordinator.a g++ -o build/fedora/mongo/db/auth/authz_session_external_state.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/auth/authz_session_external_state.cpp g++ -o build/fedora/mongo/db/catalog/collection_impl.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/catalog/collection_impl.cpp In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/bson/bsonobj.h:44, from src/mongo/bson/ordering.h:32, from src/mongo/db/catalog/index_catalog_entry.h:36, from src/mongo/db/catalog/index_catalog.h:36, from src/mongo/db/catalog/private/record_store_validate_adaptor.h:31, from src/mongo/db/catalog/collection_impl.cpp:33: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ gcc -o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_add.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -DUSE_COMPILER_F80_TYPE=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -Dlinux=1 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_add.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/plan_cache.h:35, from src/mongo/db/catalog/collection_info_cache.h:33, from src/mongo/db/catalog/collection.h:41, from src/mongo/db/catalog/collection_impl.h:32, from src/mongo/db/catalog/collection_impl.cpp:35: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/mongo/db/pipeline/document_source_tee_consumer.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/pipeline/document_source_tee_consumer.cpp src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, unsigned int, mongo::StringMapTraits>': src/mongo/db/op_observer.h:310:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UUID, mongo::StringMapTraits>': src/mongo/db/catalog/namespace_uuid_cache.h:86:23: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UUID; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UUID; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UUID; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UUID; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::vector, mongo::StringMapTraits>': src/mongo/db/catalog/uuid_catalog.h:234:44: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::vector; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::vector; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::vector; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::vector; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/bson/bsonobj.h:44, from src/mongo/bson/bsonobj_comparator_interface.h:32, from src/mongo/bson/simple_bsonobj_comparator.h:34, from src/mongo/db/pipeline/document_source.h:41, from src/mongo/db/pipeline/document_source_tee_consumer.h:34, from src/mongo/db/pipeline/document_source_tee_consumer.cpp:31: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/db/pipeline/document_source.h:44: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call g++ -o build/fedora/mongo/transport/message_compressor_registry.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/transport/message_compressor_registry.cpp In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/transport/message_compressor_base.h:31, from src/mongo/transport/message_compressor_registry.h:33, from src/mongo/transport/message_compressor_registry.cpp:31: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::MessageCompressorBase*, mongo::StringMapTraits>': src/mongo/transport/message_compressor_registry.h:113:39: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::MessageCompressorBase*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::MessageCompressorBase*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::MessageCompressorBase*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::MessageCompressorBase*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/mongo/transport/message_compressor_snappy.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/transport/message_compressor_snappy.cpp In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/base/data_range_cursor.h:34, from src/mongo/transport/message_compressor_snappy.cpp:33: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::MessageCompressorBase*, mongo::StringMapTraits>': src/mongo/transport/message_compressor_registry.h:113:39: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::MessageCompressorBase*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::MessageCompressorBase*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::MessageCompressorBase*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::MessageCompressorBase*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/mongo/transport/message_compressor_zlib.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/transport/message_compressor_zlib.cpp g++ -o build/fedora/mongo/transport/message_compressor_metrics.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/transport/message_compressor_metrics.cpp In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/transport/message_compressor_base.h:31, from src/mongo/transport/message_compressor_registry.h:33, from src/mongo/transport/message_compressor_zlib.cpp:35: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::MessageCompressorBase*, mongo::StringMapTraits>': src/mongo/transport/message_compressor_registry.h:113:39: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::MessageCompressorBase*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::MessageCompressorBase*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::MessageCompressorBase*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::MessageCompressorBase*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/mongo/transport/message_compressor_manager.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/transport/message_compressor_manager.cpp In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/bson/bsonobj.h:44, from src/mongo/bson/bson_field.h:34, from src/mongo/bson/bsonobjbuilder.h:44, from src/mongo/transport/message_compressor_metrics.cpp:31: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::MessageCompressorBase*, mongo::StringMapTraits>': src/mongo/transport/message_compressor_registry.h:113:39: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::MessageCompressorBase*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::MessageCompressorBase*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::MessageCompressorBase*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::MessageCompressorBase*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/transport/message_compressor_base.h:31, from src/mongo/transport/message_compressor_manager.h:33, from src/mongo/transport/message_compressor_manager.cpp:33: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::MessageCompressorBase*, mongo::StringMapTraits>': src/mongo/transport/message_compressor_registry.h:113:39: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::MessageCompressorBase*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::MessageCompressorBase*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::MessageCompressorBase*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::MessageCompressorBase*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/transport/message_compressor_manager.cpp: In member function 'void mongo::MessageCompressorManager::clientBegin(mongo::BSONObjBuilder*)': src/mongo/transport/message_compressor_manager.cpp:204:21: warning: loop variable 'e' creates a copy from type 'const std::__cxx11::basic_string' [-Wrange-loop-construct] 204 | for (const auto e : _registry->getCompressorNames()) { | ^ src/mongo/transport/message_compressor_manager.cpp:204:21: note: use reference type to prevent copying 204 | for (const auto e : _registry->getCompressorNames()) { | ^ | & g++ -o build/fedora/mongo/db/fts/fts_element_iterator.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/fts/fts_element_iterator.cpp In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/bson/bsonobj.h:44, from src/mongo/db/fts/fts_element_iterator.h:33, from src/mongo/db/fts/fts_element_iterator.cpp:30: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, bool, mongo::StringMapTraits>': src/mongo/db/fts/stop_words.h:62:21: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = bool; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = bool; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = bool; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = bool; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ ar rcsTD build/fedora/mongo/transport/libmessage_compressor.a build/fedora/mongo/transport/message_compressor_manager.o build/fedora/mongo/transport/message_compressor_metrics.o build/fedora/mongo/transport/message_compressor_registry.o build/fedora/mongo/transport/message_compressor_snappy.o build/fedora/mongo/transport/message_compressor_zlib.o Skipping ranlib for thin archive build/fedora/mongo/transport/libmessage_compressor.a g++ -o build/fedora/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src28.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -Wno-non-virtual-dtor -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -include js-confdefs.h -Wno-invalid-offsetof -fPIE -DIMPL_MFBT -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=1 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora/third_party/mozjs-45/extract/js/src -Isrc/third_party/mozjs-45/extract/js/src -Ibuild/fedora/third_party/mozjs-45/extract/mfbt -Isrc/third_party/mozjs-45/extract/mfbt -Ibuild/fedora/third_party/mozjs-45/extract/intl/icu/source/common -Isrc/third_party/mozjs-45/extract/intl/icu/source/common -Ibuild/fedora/third_party/mozjs-45/include -Isrc/third_party/mozjs-45/include -Ibuild/fedora/third_party/mozjs-45/mongo_sources -Isrc/third_party/mozjs-45/mongo_sources -Ibuild/fedora/third_party/mozjs-45/platform/x86_64/linux/build -Isrc/third_party/mozjs-45/platform/x86_64/linux/build -Ibuild/fedora/third_party/mozjs-45/platform/x86_64/linux/include -Isrc/third_party/mozjs-45/platform/x86_64/linux/include src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src28.cpp gcc -o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_cbrt.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -DUSE_COMPILER_F80_TYPE=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -Dlinux=1 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_cbrt.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C g++ -o build/fedora/mongo/db/exec/text_or.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/exec/text_or.cpp In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/vm/CharacterEncoding.cpp:11, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src28.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1040:19: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 1040 | memcpy(&elements_[dstStart], src, count * sizeof(HeapSlot)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:22: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here 650 | class HeapSlot : public WriteBarrieredBase | ^~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1048:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 1048 | memcpy(&elements_[dstStart], src, count * sizeof(HeapSlot)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here 650 | class HeapSlot : public WriteBarrieredBase | ^~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1082:20: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 1082 | memmove(elements_ + dstStart, elements_ + srcStart, count * sizeof(HeapSlot)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here 650 | class HeapSlot : public WriteBarrieredBase | ^~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1094:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 1094 | memmove(elements_ + dstStart, elements_ + srcStart, count * sizeof(Value)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here 650 | class HeapSlot : public WriteBarrieredBase | ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/Stack-inl.h:23, from src/third_party/mozjs-45/extract/js/src/vm/Debugger-inl.h:12, from src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src28.cpp:38: src/third_party/mozjs-45/extract/js/src/jsobjinlines.h: In static member function 'static JSObject* JSObject::create(js::ExclusiveContext*, js::gc::AllocKind, js::gc::InitialHeap, js::HandleShape, js::HandleObjectGroup)': src/third_party/mozjs-45/extract/js/src/jsobjinlines.h:355:15: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::HeapSlot'; use assignment instead [-Wclass-memaccess] 355 | memset(obj->as().fixedSlots(), 0, size - sizeof(js::NativeObject)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here 650 | class HeapSlot : public WriteBarrieredBase | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/bson/timestamp.h:31, from src/mongo/db/catalog/collection.h:39, from src/mongo/db/exec/text_or.h:33, from src/mongo/db/exec/text_or.cpp:29: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/plan_cache.h:35, from src/mongo/db/catalog/collection_info_cache.h:33, from src/mongo/db/catalog/collection.h:41: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/TraceableVector.h:12, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:14: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': src/third_party/mozjs-45/include/js/MemoryMetrics.h:40:34: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/gc/StoreBuffer.h:18, from src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:13: src/third_party/mozjs-45/include/js/MemoryMetrics.h:31:8: note: 'struct JS::TabSizes' declared here 31 | struct TabSizes | ^~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::ServoSizes]': src/third_party/mozjs-45/include/js/MemoryMetrics.h:71:36: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::ServoSizes'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/MemoryMetrics.h:59:8: note: 'struct JS::ServoSizes' declared here 59 | struct ServoSizes | ^~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JSSubString]': src/third_party/mozjs-45/extract/js/src/jsstr.h:73:37: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JSSubString'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/TraceLoggingTypes.h:11, from src/third_party/mozjs-45/extract/js/src/vm/TraceLoggingGraph.h:15, from src/third_party/mozjs-45/extract/js/src/vm/TraceLogging.h:19, from src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:22, from src/third_party/mozjs-45/extract/js/src/jsscript.h:24: src/third_party/mozjs-45/extract/js/src/jsstr.h:68:8: note: 'struct JSSubString' declared here 68 | struct JSSubString { | ^~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::PreliminaryObjectArray]': src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:808:25: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::PreliminaryObjectArray'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:23: src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:796:7: note: 'class js::PreliminaryObjectArray' declared here 796 | class PreliminaryObjectArray | ^~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::TypeNewScript]': src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:939:39: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::TypeNewScript' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:886:7: note: 'class js::TypeNewScript' declared here 886 | class TypeNewScript | ^~~~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:699:25: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:686:8: note: 'struct js::jit::IonScriptCounts' declared here 686 | struct IonScriptCounts | ^~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': src/third_party/mozjs-45/extract/js/src/vm/String.h:1092:25: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/Shape.h:32, from src/third_party/mozjs-45/extract/js/src/jsobj.h:27, from src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:16: src/third_party/mozjs-45/extract/js/src/vm/String.h:1074:7: note: 'class js::StaticStrings' declared here 1074 | class StaticStrings | ^~~~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': src/third_party/mozjs-45/extract/js/src/vm/Shape.h:392:25: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/Shape.h:323:7: note: 'class js::BaseShape' declared here 323 | class BaseShape : public gc::TenuredCell | ^~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:293:40: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:244:7: note: 'class js::NewObjectCache' declared here 244 | class NewObjectCache | ^~~~~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::Address]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:290:33: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::Address'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/Safepoints.h:12, from src/third_party/mozjs-45/extract/js/src/jit/JitFrames.h:16, from src/third_party/mozjs-45/extract/js/src/jit/BaselineFrame.h:10, from src/third_party/mozjs-45/extract/js/src/vm/Stack-inl.h:17: src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:282:8: note: 'struct js::jit::Address' declared here 282 | struct Address | ^~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::BaseIndex]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:306:35: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::BaseIndex'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:295:8: note: 'struct js::jit::BaseIndex' declared here 295 | struct BaseIndex | ^~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::CodeOffsetJump]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:513:25: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::jit::CodeOffsetJump'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:491:7: note: 'class js::jit::CodeOffsetJump' declared here 491 | class CodeOffsetJump | ^~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/include/js/TracingAPI.h:12, from src/third_party/mozjs-45/include/js/TraceableVector.h:13: src/third_party/mozjs-45/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': src/third_party/mozjs-45/include/js/HashTable.h:186:67: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' src/third_party/mozjs-45/extract/js/src/vm/SPSProfiler.h:256:18: required from here src/third_party/mozjs-45/include/js/HashTable.h:1550:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] 1550 | memset(table, 0, sizeof(*table) * capacity()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/HashTable.h:722:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here 722 | class HashTableEntry | ^~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = JS::Zone* const; HashPolicy = js::HashSet, js::SystemAllocPolicy>::SetOps; AllocPolicy = js::SystemAllocPolicy]': src/third_party/mozjs-45/include/js/HashTable.h:424:67: required from 'void js::HashSet::clear() [with T = JS::Zone*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:3497:24: required from here src/third_party/mozjs-45/include/js/HashTable.h:1550:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::SystemAllocPolicy>::SetOps, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry'} with no trivial copy-assignment [-Wclass-memaccess] 1550 | memset(table, 0, sizeof(*table) * capacity()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/HashTable.h:722:7: note: 'js::detail::HashTable, js::SystemAllocPolicy>::SetOps, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry'} declared here 722 | class HashTableEntry | ^~~~~~~~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, unsigned int, mongo::StringMapTraits>': src/mongo/db/op_observer.h:310:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, bool, mongo::StringMapTraits>': src/mongo/db/fts/stop_words.h:62:21: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = bool; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = bool; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = bool; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = bool; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::NativeObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'DebuggerObject_getCallable(JSContext*, unsigned int, JS::Value*)' at src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:7025:5: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'refobj' in 'MEM[(struct Rooted * *)cx_49(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp: In function 'DebuggerObject_getCallable(JSContext*, unsigned int, JS::Value*)': src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:7025:67: note: 'refobj' declared here 7025 | THIS_DEBUGOBJECT_REFERENT(cx, argc, vp, "get callable", args, refobj); | ^~~~~~ src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:7025:67: note: 'cx_49(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'DebuggerScript_isInCatchScope(JSContext*, unsigned int, JS::Value*)' at src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:5607:5: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'obj' in 'MEM[(struct Rooted * *)cx_103(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp: In function 'DebuggerScript_isInCatchScope(JSContext*, unsigned int, JS::Value*)': src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:5607:67: note: 'obj' declared here 5607 | THIS_DEBUGSCRIPT_SCRIPT(cx, argc, vp, "isInCatchScope", args, obj, script); | ^~~ src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:5607:67: note: 'cx_103(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'DebuggerScript_getUrl(JSContext*, unsigned int, JS::Value*)' at src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:4750:5: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'obj' in 'MEM[(struct Rooted * *)cx_83(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp: In function 'DebuggerScript_getUrl(JSContext*, unsigned int, JS::Value*)': src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:4750:62: note: 'obj' declared here 4750 | THIS_DEBUGSCRIPT_SCRIPT(cx, argc, vp, "(get url)", args, obj, script); | ^~~ src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:4750:62: note: 'cx_83(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'DebuggerScript_getLineCount(JSContext*, unsigned int, JS::Value*)' at src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:4778:5: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'obj' in 'MEM[(struct Rooted * *)cx_55(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp: In function 'DebuggerScript_getLineCount(JSContext*, unsigned int, JS::Value*)': src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:4778:68: note: 'obj' declared here 4778 | THIS_DEBUGSCRIPT_SCRIPT(cx, argc, vp, "(get lineCount)", args, obj, script); | ^~~ src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:4778:68: note: 'cx_55(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'DebuggerScript_getOffsetLocation(JSContext*, unsigned int, JS::Value*)' at src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:5138:5: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'obj' in 'MEM[(struct Rooted * *)cx_240(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp: In function 'DebuggerScript_getOffsetLocation(JSContext*, unsigned int, JS::Value*)': src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:5138:70: note: 'obj' declared here 5138 | THIS_DEBUGSCRIPT_SCRIPT(cx, argc, vp, "getOffsetLocation", args, obj, script); | ^~~ src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:5138:70: note: 'cx_240(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'DebuggerScript_getLineOffsets(JSContext*, unsigned int, JS::Value*)' at src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:5307:5: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'obj' in 'MEM[(struct Rooted * *)cx_198(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp: In function 'DebuggerScript_getLineOffsets(JSContext*, unsigned int, JS::Value*)': src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:5307:67: note: 'obj' declared here 5307 | THIS_DEBUGSCRIPT_SCRIPT(cx, argc, vp, "getLineOffsets", args, obj, script); | ^~~ src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:5307:67: note: 'cx_198(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::NativeObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'DebuggerSource_getDisplayURL(JSContext*, unsigned int, JS::Value*)' at src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:5920:5: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'obj' in 'MEM[(struct Rooted * *)cx_73(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp: In function 'DebuggerSource_getDisplayURL(JSContext*, unsigned int, JS::Value*)': src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:5920:64: note: 'obj' declared here 5920 | THIS_DEBUGSOURCE_REFERENT(cx, argc, vp, "(get url)", args, obj, sourceObject); | ^~~ src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:5920:64: note: 'cx_73(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::NativeObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'DebuggerSource_getSourceMapUrl(JSContext*, unsigned int, JS::Value*)' at src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:6033:5: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'obj' in 'MEM[(struct Rooted * *)cx_73(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp: In function 'DebuggerSource_getSourceMapUrl(JSContext*, unsigned int, JS::Value*)': src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:6033:73: note: 'obj' declared here 6033 | THIS_DEBUGSOURCE_REFERENT(cx, argc, vp, "(get sourceMapURL)", args, obj, sourceObject); | ^~~ src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:6033:73: note: 'cx_73(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::NativeObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'DebuggerSource_getIntroductionType(JSContext*, unsigned int, JS::Value*)' at src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:5996:5: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'obj' in 'MEM[(struct Rooted * *)cx_73(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp: In function 'DebuggerSource_getIntroductionType(JSContext*, unsigned int, JS::Value*)': src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:5996:77: note: 'obj' declared here 5996 | THIS_DEBUGSOURCE_REFERENT(cx, argc, vp, "(get introductionType)", args, obj, sourceObject); | ^~~ src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:5996:77: note: 'cx_73(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::NativeObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'DebuggerSource_getUrl(JSContext*, unsigned int, JS::Value*)' at src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:5903:5: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'obj' in 'MEM[(struct Rooted * *)cx_73(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp: In function 'DebuggerSource_getUrl(JSContext*, unsigned int, JS::Value*)': src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:5903:64: note: 'obj' declared here 5903 | THIS_DEBUGSOURCE_REFERENT(cx, argc, vp, "(get url)", args, obj, sourceObject); | ^~~ src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:5903:64: note: 'cx_73(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::NativeObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'DebuggerSource_setSourceMapUrl(JSContext*, unsigned int, JS::Value*)' at src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:6013:5: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'obj' in 'MEM[(struct Rooted * *)cx_96(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp: In function 'DebuggerSource_setSourceMapUrl(JSContext*, unsigned int, JS::Value*)': src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:6013:67: note: 'obj' declared here 6013 | THIS_DEBUGSOURCE_REFERENT(cx, argc, vp, "sourceMapURL", args, obj, sourceObject); | ^~~ src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:6013:67: note: 'cx_96(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::NativeObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'DebuggerObject_sealHelper(JSContext*, unsigned int, JS::Value*, SealHelperOp, char const*)' at src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:7509:5: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'obj' in 'MEM[(struct Rooted * *)cx_88(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp: In function 'DebuggerObject_sealHelper(JSContext*, unsigned int, JS::Value*, SealHelperOp, char const*)': src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:7509:57: note: 'obj' declared here 7509 | THIS_DEBUGOBJECT_REFERENT(cx, argc, vp, name, args, obj); | ^~~ src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:7509:57: note: 'cx_88(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'DebuggerScript_getAllColumnOffsets(JSContext*, unsigned int, JS::Value*)' at src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:5253:5: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'obj' in 'MEM[(struct Rooted * *)cx_276(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp: In function 'DebuggerScript_getAllColumnOffsets(JSContext*, unsigned int, JS::Value*)': src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:5253:72: note: 'obj' declared here 5253 | THIS_DEBUGSCRIPT_SCRIPT(cx, argc, vp, "getAllColumnOffsets", args, obj, script); | ^~~ src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:5253:72: note: 'cx_276(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::NativeObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'DebuggerObject_isSealedHelper(JSContext*, unsigned int, JS::Value*, SealHelperOp, char const*)' at src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:7551:5: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'obj' in 'MEM[(struct Rooted * *)cx_92(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp: In function 'DebuggerObject_isSealedHelper(JSContext*, unsigned int, JS::Value*, SealHelperOp, char const*)': src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:7551:57: note: 'obj' declared here 7551 | THIS_DEBUGOBJECT_REFERENT(cx, argc, vp, name, args, obj); | ^~~ src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:7551:57: note: 'cx_92(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::NativeObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'DebuggerFrame_getOnPop(JSContext*, unsigned int, JS::Value*)' at src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:6614:5: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'thisobj' in 'MEM[(struct Rooted * *)cx_77(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp: In function 'DebuggerFrame_getOnPop(JSContext*, unsigned int, JS::Value*)': src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:6614:49: note: 'thisobj' declared here 6614 | THIS_FRAME(cx, argc, vp, "get onPop", args, thisobj, frame); | ^~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:6614:49: note: 'cx_77(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::NativeObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'DebuggerFrame_getOnStep(JSContext*, unsigned int, JS::Value*)' at src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:6569:5: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'thisobj' in 'MEM[(struct Rooted * *)cx_77(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp: In function 'DebuggerFrame_getOnStep(JSContext*, unsigned int, JS::Value*)': src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:6569:50: note: 'thisobj' declared here 6569 | THIS_FRAME(cx, argc, vp, "get onStep", args, thisobj, frame); | ^~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:6569:50: note: 'cx_77(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::NativeObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'DebuggerFrame_getImplementation(JSContext*, unsigned int, JS::Value*)' at src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:6286:5: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'thisobj' in 'MEM[(struct Rooted * *)cx_77(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp: In function 'DebuggerFrame_getImplementation(JSContext*, unsigned int, JS::Value*)': src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:6286:58: note: 'thisobj' declared here 6286 | THIS_FRAME(cx, argc, vp, "get implementation", args, thisobj, frame); | ^~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:6286:58: note: 'cx_77(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::NativeObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'DebuggerFrame_getGenerator(JSContext*, unsigned int, JS::Value*)' at src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:6335:5: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'thisobj' in 'MEM[(struct Rooted * *)cx_73(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp: In function 'DebuggerFrame_getGenerator(JSContext*, unsigned int, JS::Value*)': src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:6335:53: note: 'thisobj' declared here 6335 | THIS_FRAME(cx, argc, vp, "get generator", args, thisobj, frame); | ^~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:6335:53: note: 'cx_73(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::NativeObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'DebuggerFrame_getType(JSContext*, unsigned int, JS::Value*)' at src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:6262:5: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'thisobj' in 'MEM[(struct Rooted * *)cx_89(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp: In function 'DebuggerFrame_getType(JSContext*, unsigned int, JS::Value*)': src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:6262:48: note: 'thisobj' declared here 6262 | THIS_FRAME(cx, argc, vp, "get type", args, thisobj, frame); | ^~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:6262:48: note: 'cx_89(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::NativeObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'DebuggerFrame_getOffset(JSContext*, unsigned int, JS::Value*)' at src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:6539:5: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'thisobj' in 'MEM[(struct Rooted * *)cx_90(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp: In function 'DebuggerFrame_getOffset(JSContext*, unsigned int, JS::Value*)': src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:6539:55: note: 'thisobj' declared here 6539 | THIS_FRAME_ITER(cx, argc, vp, "get offset", args, thisobj, _, iter); | ^~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:6539:55: note: 'cx_90(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::NativeObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'DebuggerFrame_getConstructing(JSContext*, unsigned int, JS::Value*)' at src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:6343:5: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'thisobj' in 'MEM[(struct Rooted * *)cx_91(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp: In function 'DebuggerFrame_getConstructing(JSContext*, unsigned int, JS::Value*)': src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:6343:61: note: 'thisobj' declared here 6343 | THIS_FRAME_ITER(cx, argc, vp, "get constructing", args, thisobj, _, iter); | ^~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:6343:61: note: 'cx_91(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'DebuggerScript_getOffsetsCoverage(JSContext*, unsigned int, JS::Value*)' at src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:5642:5: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'obj' in 'MEM[(struct Rooted * *)cx_386(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp: In function 'DebuggerScript_getOffsetsCoverage(JSContext*, unsigned int, JS::Value*)': src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:5642:71: note: 'obj' declared here 5642 | THIS_DEBUGSCRIPT_SCRIPT(cx, argc, vp, "getOffsetsCoverage", args, obj, script); | ^~~ src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:5642:71: note: 'cx_386(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::NativeObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'DebuggerObject_getClass(JSContext*, unsigned int, JS::Value*)' at src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:7009:5: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'refobj' in 'MEM[(struct Rooted * *)cx_69(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp: In function 'DebuggerObject_getClass(JSContext*, unsigned int, JS::Value*)': src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:7009:64: note: 'refobj' declared here 7009 | THIS_DEBUGOBJECT_REFERENT(cx, argc, vp, "get class", args, refobj); | ^~~~~~ src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:7009:64: note: 'cx_69(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::NativeObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'DebuggerObject_unsafeDereference(JSContext*, unsigned int, JS::Value*)' at src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:7822:5: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'referent' in 'MEM[(struct Rooted * *)cx_56(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp: In function 'DebuggerObject_unsafeDereference(JSContext*, unsigned int, JS::Value*)': src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:7822:72: note: 'referent' declared here 7822 | THIS_DEBUGOBJECT_REFERENT(cx, argc, vp, "unsafeDereference", args, referent); | ^~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:7822:72: note: 'cx_56(D)' declared here gcc -o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_noncomp.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -DUSE_COMPILER_F80_TYPE=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -Dlinux=1 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_noncomp.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C g++ -o build/fedora/mongo/s/shard_id.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/s/shard_id.cpp In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'DebuggerScript_getBreakpoints(JSContext*, unsigned int, JS::Value*)' at src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:5544:5: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'obj' in 'MEM[(struct Rooted * *)cx_136(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp: In function 'DebuggerScript_getBreakpoints(JSContext*, unsigned int, JS::Value*)': src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:5544:67: note: 'obj' declared here 5544 | THIS_DEBUGSCRIPT_SCRIPT(cx, argc, vp, "getBreakpoints", args, obj, script); | ^~~ src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:5544:67: note: 'cx_136(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'DebuggerScript_clearAllBreakpoints(JSContext*, unsigned int, JS::Value*)' at src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:5597:5: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'obj' in 'MEM[(struct Rooted * *)cx_56(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp: In function 'DebuggerScript_clearAllBreakpoints(JSContext*, unsigned int, JS::Value*)': src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:5597:72: note: 'obj' declared here 5597 | THIS_DEBUGSCRIPT_SCRIPT(cx, argc, vp, "clearAllBreakpoints", args, obj, script); | ^~~ src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:5597:72: note: 'cx_56(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'DebuggerScript_clearBreakpoint(JSContext*, unsigned int, JS::Value*)' at src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:5580:5: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'obj' in 'MEM[(struct Rooted * *)cx_80(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp: In function 'DebuggerScript_clearBreakpoint(JSContext*, unsigned int, JS::Value*)': src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:5580:68: note: 'obj' declared here 5580 | THIS_DEBUGSCRIPT_SCRIPT(cx, argc, vp, "clearBreakpoint", args, obj, script); | ^~~ src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:5580:68: note: 'cx_80(D)' declared here g++ -o build/fedora/mongo/db/query/expression_index_knobs.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/query/expression_index_knobs.cpp In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::NativeObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'DebuggerObject_defineProperties(JSContext*, unsigned int, JS::Value*)' at src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:7440:5: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'obj' in 'MEM[(struct Rooted * *)cx_231(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp: In function 'DebuggerObject_defineProperties(JSContext*, unsigned int, JS::Value*)': src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:7440:82: note: 'obj' declared here 7440 | THIS_DEBUGOBJECT_OWNER_REFERENT(cx, argc, vp, "defineProperties", args, dbg, obj); | ^~~ src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:7440:82: note: 'cx_231(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::NativeObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'DebuggerObject_getAllocationSite(JSContext*, unsigned int, JS::Value*)' at src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:7296:5: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'obj' in 'MEM[(struct Rooted * *)cx_80(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp: In function 'DebuggerObject_getAllocationSite(JSContext*, unsigned int, JS::Value*)': src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:7296:73: note: 'obj' declared here 7296 | THIS_DEBUGOBJECT_REFERENT(cx, argc, vp, "get allocationSite", args, obj); | ^~~ src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:7296:73: note: 'cx_80(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JS::Value&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'JS::dbg::GarbageCollectionEvent::toJSObject(JSContext*) const' at src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:8533:65: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'gcCycleNumberVal' in 'MEM[(struct Rooted * *)cx_303(D) + 104B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp: In member function 'JS::dbg::GarbageCollectionEvent::toJSObject(JSContext*) const': src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:8533:17: note: 'gcCycleNumberVal' declared here 8533 | RootedValue gcCycleNumberVal(cx, NumberValue(majorGCNumber_)); | ^~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:8533:17: note: 'cx_303(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::DebuggerMemory*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::DebuggerMemory::setTrackingTenurePromotions(JSContext*, unsigned int, JS::Value*)' at src/third_party/mozjs-45/extract/js/src/vm/DebuggerMemory.cpp:345:5: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'memory' in 'MEM[(struct Rooted * *)cx_57(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src28.cpp:47: src/third_party/mozjs-45/extract/js/src/vm/DebuggerMemory.cpp: In function 'js::DebuggerMemory::setTrackingTenurePromotions(JSContext*, unsigned int, JS::Value*)': src/third_party/mozjs-45/extract/js/src/vm/DebuggerMemory.cpp:345:80: note: 'memory' declared here 345 | THIS_DEBUGGER_MEMORY(cx, argc, vp, "(set trackingTenurePromotions)", args, memory); | ^~~~~~ src/third_party/mozjs-45/extract/js/src/vm/DebuggerMemory.cpp:345:80: note: 'cx_57(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::DebuggerMemory*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::DebuggerMemory::getOnGarbageCollection(JSContext*, unsigned int, JS::Value*)' at src/third_party/mozjs-45/extract/js/src/vm/DebuggerMemory.cpp:481:5: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'memory' in 'MEM[(struct Rooted * *)cx_32(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/DebuggerMemory.cpp: In function 'js::DebuggerMemory::getOnGarbageCollection(JSContext*, unsigned int, JS::Value*)': src/third_party/mozjs-45/extract/js/src/vm/DebuggerMemory.cpp:481:75: note: 'memory' declared here 481 | THIS_DEBUGGER_MEMORY(cx, argc, vp, "(get onGarbageCollection)", args, memory); | ^~~~~~ src/third_party/mozjs-45/extract/js/src/vm/DebuggerMemory.cpp:481:75: note: 'cx_32(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'DebuggerScript_getAllOffsets(JSContext*, unsigned int, JS::Value*)' at src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:5182:5: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'obj' in 'MEM[(struct Rooted * *)cx_360(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp: In function 'DebuggerScript_getAllOffsets(JSContext*, unsigned int, JS::Value*)': src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:5182:66: note: 'obj' declared here 5182 | THIS_DEBUGSCRIPT_SCRIPT(cx, argc, vp, "getAllOffsets", args, obj, script); | ^~~ src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:5182:66: note: 'cx_360(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::NativeObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'DebuggerObject_deleteProperty(JSContext*, unsigned int, JS::Value*)' at src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:7488:5: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'obj' in 'MEM[(struct Rooted * *)cx_112(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp: In function 'DebuggerObject_deleteProperty(JSContext*, unsigned int, JS::Value*)': src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:7488:69: note: 'obj' declared here 7488 | THIS_DEBUGOBJECT_REFERENT(cx, argc, vp, "deleteProperty", args, obj); | ^~~ src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:7488:69: note: 'cx_112(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::NativeObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'DebuggerObject_defineProperty(JSContext*, unsigned int, JS::Value*)' at src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:7405:5: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'obj' in 'MEM[(struct Rooted * *)cx_188(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp: In function 'DebuggerObject_defineProperty(JSContext*, unsigned int, JS::Value*)': src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:7405:80: note: 'obj' declared here 7405 | THIS_DEBUGOBJECT_OWNER_REFERENT(cx, argc, vp, "defineProperty", args, dbg, obj); | ^~~ src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:7405:80: note: 'cx_188(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::NativeObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'getOwnPropertyKeys(JSContext*, unsigned int, unsigned int, JS::Value*)' at src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:7353:5: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'obj' in 'MEM[(struct Rooted * *)cx_156(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp: In function 'getOwnPropertyKeys(JSContext*, unsigned int, unsigned int, JS::Value*)': src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:7353:73: note: 'obj' declared here 7353 | THIS_DEBUGOBJECT_REFERENT(cx, argc, vp, "getOwnPropertyKeys", args, obj); | ^~~ src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:7353:73: note: 'cx_156(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::DebuggerMemory*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::DebuggerMemory::setAllocationSamplingProbability(JSContext*, unsigned int, JS::Value*)' at src/third_party/mozjs-45/extract/js/src/vm/DebuggerMemory.cpp:302:5: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'memory' in 'MEM[(struct Rooted * *)cx_83(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/DebuggerMemory.cpp: In function 'js::DebuggerMemory::setAllocationSamplingProbability(JSContext*, unsigned int, JS::Value*)': src/third_party/mozjs-45/extract/js/src/vm/DebuggerMemory.cpp:302:85: note: 'memory' declared here 302 | THIS_DEBUGGER_MEMORY(cx, argc, vp, "(set allocationSamplingProbability)", args, memory); | ^~~~~~ src/third_party/mozjs-45/extract/js/src/vm/DebuggerMemory.cpp:302:85: note: 'cx_83(D)' declared here g++ -o build/fedora/mongo/db/auth/user.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/auth/user.cpp In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::DebuggerMemory*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::DebuggerMemory::takeCensus(JSContext*, unsigned int, JS::Value*)' at src/third_party/mozjs-45/extract/js/src/vm/DebuggerMemory.cpp:525:5: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'memory' in 'MEM[(struct Rooted * *)cx_255(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/DebuggerMemory.cpp: In function 'js::DebuggerMemory::takeCensus(JSContext*, unsigned int, JS::Value*)': src/third_party/mozjs-45/extract/js/src/vm/DebuggerMemory.cpp:525:82: note: 'memory' declared here 525 | THIS_DEBUGGER_MEMORY(cx, argc, vp, "Debugger.Memory.prototype.census", args, memory); | ^~~~~~ src/third_party/mozjs-45/extract/js/src/vm/DebuggerMemory.cpp:525:82: note: 'cx_255(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::NativeObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'DebuggerSource_getText(JSContext*, unsigned int, JS::Value*)' at src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:5877:5: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'obj' in 'MEM[(struct Rooted * *)cx_91(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp: In function 'DebuggerSource_getText(JSContext*, unsigned int, JS::Value*)': src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:5877:65: note: 'obj' declared here 5877 | THIS_DEBUGSOURCE_REFERENT(cx, argc, vp, "(get text)", args, obj, sourceObject); | ^~~ src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:5877:65: note: 'cx_91(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::NativeObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'DebuggerFrame_setOnPop(JSContext*, unsigned int, JS::Value*)' at src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:6625:5: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'thisobj' in 'MEM[(struct Rooted * *)cx_78(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp: In function 'DebuggerFrame_setOnPop(JSContext*, unsigned int, JS::Value*)': src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:6625:49: note: 'thisobj' declared here 6625 | THIS_FRAME(cx, argc, vp, "set onPop", args, thisobj, frame); | ^~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:6625:49: note: 'cx_78(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::NativeObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::DebuggerMemory::create(JSContext*, js::Debugger*)' at src/third_party/mozjs-45/extract/js/src/vm/DebuggerMemory.cpp:51:90: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'memory' in 'MEM[(struct Rooted * *)cx_67(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/DebuggerMemory.cpp: In function 'js::DebuggerMemory::create(JSContext*, js::Debugger*)': src/third_party/mozjs-45/extract/js/src/vm/DebuggerMemory.cpp:51:24: note: 'memory' declared here 51 | RootedNativeObject memory(cx, NewNativeObjectWithGivenProto(cx, &class_, memoryProto)); | ^~~~~~ src/third_party/mozjs-45/extract/js/src/vm/DebuggerMemory.cpp:51:24: note: 'cx_67(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::NativeObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'DebuggerFrame_getArguments(JSContext*, unsigned int, JS::Value*)' at src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:6453:5: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'thisobj' in 'MEM[(struct Rooted * *)cx_291(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp: In function 'DebuggerFrame_getArguments(JSContext*, unsigned int, JS::Value*)': src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:6453:53: note: 'thisobj' declared here 6453 | THIS_FRAME(cx, argc, vp, "get arguments", args, thisobj, frame); | ^~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:6453:53: note: 'cx_291(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::DebuggerMemory*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::DebuggerMemory::setTrackingAllocationSites(JSContext*, unsigned int, JS::Value*)' at src/third_party/mozjs-45/extract/js/src/vm/DebuggerMemory.cpp:141:5: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'memory' in 'MEM[(struct Rooted * *)cx_70(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/DebuggerMemory.cpp: In function 'js::DebuggerMemory::setTrackingAllocationSites(JSContext*, unsigned int, JS::Value*)': src/third_party/mozjs-45/extract/js/src/vm/DebuggerMemory.cpp:141:79: note: 'memory' declared here 141 | THIS_DEBUGGER_MEMORY(cx, argc, vp, "(set trackingAllocationSites)", args, memory); | ^~~~~~ src/third_party/mozjs-45/extract/js/src/vm/DebuggerMemory.cpp:141:79: note: 'cx_70(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::NativeObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::Debugger::getScriptFrameWithIter(JSContext*, js::AbstractFramePtr, js::ScriptFrameIter const*, JS::MutableHandle)' at src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:469:77: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'frameobj' in 'MEM[(struct Rooted * *)cx_102(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp: In member function 'js::Debugger::getScriptFrameWithIter(JSContext*, js::AbstractFramePtr, js::ScriptFrameIter const*, JS::MutableHandle)': src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:468:28: note: 'frameobj' declared here 468 | RootedNativeObject frameobj(cx, NewNativeObjectWithGivenProto(cx, &DebuggerFrame_class, | ^~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:468:28: note: 'cx_102(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::DebuggerMemory*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::DebuggerMemory::setMaxTenurePromotionsLogLength(JSContext*, unsigned int, JS::Value*)' at src/third_party/mozjs-45/extract/js/src/vm/DebuggerMemory.cpp:441:5: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'memory' in 'MEM[(struct Rooted * *)cx_65(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/DebuggerMemory.cpp: In function 'js::DebuggerMemory::setMaxTenurePromotionsLogLength(JSContext*, unsigned int, JS::Value*)': src/third_party/mozjs-45/extract/js/src/vm/DebuggerMemory.cpp:441:84: note: 'memory' declared here 441 | THIS_DEBUGGER_MEMORY(cx, argc, vp, "(set maxTenurePromotionsLogLength)", args, memory); | ^~~~~~ src/third_party/mozjs-45/extract/js/src/vm/DebuggerMemory.cpp:441:84: note: 'cx_65(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::DebuggerMemory*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::DebuggerMemory::drainTenurePromotionsLog(JSContext*, unsigned int, JS::Value*)' at src/third_party/mozjs-45/extract/js/src/vm/DebuggerMemory.cpp:365:5: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'memory' in 'MEM[(struct Rooted * *)cx_329(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/DebuggerMemory.cpp: In function 'js::DebuggerMemory::drainTenurePromotionsLog(JSContext*, unsigned int, JS::Value*)': src/third_party/mozjs-45/extract/js/src/vm/DebuggerMemory.cpp:365:74: note: 'memory' declared here 365 | THIS_DEBUGGER_MEMORY(cx, argc, vp, "drainTenurePromotionsLog", args, memory); | ^~~~~~ src/third_party/mozjs-45/extract/js/src/vm/DebuggerMemory.cpp:365:74: note: 'cx_329(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::DebuggerMemory*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::DebuggerMemory::setMaxAllocationsLogLength(JSContext*, unsigned int, JS::Value*)' at src/third_party/mozjs-45/extract/js/src/vm/DebuggerMemory.cpp:262:5: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'memory' in 'MEM[(struct Rooted * *)cx_65(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/DebuggerMemory.cpp: In function 'js::DebuggerMemory::setMaxAllocationsLogLength(JSContext*, unsigned int, JS::Value*)': src/third_party/mozjs-45/extract/js/src/vm/DebuggerMemory.cpp:262:79: note: 'memory' declared here 262 | THIS_DEBUGGER_MEMORY(cx, argc, vp, "(set maxAllocationsLogLength)", args, memory); | ^~~~~~ src/third_party/mozjs-45/extract/js/src/vm/DebuggerMemory.cpp:262:79: note: 'cx_65(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::DebuggerMemory*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::DebuggerMemory::drainAllocationsLog(JSContext*, unsigned int, JS::Value*)' at src/third_party/mozjs-45/extract/js/src/vm/DebuggerMemory.cpp:179:5: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'memory' in 'MEM[(struct Rooted * *)cx_393(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/DebuggerMemory.cpp: In function 'js::DebuggerMemory::drainAllocationsLog(JSContext*, unsigned int, JS::Value*)': src/third_party/mozjs-45/extract/js/src/vm/DebuggerMemory.cpp:179:69: note: 'memory' declared here 179 | THIS_DEBUGGER_MEMORY(cx, argc, vp, "drainAllocationsLog", args, memory); | ^~~~~~ src/third_party/mozjs-45/extract/js/src/vm/DebuggerMemory.cpp:179:69: note: 'cx_393(D)' declared here g++ -o build/fedora/third_party/icu4c-57.1/source/common/unistr_cnv.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/unistr_cnv.cpp In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::NativeObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'DebuggerObject_getParameterNames(JSContext*, unsigned int, JS::Value*)' at src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:7077:5: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'obj' in 'MEM[(struct Rooted * *)cx_190(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp: In function 'DebuggerObject_getParameterNames(JSContext*, unsigned int, JS::Value*)': src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:7077:84: note: 'obj' declared here 7077 | THIS_DEBUGOBJECT_OWNER_REFERENT(cx, argc, vp, "get parameterNames", args, dbg, obj); | ^~~ src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:7077:84: note: 'cx_190(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::NativeObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'DebuggerFrame_getOlder(JSContext*, unsigned int, JS::Value*)' at src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:6372:5: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'thisobj' in 'MEM[(struct Rooted * *)cx_101(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp: In function 'DebuggerFrame_getOlder(JSContext*, unsigned int, JS::Value*)': src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:6372:53: note: 'thisobj' declared here 6372 | THIS_FRAME_ITER(cx, argc, vp, "get this", args, thisobj, _, iter); | ^~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:6372:53: note: 'cx_101(D)' declared here g++ -o build/fedora/mongo/db/commands/conn_pool_sync.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/commands/conn_pool_sync.cpp In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'DebuggerScript_setBreakpoint(JSContext*, unsigned int, JS::Value*)' at src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:5502:5: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'obj' in 'MEM[(struct Rooted * *)cx_150(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp: In function 'DebuggerScript_setBreakpoint(JSContext*, unsigned int, JS::Value*)': src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:5502:66: note: 'obj' declared here 5502 | THIS_DEBUGSCRIPT_SCRIPT(cx, argc, vp, "setBreakpoint", args, obj, script); | ^~~ src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:5502:66: note: 'cx_150(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::NativeObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'DebuggerFrame_setOnStep(JSContext*, unsigned int, JS::Value*)' at src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:6580:5: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'thisobj' in 'MEM[(struct Rooted * *)cx_117(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp: In function 'DebuggerFrame_setOnStep(JSContext*, unsigned int, JS::Value*)': src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:6580:50: note: 'thisobj' declared here 6580 | THIS_FRAME(cx, argc, vp, "set onStep", args, thisobj, frame); | ^~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:6580:50: note: 'cx_117(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::DebuggerMemory*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::DebuggerMemory::setOnGarbageCollection(JSContext*, unsigned int, JS::Value*)' at src/third_party/mozjs-45/extract/js/src/vm/DebuggerMemory.cpp:488:5: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'memory' in 'MEM[(struct Rooted * *)cx_36(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/DebuggerMemory.cpp: In function 'js::DebuggerMemory::setOnGarbageCollection(JSContext*, unsigned int, JS::Value*)': src/third_party/mozjs-45/extract/js/src/vm/DebuggerMemory.cpp:488:75: note: 'memory' declared here 488 | THIS_DEBUGGER_MEMORY(cx, argc, vp, "(set onGarbageCollection)", args, memory); | ^~~~~~ src/third_party/mozjs-45/extract/js/src/vm/DebuggerMemory.cpp:488:75: note: 'cx_36(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::GlobalObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::Debugger::removeDebuggee(JSContext*, unsigned int, JS::Value*)' at src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:3172:78: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'global' in 'MEM[(struct Rooted * *)cx_90(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp: In function 'js::Debugger::removeDebuggee(JSContext*, unsigned int, JS::Value*)': src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:3172:27: note: 'global' declared here 3172 | Rooted global(cx, dbg->unwrapDebuggeeArgument(cx, args[0])); | ^~~~~~ src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:3172:27: note: 'cx_90(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::NativeObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::Debugger::construct(JSContext*, unsigned int, JS::Value*)' at src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:3329:92: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'obj' in 'MEM[(struct Rooted * *)cx_63(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp: In function 'js::Debugger::construct(JSContext*, unsigned int, JS::Value*)': src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:3329:24: note: 'obj' declared here 3329 | RootedNativeObject obj(cx, NewNativeObjectWithGivenProto(cx, &Debugger::jsclass, proto)); | ^~~ src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:3329:24: note: 'cx_63(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::NativeObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'DebuggerObject_getScript(JSContext*, unsigned int, JS::Value*)' at src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:7127:5: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'obj' in 'MEM[(struct Rooted * *)cx_111(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp: In function 'DebuggerObject_getScript(JSContext*, unsigned int, JS::Value*)': src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:7127:76: note: 'obj' declared here 7127 | THIS_DEBUGOBJECT_OWNER_REFERENT(cx, argc, vp, "get script", args, dbg, obj); | ^~~ src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:7127:76: note: 'cx_111(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::NativeObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'DebuggerSource_getIntroductionScript(JSContext*, unsigned int, JS::Value*)' at src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:5963:5: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'obj' in 'MEM[(struct Rooted * *)cx_102(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp: In function 'DebuggerSource_getIntroductionScript(JSContext*, unsigned int, JS::Value*)': src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:5963:79: note: 'obj' declared here 5963 | THIS_DEBUGSOURCE_REFERENT(cx, argc, vp, "(get introductionScript)", args, obj, sourceObject); | ^~~ src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:5963:79: note: 'cx_102(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'DebuggerScript_getChildScripts(JSContext*, unsigned int, JS::Value*)' at src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:4832:5: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'obj' in 'MEM[(struct Rooted * *)cx_219(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp: In function 'DebuggerScript_getChildScripts(JSContext*, unsigned int, JS::Value*)': src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:4832:68: note: 'obj' declared here 4832 | THIS_DEBUGSCRIPT_SCRIPT(cx, argc, vp, "getChildScripts", args, obj, script); | ^~~ src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:4832:68: note: 'cx_219(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::NativeObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'DebuggerFrame_getScript(JSContext*, unsigned int, JS::Value*)' at src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:6510:5: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'thisobj' in 'MEM[(struct Rooted * *)cx_180(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp: In function 'DebuggerFrame_getScript(JSContext*, unsigned int, JS::Value*)': src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:6510:50: note: 'thisobj' declared here 6510 | THIS_FRAME(cx, argc, vp, "get script", args, thisobj, frame); | ^~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:6510:50: note: 'cx_180(D)' declared here In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/client/connection_string.h:38, from src/mongo/client/dbclientinterface.h:34, from src/mongo/client/connpool.h:35, from src/mongo/client/global_conn_pool.h:31, from src/mongo/db/commands/conn_pool_sync.cpp:31: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::weak_ptr, mongo::StringMapTraits>': src/mongo/client/replica_set_monitor_manager.h:101:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::weak_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::weak_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::weak_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::weak_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::NativeObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'DebuggerObject_asEnvironment(JSContext*, unsigned int, JS::Value*)' at src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:7778:5: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'referent' in 'MEM[(struct Rooted * *)cx_100(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp: In function 'DebuggerObject_asEnvironment(JSContext*, unsigned int, JS::Value*)': src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:7778:79: note: 'referent' declared here 7778 | THIS_DEBUGOBJECT_OWNER_REFERENT(cx, argc, vp, "asEnvironment", args, dbg, referent); | ^~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:7778:79: note: 'cx_100(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::NativeObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'DebuggerObject_getEnvironment(JSContext*, unsigned int, JS::Value*)' at src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:7161:5: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'obj' in 'MEM[(struct Rooted * *)cx_127(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp: In function 'DebuggerObject_getEnvironment(JSContext*, unsigned int, JS::Value*)': src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:7161:81: note: 'obj' declared here 7161 | THIS_DEBUGOBJECT_OWNER_REFERENT(cx, argc, vp, "get environment", args, dbg, obj); | ^~~ src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:7161:81: note: 'cx_127(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::NativeObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'DebuggerFrame_getEnvironment(JSContext*, unsigned int, JS::Value*)' at src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:6307:5: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'thisobj' in 'MEM[(struct Rooted * *)cx_136(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp: In function 'DebuggerFrame_getEnvironment(JSContext*, unsigned int, JS::Value*)': src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:6307:66: note: 'thisobj' declared here 6307 | THIS_FRAME_OWNER_ITER(cx, argc, vp, "get environment", args, thisobj, _, iter, dbg); | ^~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:6307:66: note: 'cx_136(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::PlainObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::Debugger::wrapDebuggeeValue(JSContext*, JS::MutableHandle)' at src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:855:78: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'optObj' in 'MEM[(struct Rooted * *)cx_231(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp: In member function 'js::Debugger::wrapDebuggeeValue(JSContext*, JS::MutableHandle)': src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:855:27: note: 'optObj' declared here 855 | RootedPlainObject optObj(cx, NewBuiltinClassInstance(cx)); | ^~~~~~ src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:855:27: note: 'cx_231(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JS::Value&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::Debugger::newCompletionValue(JSContext*, JSTrapStatus, JS::Value, JS::MutableHandle)' at src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:1094:33: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'value' in 'MEM[(struct Rooted * *)cx_106(D) + 104B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp: In member function 'js::Debugger::newCompletionValue(JSContext*, JSTrapStatus, JS::Value, JS::MutableHandle)': src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:1094:17: note: 'value' declared here 1094 | RootedValue value(cx, value_); | ^~~~~ src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:1094:17: note: 'cx_106(D)' declared here In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/db/commands/conn_pool_sync.cpp:32: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::NativeObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'ApplyOrCall(JSContext*, unsigned int, JS::Value*, ApplyOrCallMode)' at src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:7594:5: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'obj' in 'MEM[(struct Rooted * *)cx_312(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp: In function 'ApplyOrCall(JSContext*, unsigned int, JS::Value*, ApplyOrCallMode)': src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:7594:71: note: 'obj' declared here 7594 | THIS_DEBUGOBJECT_OWNER_REFERENT(cx, argc, vp, "apply", args, dbg, obj); | ^~~ src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:7594:71: note: 'cx_312(D)' declared here src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSLinearString*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'DebuggerGenericEval(JSContext*, char const*, JS::Value const&, EvalBindings, JS::Handle, JS::Handle, JS::MutableHandle, js::Debugger*, JS::Handle, js::ScriptFrameIter*)' at src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:6736:68: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'linear' in 'MEM[(struct Rooted * *)cx_547(D) + 56B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp: In function 'DebuggerGenericEval(JSContext*, char const*, JS::Value const&, EvalBindings, JS::Handle, JS::Handle, JS::MutableHandle, js::Debugger*, JS::Handle, js::ScriptFrameIter*)': src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:6736:24: note: 'linear' declared here 6736 | RootedLinearString linear(cx, code.toString()->ensureLinear(cx)); | ^~~~~~ src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:6736:24: note: 'cx_547(D)' declared here src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::NativeObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'DebuggerObject_executeInGlobalWithBindings(JSContext*, unsigned int, JS::Value*)' at src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:7762:5: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'referent' in 'MEM[(struct Rooted * *)cx_95(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp: In function 'DebuggerObject_executeInGlobalWithBindings(JSContext*, unsigned int, JS::Value*)': src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:7763:37: note: 'referent' declared here 7763 | referent); | ^~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:7763:37: note: 'cx_95(D)' declared here 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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::NativeObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'DebuggerObject_executeInGlobal(JSContext*, unsigned int, JS::Value*)' at src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:7747:5: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'referent' in 'MEM[(struct Rooted * *)cx_90(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp: In function 'DebuggerObject_executeInGlobal(JSContext*, unsigned int, JS::Value*)': src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:7747:81: note: 'referent' declared here 7747 | THIS_DEBUGOBJECT_OWNER_REFERENT(cx, argc, vp, "executeInGlobal", args, dbg, referent); | ^~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:7747:81: note: 'cx_90(D)' declared here 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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::NativeObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'DebuggerFrame_evalWithBindings(JSContext*, unsigned int, JS::Value*)' at src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:6867:5: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'thisobj' in 'MEM[(struct Rooted * *)cx_105(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp: In function 'DebuggerFrame_evalWithBindings(JSContext*, unsigned int, JS::Value*)': src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:6867:61: note: 'thisobj' declared here 6867 | THIS_FRAME_ITER(cx, argc, vp, "evalWithBindings", args, thisobj, _, iter); | ^~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:6867:61: note: 'cx_105(D)' declared here In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: 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: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 member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::NativeObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'DebuggerFrame_eval(JSContext*, unsigned int, JS::Value*)' at src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:6854:5: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'thisobj' in 'MEM[(struct Rooted * *)cx_100(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp: In function 'DebuggerFrame_eval(JSContext*, unsigned int, JS::Value*)': src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:6854:49: note: 'thisobj' declared here 6854 | THIS_FRAME_ITER(cx, argc, vp, "eval", args, thisobj, _, iter); | ^~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:6854:49: note: 'cx_100(D)' declared here 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: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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::GlobalObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::Debugger::addDebuggee(JSContext*, unsigned int, JS::Value*)' at src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:3129:78: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'global' in 'MEM[(struct Rooted * *)cx_82(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp: In function 'js::Debugger::addDebuggee(JSContext*, unsigned int, JS::Value*)': src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:3129:27: note: 'global' declared here 3129 | Rooted global(cx, dbg->unwrapDebuggeeArgument(cx, args[0])); | ^~~~~~ src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:3129:27: note: 'cx_82(D)' declared here src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::GlobalObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::Debugger::makeGlobalObjectReference(JSContext*, unsigned int, JS::Value*)' at src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:4298:78: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'global' in 'MEM[(struct Rooted * *)cx_58(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp: In function 'js::Debugger::makeGlobalObjectReference(JSContext*, unsigned int, JS::Value*)': src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:4298:27: note: 'global' declared here 4298 | Rooted global(cx, dbg->unwrapDebuggeeArgument(cx, args[0])); | ^~~~~~ src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:4298:27: note: 'cx_58(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::NativeObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'DebuggerObject_unwrap(JSContext*, unsigned int, JS::Value*)' at src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:7796:5: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'referent' in 'MEM[(struct Rooted * *)cx_61(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp: In function 'DebuggerObject_unwrap(JSContext*, unsigned int, JS::Value*)': src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:7796:72: note: 'referent' declared here 7796 | THIS_DEBUGOBJECT_OWNER_REFERENT(cx, argc, vp, "unwrap", args, dbg, referent); | ^~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:7796:72: note: 'cx_61(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::NativeObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'DebuggerObject_makeDebuggeeValue(JSContext*, unsigned int, JS::Value*)' at src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:7682:5: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'referent' in 'MEM[(struct Rooted * *)cx_110(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp: In function 'DebuggerObject_makeDebuggeeValue(JSContext*, unsigned int, JS::Value*)': src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:7682:83: note: 'referent' declared here 7682 | THIS_DEBUGOBJECT_OWNER_REFERENT(cx, argc, vp, "makeDebuggeeValue", args, dbg, referent); | ^~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:7682:83: note: 'cx_110(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::NativeObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'DebuggerObject_getOwnPropertyDescriptor(JSContext*, unsigned int, JS::Value*)' at src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:7310:5: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'obj' in 'MEM[(struct Rooted * *)cx_238(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp: In function 'DebuggerObject_getOwnPropertyDescriptor(JSContext*, unsigned int, JS::Value*)': src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:7310:90: note: 'obj' declared here 7310 | THIS_DEBUGOBJECT_OWNER_REFERENT(cx, argc, vp, "getOwnPropertyDescriptor", args, dbg, obj); | ^~~ src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:7310:90: note: 'cx_238(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::NativeObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'DebuggerObject_getGlobal(JSContext*, unsigned int, JS::Value*)' at src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:7264:5: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'obj' in 'MEM[(struct Rooted * *)cx_78(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp: In function 'DebuggerObject_getGlobal(JSContext*, unsigned int, JS::Value*)': src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:7264:76: note: 'obj' declared here 7264 | THIS_DEBUGOBJECT_OWNER_REFERENT(cx, argc, vp, "get global", args, dbg, obj); | ^~~ src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:7264:76: note: 'cx_78(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::NativeObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'DebuggerObject_getBoundArguments(JSContext*, unsigned int, JS::Value*)' at src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:7236:5: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'refobj' in 'MEM[(struct Rooted * *)cx_112(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp: In function 'DebuggerObject_getBoundArguments(JSContext*, unsigned int, JS::Value*)': src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:7236:84: note: 'refobj' declared here 7236 | THIS_DEBUGOBJECT_OWNER_REFERENT(cx, argc, vp, "get boundArguments", args, dbg, refobj); | ^~~~~~ src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:7236:84: note: 'cx_112(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::NativeObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'DebuggerObject_getBoundThis(JSContext*, unsigned int, JS::Value*)' at src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:7223:5: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'refobj' in 'MEM[(struct Rooted * *)cx_56(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp: In function 'DebuggerObject_getBoundThis(JSContext*, unsigned int, JS::Value*)': src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:7223:79: note: 'refobj' declared here 7223 | THIS_DEBUGOBJECT_OWNER_REFERENT(cx, argc, vp, "get boundThis", args, dbg, refobj); | ^~~~~~ src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:7223:79: note: 'cx_56(D)' declared here src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::NativeObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'DebuggerObject_getBoundTargetFunction(JSContext*, unsigned int, JS::Value*)' at src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:7209:5: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'refobj' in 'MEM[(struct Rooted * *)cx_56(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp: In function 'DebuggerObject_getBoundTargetFunction(JSContext*, unsigned int, JS::Value*)': src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:7209:89: note: 'refobj' declared here 7209 | THIS_DEBUGOBJECT_OWNER_REFERENT(cx, argc, vp, "get boundFunctionTarget", args, dbg, refobj); | ^~~~~~ src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:7209:89: note: 'cx_56(D)' declared here src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::NativeObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'DebuggerObject_getDisplayName(JSContext*, unsigned int, JS::Value*)' at src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:7055:5: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'obj' in 'MEM[(struct Rooted * *)cx_80(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp: In function 'DebuggerObject_getDisplayName(JSContext*, unsigned int, JS::Value*)': src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:7055:82: note: 'obj' declared here 7055 | THIS_DEBUGOBJECT_OWNER_REFERENT(cx, argc, vp, "get display name", args, dbg, obj); | ^~~ src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:7055:82: note: 'cx_80(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::NativeObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'DebuggerObject_getName(JSContext*, unsigned int, JS::Value*)' at src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:7033:5: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'obj' in 'MEM[(struct Rooted * *)cx_82(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp: In function 'DebuggerObject_getName(JSContext*, unsigned int, JS::Value*)': src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:7033:74: note: 'obj' declared here 7033 | THIS_DEBUGOBJECT_OWNER_REFERENT(cx, argc, vp, "get name", args, dbg, obj); | ^~~ src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:7033:74: note: 'cx_82(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::NativeObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'DebuggerObject_getProto(JSContext*, unsigned int, JS::Value*)' at src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:6992:5: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'refobj' in 'MEM[(struct Rooted * *)cx_119(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp: In function 'DebuggerObject_getProto(JSContext*, unsigned int, JS::Value*)': src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:6992:75: note: 'refobj' declared here 6992 | THIS_DEBUGOBJECT_OWNER_REFERENT(cx, argc, vp, "get proto", args, dbg, refobj); | ^~~~~~ src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:6992:75: note: 'cx_119(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::NativeObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'DebuggerSource_getElementProperty(JSContext*, unsigned int, JS::Value*)' at src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:5955:5: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'obj' in 'MEM[(struct Rooted * *)cx_68(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp: In function 'DebuggerSource_getElementProperty(JSContext*, unsigned int, JS::Value*)': src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:5955:81: note: 'obj' declared here 5955 | THIS_DEBUGSOURCE_REFERENT(cx, argc, vp, "(get elementAttributeName)", args, obj, sourceObject); | ^~~ src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:5955:81: note: 'cx_68(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::NativeObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'DebuggerSource_getElement(JSContext*, unsigned int, JS::Value*)' at src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:5940:5: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'obj' in 'MEM[(struct Rooted * *)cx_72(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp: In function 'DebuggerSource_getElement(JSContext*, unsigned int, JS::Value*)': src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:5940:68: note: 'obj' declared here 5940 | THIS_DEBUGSOURCE_REFERENT(cx, argc, vp, "(get element)", args, obj, sourceObject); | ^~~ src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:5940:68: note: 'cx_72(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'DebuggerScript_getGlobal(JSContext*, unsigned int, JS::Value*)' at src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:4819:5: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'obj' in 'MEM[(struct Rooted * *)cx_85(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp: In function 'DebuggerScript_getGlobal(JSContext*, unsigned int, JS::Value*)': src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:4819:65: note: 'obj' declared here 4819 | THIS_DEBUGSCRIPT_SCRIPT(cx, argc, vp, "(get global)", args, obj, script); | ^~~ src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:4819:65: note: 'cx_85(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'DebuggerScript_getDisplayName(JSContext*, unsigned int, JS::Value*)' at src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:4730:5: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'obj' in 'MEM[(struct Rooted * *)cx_86(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp: In function 'DebuggerScript_getDisplayName(JSContext*, unsigned int, JS::Value*)': src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:4730:70: note: 'obj' declared here 4730 | THIS_DEBUGSCRIPT_SCRIPT(cx, argc, vp, "(get displayName)", args, obj, script); | ^~~ src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:4730:70: note: 'cx_86(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::NativeObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'DebuggerFrame_getThis(JSContext*, unsigned int, JS::Value*)' at src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:6351:5: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'thisobj' in 'MEM[(struct Rooted * *)cx_143(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp: In function 'DebuggerFrame_getThis(JSContext*, unsigned int, JS::Value*)': src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:6351:53: note: 'thisobj' declared here 6351 | THIS_FRAME_ITER(cx, argc, vp, "get this", args, thisobj, _, iter); | ^~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:6351:53: note: 'cx_143(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::NativeObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'DebuggerFrame_getCallee(JSContext*, unsigned int, JS::Value*)' at src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:6324:5: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'thisobj' in 'MEM[(struct Rooted * *)cx_102(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp: In function 'DebuggerFrame_getCallee(JSContext*, unsigned int, JS::Value*)': src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:6324:50: note: 'thisobj' declared here 6324 | THIS_FRAME(cx, argc, vp, "get callee", args, thisobj, frame); | ^~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:6324:50: note: 'cx_102(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'DebuggerArguments_getArg(JSContext*, unsigned int, JS::Value*)' at src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:6398:61: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'argsobj' in 'MEM[(struct Rooted * *)cx_227(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp: In function 'DebuggerArguments_getArg(JSContext*, unsigned int, JS::Value*)': src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:6398:18: note: 'argsobj' declared here 6398 | RootedObject argsobj(cx, NonNullObject(cx, args.thisv())); | ^~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:6398:18: note: 'cx_227(D)' declared here src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'DebuggerScript_getSource(JSContext*, unsigned int, JS::Value*)' at src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:4788:5: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'obj' in 'MEM[(struct Rooted * *)cx_87(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp: In function 'DebuggerScript_getSource(JSContext*, unsigned int, JS::Value*)': src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:4788:65: note: 'obj' declared here 4788 | THIS_DEBUGSCRIPT_SCRIPT(cx, argc, vp, "(get source)", args, obj, script); | ^~~ src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:4788:65: note: 'cx_87(D)' declared here In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call g++ -o build/fedora/mongo/db/repl/apply_ops_gen.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc build/fedora/mongo/db/repl/apply_ops_gen.cpp g++ -o build/fedora/mongo/db/repl/apply_ops.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/repl/apply_ops.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from build/fedora/mongo/db/repl/apply_ops_gen.cpp:16: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from build/fedora/mongo/db/repl/apply_ops_gen.h:16, from build/fedora/mongo/db/repl/apply_ops_gen.cpp:9: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/bson/bsonobj.h:44, from src/mongo/db/repl/apply_ops.h:32, from src/mongo/db/repl/apply_ops.cpp:33: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/plan_cache.h:35, from src/mongo/db/catalog/collection_info_cache.h:33, from src/mongo/db/catalog/collection.h:41, from src/mongo/db/repl/apply_ops.cpp:36: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ 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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ 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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, unsigned int, mongo::StringMapTraits>': src/mongo/db/op_observer.h:310:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long unsigned int, mongo::StringMapTraits>': src/mongo/db/views/view_graph.h:177:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/db/views/view_catalog.h:174:13: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Collection*, mongo::StringMapTraits>': src/mongo/db/catalog/database.h:165:38: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Top::CollectionData, mongo::StringMapTraits>': src/mongo/db/stats/top.h:150:14: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from /usr/include/string.h:535, from /usr/include/c++/12/cstring:42, from src/mongo/base/data_range.h:30: In function 'memcpy', inlined from 'mongo::StringData::copyTo(char*, bool) const' at src/mongo/base/string_data.h:266:15, inlined from 'mongo::StringBuilderImpl::append(mongo::StringData)' at src/mongo/bson/util/builder.h:484:19, inlined from 'mongo::StringBuilderImpl::appendIntegral(int, int)mongo::StringBuilderImpl&' at src/mongo/bson/util/builder.h:518:19, inlined from 'mongo::StringBuilderImpl::appendIntegral(int, int)mongo::StringBuilderImpl&' at src/mongo/bson/util/builder.h:512:24, inlined from 'mongo::StringBuilderImpl::operator<<(int)' at src/mongo/bson/util/builder.h:402:30, inlined from 'mongo::BSONObjBuilder::numStr[abi:cxx11](int)' at src/mongo/bson/bsonobjbuilder.h:719:14, inlined from 'mongo::BSONObjBuilder::append(mongo::StringData, std::vector > const&)mongo::BSONObjBuilder& [clone .isra.0]' at src/mongo/bson/bsonobjbuilder.h:958:26: /usr/include/bits/string_fortified.h:29:33: warning: 'memcpy' offset [0, 511] is out of the bounds [0, 0] [-Warray-bounds] 29 | return __builtin___memcpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 30 | __glibc_objsize0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -o build/fedora/mongo/db/repl/oplog.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/repl/oplog.cpp In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/bson/bsonobj.h:44, from src/mongo/db/repl/oplog.h:35, from src/mongo/db/repl/oplog.cpp:33: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/plan_cache.h:35, from src/mongo/db/catalog/collection_info_cache.h:33, from src/mongo/db/catalog/collection.h:41, from src/mongo/db/repl/oplog.cpp:48: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, unsigned int, mongo::StringMapTraits>': src/mongo/db/op_observer.h:310:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::vector, mongo::StringMapTraits>': src/mongo/db/catalog/uuid_catalog.h:234:44: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::vector; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::vector; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::vector; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::vector; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long unsigned int, mongo::StringMapTraits>': src/mongo/db/views/view_graph.h:177:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/db/views/view_catalog.h:174:13: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Collection*, mongo::StringMapTraits>': src/mongo/db/catalog/database.h:165:38: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Top::CollectionData, mongo::StringMapTraits>': src/mongo/db/stats/top.h:150:14: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::repl::ReplSetTagPattern, mongo::StringMapTraits>': src/mongo/db/repl/repl_set_config.h:402:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::repl::ReplSetTagPattern; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::repl::ReplSetTagPattern; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::repl::ReplSetTagPattern; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::repl::ReplSetTagPattern; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/mongo/db/initialize_snmp.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/initialize_snmp.cpp g++ -o build/fedora/mongo/db/auth/security_file.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/auth/security_file.cpp ar rcsTD build/fedora/mongo/db/auth/libsecurity_file.a build/fedora/mongo/db/auth/security_file.o Skipping ranlib for thin archive build/fedora/mongo/db/auth/libsecurity_file.a g++ -o build/fedora/mongo/s/query/cluster_query_knobs.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/s/query/cluster_query_knobs.cpp In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call g++ -o build/fedora/mongo/s/query/cluster_find.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/s/query/cluster_find.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/query_solution.h:36, from src/mongo/db/query/plan_executor.h:37, from src/mongo/db/clientcursor.h:38, from src/mongo/db/query/cursor_response.h:36, from src/mongo/s/query/cluster_find.h:35, from src/mongo/s/query/cluster_find.cpp:33: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/bson/bsonobj.h:44, from src/mongo/s/query/cluster_find.h:33: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36, from src/mongo/db/query/plan_cache.h:35, from src/mongo/db/query/query_solution.h:38: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/s/catalog_cache.h:377:21: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/s/catalog_cache.h:379:24: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/s/catalog_cache.h:379:24: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/s/catalog_cache.h:379:24: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/s/query/cluster_find.cpp: In function 'mongo::StatusWith > mongo::{anonymous}::transformQueryForShards(const mongo::QueryRequest&, bool)': src/mongo/s/query/cluster_find.cpp:168:21: warning: redundant move in return statement [-Wredundant-move] 168 | return std::move(newQR); | ~~~~~~~~~^~~~~~~ src/mongo/s/query/cluster_find.cpp:168:21: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call ar rcsTD build/fedora/mongo/db/repl/liboplog.a build/fedora/mongo/db/repl/apply_ops.o build/fedora/mongo/db/repl/do_txn.o build/fedora/mongo/db/repl/oplog.o build/fedora/mongo/db/repl/apply_ops_gen.o Skipping ranlib for thin archive build/fedora/mongo/db/repl/liboplog.a g++ -o build/fedora/mongo/util/stacktrace_posix.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/util/stacktrace_posix.cpp In file included from /usr/include/string.h:535, from /usr/include/c++/12/cstring:42, from src/mongo/base/string_data.h:33, from build/fedora/mongo/base/error_codes.h:35, from src/mongo/base/status.h:33, from src/mongo/base/initializer_function.h:30, from src/mongo/base/global_initializer_registerer.h:34, from src/mongo/base/init.h:45, from src/mongo/util/stacktrace_posix.cpp:40: In function 'memcpy', inlined from 'mongo::StringData::copyTo(char*, bool) const' at src/mongo/base/string_data.h:266:15, inlined from 'mongo::StringBuilderImpl::append(mongo::StringData)' at src/mongo/bson/util/builder.h:484:19, inlined from 'mongo::StringBuilderImpl::appendIntegral(int, int)mongo::StringBuilderImpl&' at src/mongo/bson/util/builder.h:518:19, inlined from 'mongo::StringBuilderImpl::appendIntegral(int, int)mongo::StringBuilderImpl&' at src/mongo/bson/util/builder.h:512:24, inlined from 'mongo::StringBuilderImpl::operator<<(int)' at src/mongo/bson/util/builder.h:402:30, inlined from 'mongo::BSONObjBuilder::numStr[abi:cxx11](int)' at src/mongo/bson/bsonobjbuilder.h:719:14, inlined from 'mongo::BSONObjBuilder::append(mongo::StringData, std::vector > const&)mongo::BSONObjBuilder&' at src/mongo/bson/bsonobjbuilder.h:958:26, inlined from 'mongo::BSONObjBuilderValueStream::operator<< > >(std::vector >)mongo::BSONObjBuilder&' at src/mongo/bson/bsonobjbuilder.h:1048:21, inlined from 'mongo::(anonymous namespace)::_mongoInitializerFunction_ExtractSOMap(mongo::InitializerContext*)' at src/mongo/util/stacktrace_posix.cpp:263:47: /usr/include/bits/string_fortified.h:29:33: warning: 'memcpy' offset [0, 511] is out of the bounds [0, 0] [-Warray-bounds] 29 | return __builtin___memcpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 30 | __glibc_objsize0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -o build/fedora/mongo/util/icu.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n -Isrc/third_party/asio-master/asio/include -Ibuild/fedora -Isrc src/mongo/util/icu.cpp ar rcsTD build/fedora/mongo/util/libicu.a build/fedora/mongo/util/icu.o Skipping ranlib for thin archive build/fedora/mongo/util/libicu.a gcc -o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_sqrt.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -DUSE_COMPILER_F80_TYPE=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -Dlinux=1 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_sqrt.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C ar rcsTD build/fedora/mongo/s/query/libcluster_query.a build/fedora/mongo/s/query/cluster_find.o build/fedora/mongo/s/query/cluster_query_knobs.o Skipping ranlib for thin archive build/fedora/mongo/s/query/libcluster_query.a g++ -o build/fedora/mongo/client/sasl_client_conversation.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/client/sasl_client_conversation.cpp gcc -o build/fedora/third_party/wiredtiger/src/cursor/cur_backup.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/fedora/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/fedora/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/fedora/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/cursor/cur_backup.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C g++ -o build/fedora/mongo/db/repl/rollback_gen.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc build/fedora/mongo/db/repl/rollback_gen.cpp g++ -o build/fedora/third_party/icu4c-57.1/source/i18n/rbt_set.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/rbt_set.cpp gcc -o build/fedora/third_party/icu4c-57.1/source/common/uenum.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/uenum.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C g++ -o build/fedora/mongo/util/summation.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/asio-master/asio/include -Ibuild/fedora -Isrc src/mongo/util/summation.cpp g++ -o build/fedora/mongo/s/async_requests_sender.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/s/async_requests_sender.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from build/fedora/mongo/db/repl/rollback_gen.cpp:16: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from build/fedora/mongo/db/repl/rollback_gen.h:16, from build/fedora/mongo/db/repl/rollback_gen.cpp:9: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call g++ -o build/fedora/mongo/executor/network_interface_factory.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/executor/network_interface_factory.cpp gcc -o build/fedora/third_party/wiredtiger/src/schema/schema_create.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/fedora/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/fedora/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/fedora/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/schema/schema_create.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C g++ -o build/fedora/third_party/mozjs-45/extract/js/src/jsatom.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -Wno-non-virtual-dtor -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -include js-confdefs.h -Wno-invalid-offsetof -fPIE -DIMPL_MFBT -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=1 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora/third_party/mozjs-45/extract/js/src -Isrc/third_party/mozjs-45/extract/js/src -Ibuild/fedora/third_party/mozjs-45/extract/mfbt -Isrc/third_party/mozjs-45/extract/mfbt -Ibuild/fedora/third_party/mozjs-45/extract/intl/icu/source/common -Isrc/third_party/mozjs-45/extract/intl/icu/source/common -Ibuild/fedora/third_party/mozjs-45/include -Isrc/third_party/mozjs-45/include -Ibuild/fedora/third_party/mozjs-45/mongo_sources -Isrc/third_party/mozjs-45/mongo_sources -Ibuild/fedora/third_party/mozjs-45/platform/x86_64/linux/build -Isrc/third_party/mozjs-45/platform/x86_64/linux/build -Ibuild/fedora/third_party/mozjs-45/platform/x86_64/linux/include -Isrc/third_party/mozjs-45/platform/x86_64/linux/include src/third_party/mozjs-45/extract/js/src/jsatom.cpp g++ -o build/fedora/mongo/db/views/view.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/views/view.cpp In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jsatominlines.h:15, from src/third_party/mozjs-45/extract/js/src/jsatom.cpp:11: src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1040:19: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 1040 | memcpy(&elements_[dstStart], src, count * sizeof(HeapSlot)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/jsatominlines.h:10: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here 650 | class HeapSlot : public WriteBarrieredBase | ^~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1048:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 1048 | memcpy(&elements_[dstStart], src, count * sizeof(HeapSlot)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here 650 | class HeapSlot : public WriteBarrieredBase | ^~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1082:20: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 1082 | memmove(elements_ + dstStart, elements_ + srcStart, count * sizeof(HeapSlot)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here 650 | class HeapSlot : public WriteBarrieredBase | ^~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1094:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 1094 | memmove(elements_ + dstStart, elements_ + srcStart, count * sizeof(Value)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here 650 | class HeapSlot : public WriteBarrieredBase | ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsatom.cpp:28: src/third_party/mozjs-45/extract/js/src/jsobjinlines.h: In static member function 'static JSObject* JSObject::create(js::ExclusiveContext*, js::gc::AllocKind, js::gc::InitialHeap, js::HandleShape, js::HandleObjectGroup)': src/third_party/mozjs-45/extract/js/src/jsobjinlines.h:355:15: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::HeapSlot'; use assignment instead [-Wclass-memaccess] 355 | memset(obj->as().fixedSlots(), 0, size - sizeof(js::NativeObject)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here 650 | class HeapSlot : public WriteBarrieredBase | ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/CallArgs.h:38, from src/third_party/mozjs-45/include/js/CallNonGenericMethod.h:12, from src/third_party/mozjs-45/extract/js/src/NamespaceImports.h:15, from src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:10: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': src/third_party/mozjs-45/include/js/MemoryMetrics.h:40:34: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/gc/StoreBuffer.h:18, from src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:13: src/third_party/mozjs-45/include/js/MemoryMetrics.h:31:8: note: 'struct JS::TabSizes' declared here 31 | struct TabSizes | ^~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::ServoSizes]': src/third_party/mozjs-45/include/js/MemoryMetrics.h:71:36: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::ServoSizes'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/MemoryMetrics.h:59:8: note: 'struct JS::ServoSizes' declared here 59 | struct ServoSizes | ^~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JSSubString]': src/third_party/mozjs-45/extract/js/src/jsstr.h:73:37: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JSSubString'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/TraceLoggingTypes.h:11, from src/third_party/mozjs-45/extract/js/src/vm/TraceLoggingGraph.h:15, from src/third_party/mozjs-45/extract/js/src/vm/TraceLogging.h:19, from src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:22, from src/third_party/mozjs-45/extract/js/src/jsscript.h:24: src/third_party/mozjs-45/extract/js/src/jsstr.h:68:8: note: 'struct JSSubString' declared here 68 | struct JSSubString { | ^~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::PreliminaryObjectArray]': src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:808:25: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::PreliminaryObjectArray'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:23: src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:796:7: note: 'class js::PreliminaryObjectArray' declared here 796 | class PreliminaryObjectArray | ^~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::TypeNewScript]': src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:939:39: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::TypeNewScript' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:886:7: note: 'class js::TypeNewScript' declared here 886 | class TypeNewScript | ^~~~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:699:25: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:686:8: note: 'struct js::jit::IonScriptCounts' declared here 686 | struct IonScriptCounts | ^~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': src/third_party/mozjs-45/extract/js/src/vm/String.h:1092:25: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/Shape.h:32, from src/third_party/mozjs-45/extract/js/src/jsobj.h:27, from src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:16: src/third_party/mozjs-45/extract/js/src/vm/String.h:1074:7: note: 'class js::StaticStrings' declared here 1074 | class StaticStrings | ^~~~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': src/third_party/mozjs-45/extract/js/src/vm/Shape.h:392:25: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/Shape.h:323:7: note: 'class js::BaseShape' declared here 323 | class BaseShape : public gc::TenuredCell | ^~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:293:40: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:244:7: note: 'class js::NewObjectCache' declared here 244 | class NewObjectCache | ^~~~~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::Address]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:290:33: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::Address'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/Safepoints.h:12, from src/third_party/mozjs-45/extract/js/src/jit/JitFrames.h:16, from src/third_party/mozjs-45/extract/js/src/jscntxtinlines.h:16, from src/third_party/mozjs-45/extract/js/src/jsatom.cpp:26: src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:282:8: note: 'struct js::jit::Address' declared here 282 | struct Address | ^~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::BaseIndex]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:306:35: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::BaseIndex'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:295:8: note: 'struct js::jit::BaseIndex' declared here 295 | struct BaseIndex | ^~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::CodeOffsetJump]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:513:25: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::jit::CodeOffsetJump'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:491:7: note: 'class js::jit::CodeOffsetJump' declared here 491 | class CodeOffsetJump | ^~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/include/js/TracingAPI.h:12, from src/third_party/mozjs-45/include/js/TraceableVector.h:13, from src/third_party/mozjs-45/extract/js/src/NamespaceImports.h:16: src/third_party/mozjs-45/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': src/third_party/mozjs-45/include/js/HashTable.h:186:67: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' src/third_party/mozjs-45/extract/js/src/vm/SPSProfiler.h:256:18: required from here src/third_party/mozjs-45/include/js/HashTable.h:1550:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] 1550 | memset(table, 0, sizeof(*table) * capacity()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/HashTable.h:722:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here 722 | class HashTableEntry | ^~~~~~~~~~~~~~ g++ -o build/fedora/mongo/db/views/view_graph.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/views/view_graph.cpp In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/bson/timestamp.h:31, from src/mongo/db/repl/optime.h:33, from src/mongo/db/namespace_string.h:38, from src/mongo/db/views/view_graph.h:34, from src/mongo/db/views/view_graph.cpp:31: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long unsigned int, mongo::StringMapTraits>': src/mongo/db/views/view_graph.h:177:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ /usr/bin/python3 buildscripts/idl/idlc.py --include src --base_dir build/fedora --target_arch x86_64 --header build/fedora/mongo/s/request_types/create_database_gen.h --output build/fedora/mongo/s/request_types/create_database_gen.cpp src/mongo/s/request_types/create_database.idl g++ -o build/fedora/mongo/db/s/config/configsvr_create_database_command.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/s/config/configsvr_create_database_command.cpp ar rcsTD build/fedora/mongo/db/views/libviews.a build/fedora/mongo/db/views/view.o build/fedora/mongo/db/views/view_catalog.o build/fedora/mongo/db/views/view_graph.o build/fedora/mongo/db/views/resolved_view.o Skipping ranlib for thin archive build/fedora/mongo/db/views/libviews.a g++ -o build/fedora/mongo/db/single_transaction_stats.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/single_transaction_stats.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/db/s/config/configsvr_create_database_command.cpp:40: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/bson/mutable/element.h:34, from src/mongo/db/auth/privilege.h:32, from src/mongo/db/audit.h:37, from src/mongo/db/s/config/configsvr_create_database_command.cpp:35: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/db/curop.h:35, from src/mongo/db/single_transaction_stats.h:31, from src/mongo/db/single_transaction_stats.cpp:31: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/bson/mutable/element.h:34, from src/mongo/db/auth/privilege.h:32, from src/mongo/db/commands.h:39: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ 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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/db/s/config/namespace_serializer.h:73:40: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ 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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/s/catalog_cache.h:377:21: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/s/catalog_cache.h:379:24: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/s/catalog_cache.h:379:24: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/s/catalog_cache.h:379:24: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call g++ -o build/fedora/third_party/icu4c-57.1/source/common/dictbe.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/dictbe.cpp g++ -o build/fedora/mongo/crypto/sha1_block.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/crypto/sha1_block.cpp g++ -o build/fedora/mongo/db/create_indexes_gen.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc build/fedora/mongo/db/create_indexes_gen.cpp /usr/bin/python3 buildscripts/idl/idlc.py --include src --base_dir build/fedora --target_arch x86_64 --header build/fedora/mongo/db/pipeline/document_sources_gen.h --output build/fedora/mongo/db/pipeline/document_sources_gen.cpp src/mongo/db/pipeline/document_sources.idl g++ -o build/fedora/mongo/db/pipeline/document_source_change_stream_transform.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/pipeline/document_source_change_stream_transform.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from build/fedora/mongo/db/create_indexes_gen.cpp:16: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from build/fedora/mongo/db/create_indexes_gen.h:16, from build/fedora/mongo/db/create_indexes_gen.cpp:9: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/bson/bsonobj.h:44, from src/mongo/bson/bsonobj_comparator_interface.h:32, from src/mongo/bson/simple_bsonobj_comparator.h:34, from src/mongo/db/pipeline/document_source.h:41, from src/mongo/db/pipeline/document_source_change_stream_transform.h:31, from src/mongo/db/pipeline/document_source_change_stream_transform.cpp:33: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/db/pipeline/document_source.h:44: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, unsigned int, mongo::StringMapTraits>': src/mongo/db/op_observer.h:310:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::vector, mongo::StringMapTraits>': src/mongo/db/catalog/uuid_catalog.h:234:44: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::vector; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::vector; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::vector; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::vector; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/s/catalog_cache.h:377:21: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/s/catalog_cache.h:379:24: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/s/catalog_cache.h:379:24: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/s/catalog_cache.h:379:24: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ ar rcsTD build/fedora/mongo/db/libsessions_collection.a build/fedora/mongo/db/sessions_collection.o build/fedora/mongo/db/create_indexes_gen.o Skipping ranlib for thin archive build/fedora/mongo/db/libsessions_collection.a g++ -o build/fedora/mongo/db/s/collection_sharding_state.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/s/collection_sharding_state.cpp In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/bson/timestamp.h:31, from src/mongo/db/repl/optime.h:33, from src/mongo/db/namespace_string.h:38, from src/mongo/db/s/collection_sharding_state.h:32, from src/mongo/db/s/collection_sharding_state.cpp:33: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ChunkVersion, mongo::StringMapTraits>': src/mongo/db/s/operation_sharding_state.h:184:29: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ChunkVersion; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ChunkVersion; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ChunkVersion; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ChunkVersion; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::DatabaseVersion, mongo::StringMapTraits>': src/mongo/db/s/operation_sharding_state.h:185:32: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::DatabaseVersion; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::DatabaseVersion; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::DatabaseVersion; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::DatabaseVersion; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/db/s/collection_sharding_state.cpp:88:20: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/third_party/icu4c-57.1/source/i18n/decimfmtimpl.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/decimfmtimpl.cpp g++ -o build/fedora/mongo/db/repl/repl_set_commands.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/repl/repl_set_commands.cpp gcc -o build/fedora/third_party/icu4c-57.1/source/common/ustrfmt.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/ustrfmt.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C g++ -o build/fedora/mongo/s/sharding_task_executor.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/s/sharding_task_executor.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/db/repl/repl_set_command.h:33, from src/mongo/db/repl/repl_set_commands.cpp:37: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/bson/mutable/element.h:34, from src/mongo/db/auth/privilege.h:32, from src/mongo/db/commands.h:39: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ ar rcsTD build/fedora/mongo/s/libsharding_task_executor.a build/fedora/mongo/s/sharding_task_executor.o Skipping ranlib for thin archive build/fedora/mongo/s/libsharding_task_executor.a g++ -o build/fedora/mongo/db/commands/server_status_internal.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/commands/server_status_internal.cpp src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, unsigned int, mongo::StringMapTraits>': src/mongo/db/op_observer.h:310:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::repl::ReplSetTagPattern, mongo::StringMapTraits>': src/mongo/db/repl/repl_set_config.h:402:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::repl::ReplSetTagPattern; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::repl::ReplSetTagPattern; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::repl::ReplSetTagPattern; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::repl::ReplSetTagPattern; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/mongo/db/ops/update_result.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/ops/update_result.cpp In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call g++ -o build/fedora/mongo/db/commands/fsync_locked.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/commands/fsync_locked.cpp g++ -o build/fedora/mongo/db/storage/wiredtiger/wiredtiger_customization_hooks.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/storage/wiredtiger/wiredtiger_customization_hooks.cpp g++ -o build/fedora/mongo/db/commands/list_collections_filter.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/commands/list_collections_filter.cpp In file included from /usr/include/string.h:535, from /usr/include/boost/range/detail/implementation_help.hpp:18, from /usr/include/boost/range/end.hpp:20, from /usr/include/boost/algorithm/string/trim.hpp:17, from /usr/include/boost/algorithm/string.hpp:19, from src/mongo/db/repl/repl_set_commands.cpp:35: In function 'memcpy', inlined from 'mongo::StringData::copyTo(char*, bool) const' at src/mongo/base/string_data.h:266:15, inlined from 'mongo::StringBuilderImpl::append(mongo::StringData)' at src/mongo/bson/util/builder.h:484:19, inlined from 'mongo::StringBuilderImpl::appendIntegral(int, int)mongo::StringBuilderImpl&' at src/mongo/bson/util/builder.h:518:19, inlined from 'mongo::StringBuilderImpl::appendIntegral(int, int)mongo::StringBuilderImpl&' at src/mongo/bson/util/builder.h:512:24, inlined from 'mongo::StringBuilderImpl::operator<<(int)' at src/mongo/bson/util/builder.h:402:30, inlined from 'mongo::BSONObjBuilder::numStr[abi:cxx11](int)' at src/mongo/bson/bsonobjbuilder.h:719:14, inlined from 'mongo::repl::CmdReplSetInitiate::run(mongo::OperationContext*, std::__cxx11::basic_string, std::allocator > const&, mongo::BSONObj const&, mongo::BSONObjBuilder&)' at src/mongo/db/repl/repl_set_commands.cpp:334:54: /usr/include/bits/string_fortified.h:29:33: warning: 'memcpy' offset [0, 511] is out of the bounds [0, 0] [-Warray-bounds] 29 | return __builtin___memcpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 30 | __glibc_objsize0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -o build/fedora/mongo/db/query/datetime/date_time_support.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/timelib-2018.01alpha1 -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/query/datetime/date_time_support.cpp ar rcsTD build/fedora/mongo/db/commands/liblist_collections_filter.a build/fedora/mongo/db/commands/list_collections_filter.o Skipping ranlib for thin archive build/fedora/mongo/db/commands/liblist_collections_filter.a g++ -o build/fedora/mongo/db/query/query_knobs.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/query/query_knobs.cpp In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from build/fedora/mongo/db/logical_session_id_gen.h:16, from src/mongo/db/logical_session_id.h:34, from src/mongo/db/service_context.h:36, from src/mongo/db/query/datetime/date_time_support.h:35, from src/mongo/db/query/datetime/date_time_support.cpp:36: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ ar rcsTD build/fedora/mongo/db/query/libquery_knobs.a build/fedora/mongo/db/query/query_knobs.o Skipping ranlib for thin archive build/fedora/mongo/db/query/libquery_knobs.a g++ -o build/fedora/mongo/db/stats/latency_server_status_section.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/stats/latency_server_status_section.cpp g++ -o build/fedora/mongo/bson/mutable/element.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/bson/mutable/element.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/db/commands/server_status.h:33, from src/mongo/db/stats/latency_server_status_section.cpp:31: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/bson/mutable/element.h:34, from src/mongo/db/auth/privilege.h:32, from src/mongo/db/commands.h:39: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/third_party/icu4c-57.1/source/i18n/dtitvinf.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/dtitvinf.cpp g++ -o build/fedora/mongo/db/stats/top.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/stats/top.cpp src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Top::CollectionData, mongo::StringMapTraits>': src/mongo/db/stats/top.h:150:14: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/db/stats/top.h:34, from src/mongo/db/stats/top.cpp:34: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/bson/mutable/element.h:34, from src/mongo/db/auth/privilege.h:32, from src/mongo/db/commands.h:39: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/mongo/db/stats/operation_latency_histogram.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/stats/operation_latency_histogram.cpp src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Top::CollectionData, mongo::StringMapTraits>': src/mongo/db/stats/top.h:150:14: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/db/stats/operation_latency_histogram.h:32, from src/mongo/db/stats/operation_latency_histogram.cpp:31: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/bson/mutable/element.h:34, from src/mongo/db/auth/privilege.h:32, from src/mongo/db/commands.h:39: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call g++ -o build/fedora/mongo/s/is_mongos.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/s/is_mongos.cpp g++ -o build/fedora/mongo/db/ops/find_and_modify_result.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/ops/find_and_modify_result.cpp ar rcsTD build/fedora/mongo/db/stats/libtop.a build/fedora/mongo/db/stats/top.o build/fedora/mongo/db/stats/operation_latency_histogram.o Skipping ranlib for thin archive build/fedora/mongo/db/stats/libtop.a gcc -o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid_convert_data.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -DUSE_COMPILER_F80_TYPE=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -Dlinux=1 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid_convert_data.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C g++ -o build/fedora/third_party/s2/s2r2rect.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -DDEBUG_MODE=false -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/third_party/s2/s2r2rect.cc g++ -o build/fedora/mongo/db/repair_database_and_check_version.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/repair_database_and_check_version.cpp g++ -o build/fedora/mongo/db/commands/profile_common.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/commands/profile_common.cpp In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/bson/bsonobj.h:44, from src/mongo/db/catalog/create_collection.h:32, from src/mongo/db/repair_database_and_check_version.cpp:35: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/plan_cache.h:35, from src/mongo/db/catalog/collection_info_cache.h:33, from src/mongo/db/catalog/collection.h:41, from src/mongo/db/catalog/database.h:38, from src/mongo/db/repair_database_and_check_version.cpp:36: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/db/commands/profile_common.h:32, from src/mongo/db/commands/profile_common.cpp:32: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/db/server_options.h:30, from src/mongo/base/secure_allocator.h:40, from src/mongo/db/auth/authorization_manager.h:35, from src/mongo/db/auth/authorization_session.h:38, from src/mongo/db/commands/profile_common.cpp:31: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ 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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ 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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, unsigned int, mongo::StringMapTraits>': src/mongo/db/op_observer.h:310:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long unsigned int, mongo::StringMapTraits>': src/mongo/db/views/view_graph.h:177:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/db/views/view_catalog.h:174:13: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Collection*, mongo::StringMapTraits>': src/mongo/db/catalog/database.h:165:38: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::pair >, std::vector > >, mongo::StringMapTraits>': src/mongo/db/repair_database_and_check_version.cpp:257:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::pair >, std::vector > >; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::pair >, std::vector > >; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::pair >, std::vector > >; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::pair >, std::vector > >; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call ar rcsTD build/fedora/mongo/db/commands/libprofile_common.a build/fedora/mongo/db/commands/profile_common.o build/fedora/mongo/db/commands/profile_gen.o Skipping ranlib for thin archive build/fedora/mongo/db/commands/libprofile_common.a g++ -o build/fedora/mongo/db/storage/mmap_v1/btree/btree_logic.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/storage/mmap_v1/btree/btree_logic.cpp gcc -o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_to_uint64.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -DUSE_COMPILER_F80_TYPE=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -Dlinux=1 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_to_uint64.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C g++ -o build/fedora/mongo/db/wire_version.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/wire_version.cpp ar rcsTD build/fedora/mongo/db/libwire_version.a build/fedora/mongo/db/wire_version.o Skipping ranlib for thin archive build/fedora/mongo/db/libwire_version.a g++ -o build/fedora/mongo/db/catalog/collection.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/catalog/collection.cpp g++ -o build/fedora/third_party/icu4c-57.1/source/common/uresbund.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/uresbund.cpp In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/bson/timestamp.h:31, from src/mongo/db/catalog/collection.h:39, from src/mongo/db/catalog/collection.cpp:33: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/plan_cache.h:35, from src/mongo/db/catalog/collection_info_cache.h:33, from src/mongo/db/catalog/collection.h:41: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call g++ -o build/fedora/mongo/db/index/btree_access_method.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/index/btree_access_method.cpp 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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, unsigned int, mongo::StringMapTraits>': src/mongo/db/op_observer.h:310:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ ar rcsTD build/fedora/mongo/db/libinitialize_snmp.a build/fedora/mongo/db/initialize_snmp.o Skipping ranlib for thin archive build/fedora/mongo/db/libinitialize_snmp.a gcc -o build/fedora/third_party/wiredtiger/src/block/block_ckpt.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/fedora/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/fedora/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/fedora/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/block/block_ckpt.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C g++ -o build/fedora/mongo/db/s/start_chunk_clone_request.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/s/start_chunk_clone_request.cpp In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call gcc -o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_ldexp.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -DUSE_COMPILER_F80_TYPE=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -Dlinux=1 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_ldexp.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C g++ -o build/fedora/third_party/icu4c-57.1/source/common/chariter.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/chariter.cpp ar rcsTD build/fedora/mongo/db/catalog/libcollection.a build/fedora/mongo/db/catalog/collection.o Skipping ranlib for thin archive build/fedora/mongo/db/catalog/libcollection.a g++ -o build/fedora/mongo/util/fast_clock_source_factory.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/asio-master/asio/include -Ibuild/fedora -Isrc src/mongo/util/fast_clock_source_factory.cpp g++ -o build/fedora/third_party/shim_allocator.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS src/third_party/shim_allocator.cpp ar rcsTD build/fedora/third_party/libshim_allocator.a build/fedora/third_party/shim_allocator.o Skipping ranlib for thin archive build/fedora/third_party/libshim_allocator.a gcc -o build/fedora/third_party/wiredtiger/src/btree/bt_walk.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/fedora/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/fedora/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/fedora/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/btree/bt_walk.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C g++ -o build/fedora/mongo/s/catalog/sharding_catalog_client_impl.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/s/catalog/sharding_catalog_client_impl.cpp g++ -o build/fedora/mongo/db/index/sort_key_generator.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/index/sort_key_generator.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/s/catalog/sharding_catalog_client_impl.cpp:43: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/client/connection_string.h:38, from src/mongo/s/catalog/sharding_catalog_client_impl.h:31, from src/mongo/s/catalog/sharding_catalog_client_impl.cpp:33: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/third_party/icu4c-57.1/source/i18n/indiancal.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/indiancal.cpp g++ -o build/fedora/mongo/scripting/scripting_server.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/scripting/scripting_server.cpp ar rcsTD build/fedora/mongo/scripting/libscripting_server.a build/fedora/mongo/scripting/scripting_server.o Skipping ranlib for thin archive build/fedora/mongo/scripting/libscripting_server.a g++ -o build/fedora/mongo/db/pipeline/document_source_project.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/pipeline/document_source_project.cpp In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/bson/bsonobj.h:44, from src/mongo/bson/bsonobj_comparator_interface.h:32, from src/mongo/bson/simple_bsonobj_comparator.h:34, from src/mongo/db/pipeline/document_source.h:41, from src/mongo/db/pipeline/document_source_single_document_transformation.h:31, from src/mongo/db/pipeline/document_source_project.h:31, from src/mongo/db/pipeline/document_source_project.cpp:31: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/db/pipeline/document_source.h:44: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call ar rcsTD build/fedora/mongo/db/query/datetime/libdate_time_support.a build/fedora/mongo/db/query/datetime/date_time_support.o Skipping ranlib for thin archive build/fedora/mongo/db/query/datetime/libdate_time_support.a g++ -o build/fedora/mongo/db/catalog/drop_database.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/catalog/drop_database.cpp In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/bson/timestamp.h:31, from src/mongo/db/repl/optime.h:33, from src/mongo/db/namespace_string.h:38, from src/mongo/db/background.h:43, from src/mongo/db/catalog/drop_database.cpp:37: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/plan_cache.h:35, from src/mongo/db/catalog/collection_info_cache.h:33, from src/mongo/db/catalog/collection.h:41, from src/mongo/db/catalog_raii.h:32, from src/mongo/db/catalog/drop_database.cpp:38: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ g++ -o build/fedora/mongo/db/storage/devnull/devnull_init.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/storage/devnull/devnull_init.cpp src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, unsigned int, mongo::StringMapTraits>': src/mongo/db/op_observer.h:310:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long unsigned int, mongo::StringMapTraits>': src/mongo/db/views/view_graph.h:177:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/db/views/view_catalog.h:174:13: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src22.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -Wno-non-virtual-dtor -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -include js-confdefs.h -Wno-invalid-offsetof -fPIE -DIMPL_MFBT -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=1 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora/third_party/mozjs-45/extract/js/src -Isrc/third_party/mozjs-45/extract/js/src -Ibuild/fedora/third_party/mozjs-45/extract/mfbt -Isrc/third_party/mozjs-45/extract/mfbt -Ibuild/fedora/third_party/mozjs-45/extract/intl/icu/source/common -Isrc/third_party/mozjs-45/extract/intl/icu/source/common -Ibuild/fedora/third_party/mozjs-45/include -Isrc/third_party/mozjs-45/include -Ibuild/fedora/third_party/mozjs-45/mongo_sources -Isrc/third_party/mozjs-45/mongo_sources -Ibuild/fedora/third_party/mozjs-45/platform/x86_64/linux/build -Isrc/third_party/mozjs-45/platform/x86_64/linux/build -Ibuild/fedora/third_party/mozjs-45/platform/x86_64/linux/include -Isrc/third_party/mozjs-45/platform/x86_64/linux/include src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src22.cpp src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Collection*, mongo::StringMapTraits>': src/mongo/db/catalog/database.h:165:38: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/ArrayObject.h:10, from src/third_party/mozjs-45/extract/js/src/jsarray.h:15, from src/third_party/mozjs-45/extract/js/src/jsapi.cpp:22, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src22.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1040:19: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 1040 | memcpy(&elements_[dstStart], src, count * sizeof(HeapSlot)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsobj.h:21, from src/third_party/mozjs-45/extract/js/src/jsarray.h:12: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here 650 | class HeapSlot : public WriteBarrieredBase | ^~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1048:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 1048 | memcpy(&elements_[dstStart], src, count * sizeof(HeapSlot)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here 650 | class HeapSlot : public WriteBarrieredBase | ^~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1082:20: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 1082 | memmove(elements_ + dstStart, elements_ + srcStart, count * sizeof(HeapSlot)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here 650 | class HeapSlot : public WriteBarrieredBase | ^~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1094:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 1094 | memmove(elements_ + dstStart, elements_ + srcStart, count * sizeof(Value)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here 650 | class HeapSlot : public WriteBarrieredBase | ^~~~~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call In file included from src/third_party/mozjs-45/extract/js/src/vm/Interpreter-inl.h:20, from src/third_party/mozjs-45/extract/js/src/jsapi.cpp:90: src/third_party/mozjs-45/extract/js/src/jsobjinlines.h: In static member function 'static JSObject* JSObject::create(js::ExclusiveContext*, js::gc::AllocKind, js::gc::InitialHeap, js::HandleShape, js::HandleObjectGroup)': src/third_party/mozjs-45/extract/js/src/jsobjinlines.h:355:15: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::HeapSlot'; use assignment instead [-Wclass-memaccess] 355 | memset(obj->as().fixedSlots(), 0, size - sizeof(js::NativeObject)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here 650 | class HeapSlot : public WriteBarrieredBase | ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/extract/js/src/jsapi.h:25, from src/third_party/mozjs-45/extract/js/src/jsapi.cpp:11: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': src/third_party/mozjs-45/include/js/MemoryMetrics.h:40:34: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/gc/StoreBuffer.h:18, from src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:13: src/third_party/mozjs-45/include/js/MemoryMetrics.h:31:8: note: 'struct JS::TabSizes' declared here 31 | struct TabSizes | ^~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::ServoSizes]': src/third_party/mozjs-45/include/js/MemoryMetrics.h:71:36: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::ServoSizes'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/MemoryMetrics.h:59:8: note: 'struct JS::ServoSizes' declared here 59 | struct ServoSizes | ^~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::PreliminaryObjectArray]': src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:808:25: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::PreliminaryObjectArray'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/ObjectGroup.h:16, from src/third_party/mozjs-45/extract/js/src/vm/Shape.h:31, from src/third_party/mozjs-45/extract/js/src/jsobj.h:27: src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:796:7: note: 'class js::PreliminaryObjectArray' declared here 796 | class PreliminaryObjectArray | ^~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::TypeNewScript]': src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:939:39: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::TypeNewScript' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:886:7: note: 'class js::TypeNewScript' declared here 886 | class TypeNewScript | ^~~~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JSSubString]': src/third_party/mozjs-45/extract/js/src/jsstr.h:73:37: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JSSubString'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/String.h:16, from src/third_party/mozjs-45/extract/js/src/vm/Shape.h:32: src/third_party/mozjs-45/extract/js/src/jsstr.h:68:8: note: 'struct JSSubString' declared here 68 | struct JSSubString { | ^~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': src/third_party/mozjs-45/extract/js/src/vm/String.h:1092:25: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/String.h:1074:7: note: 'class js::StaticStrings' declared here 1074 | class StaticStrings | ^~~~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': src/third_party/mozjs-45/extract/js/src/vm/Shape.h:392:25: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/Shape.h:323:7: note: 'class js::BaseShape' declared here 323 | class BaseShape : public gc::TenuredCell | ^~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:699:25: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:24, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jsapi.cpp:25: src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:686:8: note: 'struct js::jit::IonScriptCounts' declared here 686 | struct IonScriptCounts | ^~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:293:40: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:244:7: note: 'class js::NewObjectCache' declared here 244 | class NewObjectCache | ^~~~~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::Address]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:290:33: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::Address'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/Safepoints.h:12, from src/third_party/mozjs-45/extract/js/src/jit/JitFrames.h:16, from src/third_party/mozjs-45/extract/js/src/jit/Bailouts.h:13, from src/third_party/mozjs-45/extract/js/src/jit/BaselineJIT.h:16, from src/third_party/mozjs-45/extract/js/src/jsscriptinlines.h:13, from src/third_party/mozjs-45/extract/js/src/jsapi.cpp:88: src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:282:8: note: 'struct js::jit::Address' declared here 282 | struct Address | ^~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::BaseIndex]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:306:35: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::BaseIndex'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:295:8: note: 'struct js::jit::BaseIndex' declared here 295 | struct BaseIndex | ^~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::CodeOffsetJump]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:513:25: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::jit::CodeOffsetJump'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:491:7: note: 'class js::jit::CodeOffsetJump' declared here 491 | class CodeOffsetJump | ^~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsalloc.h:18, from src/third_party/mozjs-45/extract/js/src/jsapi.h:24: src/third_party/mozjs-45/include/js/Utility.h: In instantiation of 'void js_delete_poison(const T*) [with T = JSContext]': src/third_party/mozjs-45/extract/js/src/jscntxt.cpp:184:21: required from here src/third_party/mozjs-45/include/js/Utility.h:365:15: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct JSContext' with no trivial copy-assignment [-Wclass-memaccess] 365 | memset(const_cast(p), 0x3B, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jscntxt.h:294:8: note: 'struct JSContext' declared here 294 | struct JSContext : public js::ExclusiveContext, | ^~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsapi.h:29: src/third_party/mozjs-45/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': src/third_party/mozjs-45/include/js/HashTable.h:186:67: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' src/third_party/mozjs-45/extract/js/src/vm/SPSProfiler.h:256:18: required from here src/third_party/mozjs-45/include/js/HashTable.h:1550:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] 1550 | memset(table, 0, sizeof(*table) * capacity()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/HashTable.h:722:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here 722 | class HashTableEntry | ^~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = const js::ReadBarriered; HashPolicy = js::HashSet, js::StackBaseShape, js::SystemAllocPolicy>::SetOps; AllocPolicy = js::SystemAllocPolicy]': src/third_party/mozjs-45/include/js/HashTable.h:424:67: required from 'void js::HashSet::clear() [with T = js::ReadBarriered; HashPolicy = js::StackBaseShape; AllocPolicy = js::SystemAllocPolicy]' src/third_party/mozjs-45/extract/js/src/jscompartment.cpp:877:25: required from here src/third_party/mozjs-45/include/js/HashTable.h:1550:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashSet, js::StackBaseShape, js::SystemAllocPolicy>::SetOps, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] 1550 | memset(table, 0, sizeof(*table) * capacity()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/HashTable.h:722:7: note: 'js::detail::HashTable, js::HashSet, js::StackBaseShape, js::SystemAllocPolicy>::SetOps, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here 722 | class HashTableEntry | ^~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = const js::InitialShapeEntry; HashPolicy = js::HashSet::SetOps; AllocPolicy = js::SystemAllocPolicy]': src/third_party/mozjs-45/include/js/HashTable.h:424:67: required from 'void js::HashSet::clear() [with T = js::InitialShapeEntry; HashPolicy = js::InitialShapeEntry; AllocPolicy = js::SystemAllocPolicy]' src/third_party/mozjs-45/extract/js/src/jscompartment.cpp:879:28: required from here src/third_party/mozjs-45/include/js/HashTable.h:1550:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable::SetOps, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry'} with no trivial copy-assignment [-Wclass-memaccess] 1550 | memset(table, 0, sizeof(*table) * capacity()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/HashTable.h:722:7: note: 'js::detail::HashTable::SetOps, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry'} declared here 722 | class HashTableEntry | ^~~~~~~~~~~~~~ gcc -o build/fedora/third_party/wiredtiger/src/cursor/cur_json.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/fedora/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/fedora/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/fedora/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/cursor/cur_json.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C g++ -o build/fedora/mongo/logger/message_event_utf8_encoder.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/logger/message_event_utf8_encoder.cpp g++ -o build/fedora/mongo/scripting/mozjs/objectwrapper.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -Wno-non-virtual-dtor -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -include js-config.h -include js/RequiredDefines.h -Wno-invalid-offsetof -fPIE -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/mozjs-45/include -Isrc/third_party/mozjs-45/mongo_sources -Isrc/third_party/mozjs-45/platform/x86_64/linux/include -Ibuild/fedora -Isrc src/mongo/scripting/mozjs/objectwrapper.cpp In file included from src/third_party/mozjs-45/include/js/CallArgs.h:38, from src/third_party/mozjs-45/extract/js/src/jsapi.h:27: In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSString*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'date_toLocaleFormat_impl(JSContext*, JS::CallArgs const&)' at src/third_party/mozjs-45/extract/js/src/jsdate.cpp:2792:54: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'fmt' in 'MEM[(struct Rooted * *)cx_189(D) + 56B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src22.cpp:38: src/third_party/mozjs-45/extract/js/src/jsdate.cpp: In function 'date_toLocaleFormat_impl(JSContext*, JS::CallArgs const&)': src/third_party/mozjs-45/extract/js/src/jsdate.cpp:2792:18: note: 'fmt' declared here 2792 | RootedString fmt(cx, ToString(cx, args[0])); | ^~~ src/third_party/mozjs-45/extract/js/src/jsdate.cpp:2792:18: note: 'cx_189(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::GlobalObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'JS_ResolveStandardClass(JSContext*, JS::Handle, JS::Handle, bool*)' at src/third_party/mozjs-45/extract/js/src/jsapi.cpp:1066:62: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'global' in 'MEM[(struct Rooted * *)cx_63(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jsapi.cpp: In function 'JS_ResolveStandardClass(JSContext*, JS::Handle, JS::Handle, bool*)': src/third_party/mozjs-45/extract/js/src/jsapi.cpp:1066:27: note: 'global' declared here 1066 | Rooted global(cx, &obj->as()); | ^~~~~~ src/third_party/mozjs-45/extract/js/src/jsapi.cpp:1066:27: note: 'cx_63(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::GlobalObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'JS_FireOnNewGlobalObject(JSContext*, JS::Handle)' at src/third_party/mozjs-45/extract/js/src/jsapi.cpp:1868:75: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'globalObject' in 'MEM[(struct Rooted * *)cx_25(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jsapi.cpp: In function 'JS_FireOnNewGlobalObject(JSContext*, JS::Handle)': src/third_party/mozjs-45/extract/js/src/jsapi.cpp:1868:31: note: 'globalObject' declared here 1868 | Rooted globalObject(cx, &global->as()); | ^~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jsapi.cpp:1868:31: note: 'cx_25(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'JS_DefineObject(JSContext*, JS::Handle, char const*, JSClass const*, unsigned int)' at src/third_party/mozjs-45/extract/js/src/jsapi.cpp:3040:70: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'nobj' in 'MEM[(struct Rooted * *)cx_63(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jsapi.cpp: In function 'JS_DefineObject(JSContext*, JS::Handle, char const*, JSClass const*, unsigned int)': src/third_party/mozjs-45/extract/js/src/jsapi.cpp:3040:18: note: 'nobj' declared here 3040 | RootedObject nobj(cx, NewObjectWithClassProto(cx, clasp, nullptr)); | ^~~~ src/third_party/mozjs-45/extract/js/src/jsapi.cpp:3040:18: note: 'cx_63(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSAtom*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'DefineSelfHostedProperty(JSContext*, JS::Handle, JS::Handle, char const*, char const*, unsigned int, unsigned int)' at src/third_party/mozjs-45/extract/js/src/jsapi.cpp:2991:49, inlined from 'JS_DefineProperties(JSContext*, JS::Handle, JSPropertySpec const*)' at src/third_party/mozjs-45/extract/js/src/jsapi.cpp:3137:42: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'name' in 'MEM[(struct Rooted * *)cx_55(D) + 56B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jsapi.cpp: In function 'JS_DefineProperties(JSContext*, JS::Handle, JSPropertySpec const*)': src/third_party/mozjs-45/extract/js/src/jsapi.cpp:2991:16: note: 'name' declared here 2991 | RootedAtom name(cx, IdToFunctionName(cx, id)); | ^~~~ src/third_party/mozjs-45/extract/js/src/jsapi.cpp:2991:16: note: 'cx_55(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSAtom*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'JS::GetSelfHostedFunction(JSContext*, char const*, JS::Handle, unsigned int)' at src/third_party/mozjs-45/extract/js/src/jsapi.cpp:3339:49: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'name' in 'MEM[(struct Rooted * *)cx_81(D) + 56B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jsapi.cpp: In function 'JS::GetSelfHostedFunction(JSContext*, char const*, JS::Handle, unsigned int)': src/third_party/mozjs-45/extract/js/src/jsapi.cpp:3339:16: note: 'name' declared here 3339 | RootedAtom name(cx, IdToFunctionName(cx, id)); | ^~~~ src/third_party/mozjs-45/extract/js/src/jsapi.cpp:3339:16: note: 'cx_81(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSAtom*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'JS::NewFunctionFromSpec(JSContext*, JSFunctionSpec const*, JS::Handle)' at src/third_party/mozjs-45/extract/js/src/jsapi.cpp:3368:53: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'name' in 'MEM[(struct Rooted * *)cx_144(D) + 56B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jsapi.cpp: In function 'JS::NewFunctionFromSpec(JSContext*, JSFunctionSpec const*, JS::Handle)': src/third_party/mozjs-45/extract/js/src/jsapi.cpp:3368:20: note: 'name' declared here 3368 | RootedAtom name(cx, IdToFunctionName(cx, id)); | ^~~~ src/third_party/mozjs-45/extract/js/src/jsapi.cpp:3368:20: note: 'cx_144(D)' declared here gcc -o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid_from_int.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -DUSE_COMPILER_F80_TYPE=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -Dlinux=1 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid_from_int.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C g++ -o build/fedora/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src2.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -Wno-non-virtual-dtor -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -include js-confdefs.h -Wno-invalid-offsetof -fPIE -DIMPL_MFBT -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=1 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora/third_party/mozjs-45/extract/js/src -Isrc/third_party/mozjs-45/extract/js/src -Ibuild/fedora/third_party/mozjs-45/extract/mfbt -Isrc/third_party/mozjs-45/extract/mfbt -Ibuild/fedora/third_party/mozjs-45/extract/intl/icu/source/common -Isrc/third_party/mozjs-45/extract/intl/icu/source/common -Ibuild/fedora/third_party/mozjs-45/include -Isrc/third_party/mozjs-45/include -Ibuild/fedora/third_party/mozjs-45/mongo_sources -Isrc/third_party/mozjs-45/mongo_sources -Ibuild/fedora/third_party/mozjs-45/platform/x86_64/linux/build -Isrc/third_party/mozjs-45/platform/x86_64/linux/build -Ibuild/fedora/third_party/mozjs-45/platform/x86_64/linux/include -Isrc/third_party/mozjs-45/platform/x86_64/linux/include src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src2.cpp In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSFlatString*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'JS_ExecuteRegExp(JSContext*, JS::Handle, JS::Handle, char16_t*, unsigned long, unsigned long*, bool, JS::MutableHandle)' at src/third_party/mozjs-45/extract/js/src/jsapi.cpp:5533:74: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'input' in 'MEM[(struct Rooted * *)cx_41(D) + 56B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jsapi.cpp: In function 'JS_ExecuteRegExp(JSContext*, JS::Handle, JS::Handle, char16_t*, unsigned long, unsigned long*, bool, JS::MutableHandle)': src/third_party/mozjs-45/extract/js/src/jsapi.cpp:5533:24: note: 'input' declared here 5533 | RootedLinearString input(cx, NewStringCopyN(cx, chars, length)); | ^~~~~ src/third_party/mozjs-45/extract/js/src/jsapi.cpp:5533:24: note: 'cx_41(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSFlatString*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'JS_ExecuteRegExpNoStatics(JSContext*, JS::Handle, char16_t*, unsigned long, unsigned long*, bool, JS::MutableHandle)' at src/third_party/mozjs-45/extract/js/src/jsapi.cpp:5570:74: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'input' in 'MEM[(struct Rooted * *)cx_35(D) + 56B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jsapi.cpp: In function 'JS_ExecuteRegExpNoStatics(JSContext*, JS::Handle, char16_t*, unsigned long, unsigned long*, bool, JS::MutableHandle)': src/third_party/mozjs-45/extract/js/src/jsapi.cpp:5570:24: note: 'input' declared here 5570 | RootedLinearString input(cx, NewStringCopyN(cx, chars, length)); | ^~~~~ src/third_party/mozjs-45/extract/js/src/jsapi.cpp:5570:24: note: 'cx_35(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSAtom*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'JS_CharsToId(JSContext*, JS::TwoByteChars, JS::MutableHandle)' at src/third_party/mozjs-45/extract/js/src/jsapi.cpp:5990:78: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'atom' in 'MEM[(struct Rooted * *)cx_33(D) + 56B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jsapi.cpp: In function 'JS_CharsToId(JSContext*, JS::TwoByteChars, JS::MutableHandle)': src/third_party/mozjs-45/extract/js/src/jsapi.cpp:5990:16: note: 'atom' declared here 5990 | RootedAtom atom(cx, AtomizeChars(cx, chars.start().get(), chars.length())); | ^~~~ src/third_party/mozjs-45/extract/js/src/jsapi.cpp:5990:16: note: 'cx_33(D)' declared here In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/gc/Zone.h:14, from src/third_party/mozjs-45/extract/js/src/builtin/ModuleObject.h:13, from src/third_party/mozjs-45/extract/js/src/builtin/ModuleObject.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src2.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1040:19: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 1040 | memcpy(&elements_[dstStart], src, count * sizeof(HeapSlot)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/builtin/ModuleObject.h:11: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here 650 | class HeapSlot : public WriteBarrieredBase | ^~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1048:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 1048 | memcpy(&elements_[dstStart], src, count * sizeof(HeapSlot)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here 650 | class HeapSlot : public WriteBarrieredBase | ^~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1082:20: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 1082 | memmove(elements_ + dstStart, elements_ + srcStart, count * sizeof(HeapSlot)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here 650 | class HeapSlot : public WriteBarrieredBase | ^~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1094:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 1094 | memmove(elements_ + dstStart, elements_ + srcStart, count * sizeof(Value)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here 650 | class HeapSlot : public WriteBarrieredBase | ^~~~~~~~ In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSString*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'JS::ObjectOpResult::reportStrictErrorOrWarning(JSContext*, JS::Handle, JS::Handle, bool)' at src/third_party/mozjs-45/extract/js/src/jsapi.cpp:165:52: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'str' in 'MEM[(struct Rooted * *)cx_122(D) + 56B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jsapi.cpp: In member function 'JS::ObjectOpResult::reportStrictErrorOrWarning(JSContext*, JS::Handle, JS::Handle, bool)': src/third_party/mozjs-45/extract/js/src/jsapi.cpp:165:22: note: 'str' declared here 165 | RootedString str(cx, ValueToSource(cx, idv)); | ^~~ src/third_party/mozjs-45/extract/js/src/jsapi.cpp:165:22: note: 'cx_122(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'JSCompartment::getOrCreateNonSyntacticLexicalScope(JSContext*, JS::Handle, JS::Handle)' at src/third_party/mozjs-45/extract/js/src/jscompartment.cpp:527:74: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'lexicalScope' in 'MEM[(struct Rooted * *)cx_29(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src22.cpp:29: src/third_party/mozjs-45/extract/js/src/jscompartment.cpp: In member function 'JSCompartment::getOrCreateNonSyntacticLexicalScope(JSContext*, JS::Handle, JS::Handle)': src/third_party/mozjs-45/extract/js/src/jscompartment.cpp:527:18: note: 'lexicalScope' declared here 527 | RootedObject lexicalScope(cx, nonSyntacticLexicalScopes_->lookup(key)); | ^~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jscompartment.cpp:527:18: note: 'cx_29(D)' declared here In file included from src/third_party/mozjs-45/extract/js/src/builtin/ModuleObject.cpp:14: src/third_party/mozjs-45/extract/js/src/jsobjinlines.h: In static member function 'static JSObject* JSObject::create(js::ExclusiveContext*, js::gc::AllocKind, js::gc::InitialHeap, js::HandleShape, js::HandleObjectGroup)': src/third_party/mozjs-45/extract/js/src/jsobjinlines.h:355:15: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::HeapSlot'; use assignment instead [-Wclass-memaccess] 355 | memset(obj->as().fixedSlots(), 0, size - sizeof(js::NativeObject)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here 650 | class HeapSlot : public WriteBarrieredBase | ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/extract/js/src/jsapi.h:25, from src/third_party/mozjs-45/extract/js/src/builtin/ModuleObject.h:10: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': src/third_party/mozjs-45/include/js/MemoryMetrics.h:40:34: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/gc/StoreBuffer.h:18, from src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:13: src/third_party/mozjs-45/include/js/MemoryMetrics.h:31:8: note: 'struct JS::TabSizes' declared here 31 | struct TabSizes | ^~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::ServoSizes]': src/third_party/mozjs-45/include/js/MemoryMetrics.h:71:36: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::ServoSizes'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/MemoryMetrics.h:59:8: note: 'struct JS::ServoSizes' declared here 59 | struct ServoSizes | ^~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JSSubString]': src/third_party/mozjs-45/extract/js/src/jsstr.h:73:37: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JSSubString'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/TraceLoggingTypes.h:11, from src/third_party/mozjs-45/extract/js/src/vm/TraceLoggingGraph.h:15, from src/third_party/mozjs-45/extract/js/src/vm/TraceLogging.h:19, from src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:22, from src/third_party/mozjs-45/extract/js/src/jsscript.h:24: src/third_party/mozjs-45/extract/js/src/jsstr.h:68:8: note: 'struct JSSubString' declared here 68 | struct JSSubString { | ^~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::PreliminaryObjectArray]': src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:808:25: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::PreliminaryObjectArray'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:23: src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:796:7: note: 'class js::PreliminaryObjectArray' declared here 796 | class PreliminaryObjectArray | ^~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::TypeNewScript]': src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:939:39: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::TypeNewScript' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:886:7: note: 'class js::TypeNewScript' declared here 886 | class TypeNewScript | ^~~~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:699:25: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:686:8: note: 'struct js::jit::IonScriptCounts' declared here 686 | struct IonScriptCounts | ^~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': src/third_party/mozjs-45/extract/js/src/vm/String.h:1092:25: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/Shape.h:32, from src/third_party/mozjs-45/extract/js/src/jsobj.h:27, from src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:16: src/third_party/mozjs-45/extract/js/src/vm/String.h:1074:7: note: 'class js::StaticStrings' declared here 1074 | class StaticStrings | ^~~~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': src/third_party/mozjs-45/extract/js/src/vm/Shape.h:392:25: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/Shape.h:323:7: note: 'class js::BaseShape' declared here 323 | class BaseShape : public gc::TenuredCell | ^~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:293:40: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:244:7: note: 'class js::NewObjectCache' declared here 244 | class NewObjectCache | ^~~~~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::Address]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:290:33: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::Address'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/Safepoints.h:12, from src/third_party/mozjs-45/extract/js/src/jit/JitFrames.h:16, from src/third_party/mozjs-45/extract/js/src/jscntxtinlines.h:16, from src/third_party/mozjs-45/extract/js/src/jscompartmentinlines.h:14, from src/third_party/mozjs-45/extract/js/src/jsobjinlines.h:29: src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:282:8: note: 'struct js::jit::Address' declared here 282 | struct Address | ^~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::BaseIndex]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:306:35: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::BaseIndex'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:295:8: note: 'struct js::jit::BaseIndex' declared here 295 | struct BaseIndex | ^~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::CodeOffsetJump]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:513:25: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::jit::CodeOffsetJump'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:491:7: note: 'class js::jit::CodeOffsetJump' declared here 491 | class CodeOffsetJump | ^~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsapi.h:29: src/third_party/mozjs-45/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': src/third_party/mozjs-45/include/js/HashTable.h:186:67: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' src/third_party/mozjs-45/extract/js/src/vm/SPSProfiler.h:256:18: required from here src/third_party/mozjs-45/include/js/HashTable.h:1550:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] 1550 | memset(table, 0, sizeof(*table) * capacity()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/HashTable.h:722:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here 722 | class HashTableEntry | ^~~~~~~~~~~~~~ In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'date_toJSON(JSContext*, unsigned int, JS::Value*)' at src/third_party/mozjs-45/extract/js/src/jsdate.cpp:2468:52: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'obj' in 'MEM[(struct Rooted * *)cx_133(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jsdate.cpp: In function 'date_toJSON(JSContext*, unsigned int, JS::Value*)': src/third_party/mozjs-45/extract/js/src/jsdate.cpp:2468:18: note: 'obj' declared here 2468 | RootedObject obj(cx, ToObject(cx, args.thisv())); | ^~~ src/third_party/mozjs-45/extract/js/src/jsdate.cpp:2468:18: note: 'cx_133(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::BooleanObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::InitBooleanClass(JSContext*, JS::Handle)' at src/third_party/mozjs-45/extract/js/src/jsbool.cpp:142:92: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'booleanProto' in 'MEM[(struct Rooted * *)cx_97(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src22.cpp:11: src/third_party/mozjs-45/extract/js/src/jsbool.cpp: In function 'js::InitBooleanClass(JSContext*, JS::Handle)': src/third_party/mozjs-45/extract/js/src/jsbool.cpp:142:28: note: 'booleanProto' declared here 142 | Rooted booleanProto(cx, global->createBlankPrototype(cx)); | ^~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jsbool.cpp:142:28: note: 'cx_97(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSString*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'date_toLocaleFormat_impl(JSContext*, JS::CallArgs const&)' at src/third_party/mozjs-45/extract/js/src/jsdate.cpp:2792:54, inlined from 'JS::CallNonGenericMethod<&(IsDate(JS::Handle)), &(date_toLocaleFormat_impl(JSContext*, JS::CallArgs const&))>(JSContext*, JS::CallArgs const&)bool' at src/third_party/mozjs-45/include/js/CallNonGenericMethod.h:100:20, inlined from 'date_toLocaleFormat(JSContext*, unsigned int, JS::Value*)' at src/third_party/mozjs-45/extract/js/src/jsdate.cpp:2807:66: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'fmt' in 'MEM[(struct Rooted * *)cx_4(D) + 56B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jsdate.cpp: In function 'date_toLocaleFormat(JSContext*, unsigned int, JS::Value*)': src/third_party/mozjs-45/extract/js/src/jsdate.cpp:2792:18: note: 'fmt' declared here 2792 | RootedString fmt(cx, ToString(cx, args[0])); | ^~~ src/third_party/mozjs-45/extract/js/src/jsdate.cpp:2792:18: note: 'cx_4(D)' declared here In file included from src/third_party/mozjs-45/include/js/CallArgs.h:38, from src/third_party/mozjs-45/extract/js/src/jsapi.h:27: In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'ProtoSetter(JSContext*, unsigned int, JS::Value*)' at src/third_party/mozjs-45/extract/js/src/builtin/Object.cpp:960:55: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'obj' in 'MEM[(struct Rooted * *)cx_96(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src2.cpp:11: src/third_party/mozjs-45/extract/js/src/builtin/Object.cpp: In function 'ProtoSetter(JSContext*, unsigned int, JS::Value*)': src/third_party/mozjs-45/extract/js/src/builtin/Object.cpp:960:23: note: 'obj' declared here 960 | Rooted obj(cx, &args.thisv().toObject()); | ^~~ src/third_party/mozjs-45/extract/js/src/builtin/Object.cpp:960:23: note: 'cx_96(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::Reflect_isExtensible(JSContext*, unsigned int, JS::Value*)' at src/third_party/mozjs-45/extract/js/src/builtin/Reflect.cpp:271:59: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'target' in 'MEM[(struct Rooted * *)cx_43(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src2.cpp:29: src/third_party/mozjs-45/extract/js/src/builtin/Reflect.cpp: In function 'js::Reflect_isExtensible(JSContext*, unsigned int, JS::Value*)': src/third_party/mozjs-45/extract/js/src/builtin/Reflect.cpp:271:18: note: 'target' declared here 271 | RootedObject target(cx, NonNullObject(cx, args.get(0))); | ^~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/Reflect.cpp:271:18: note: 'cx_43(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'Reflect_setPrototypeOf(JSContext*, unsigned int, JS::Value*)' at src/third_party/mozjs-45/extract/js/src/builtin/Reflect.cpp:357:56: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'obj' in 'MEM[(struct Rooted * *)cx_76(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/Reflect.cpp: In function 'Reflect_setPrototypeOf(JSContext*, unsigned int, JS::Value*)': src/third_party/mozjs-45/extract/js/src/builtin/Reflect.cpp:357:18: note: 'obj' declared here 357 | RootedObject obj(cx, NonNullObject(cx, args.get(0))); | ^~~ src/third_party/mozjs-45/extract/js/src/builtin/Reflect.cpp:357:18: note: 'cx_76(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'Reflect_preventExtensions(JSContext*, unsigned int, JS::Value*)' at src/third_party/mozjs-45/extract/js/src/builtin/Reflect.cpp:304:59: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'target' in 'MEM[(struct Rooted * *)cx_46(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/Reflect.cpp: In function 'Reflect_preventExtensions(JSContext*, unsigned int, JS::Value*)': src/third_party/mozjs-45/extract/js/src/builtin/Reflect.cpp:304:18: note: 'target' declared here 304 | RootedObject target(cx, NonNullObject(cx, args.get(0))); | ^~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/Reflect.cpp:304:18: note: 'cx_46(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSAtom*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from '(anonymous namespace)::NodeBuilder::defineProperty(JS::Handle, char const*, JS::Handle)' at src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:433:60: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'atom' in 'MEM[(struct Rooted * *)_13 + 56B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src2.cpp:38: src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp: In member function '(anonymous namespace)::NodeBuilder::defineProperty(JS::Handle, char const*, JS::Handle)': src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:433:20: note: 'atom' declared here 433 | RootedAtom atom(cx, Atomize(cx, name, strlen(name))); | ^~~~ src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:433:20: note: 'MEM[(struct JSContext * const &)this_9(D)]' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::ArrayObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from '(anonymous namespace)::NodeBuilder::newArray(JS::AutoVectorRooter&, JS::MutableHandle)' at src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:661:74: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'array' in 'MEM[(struct Rooted * *)_16 + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp: In member function '(anonymous namespace)::NodeBuilder::newArray(JS::AutoVectorRooter&, JS::MutableHandle)': src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:661:18: note: 'array' declared here 661 | RootedObject array(cx, NewDenseFullyAllocatedArray(cx, uint32_t(len))); | ^~~~~ src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:661:18: note: 'MEM[(struct JSContext * const &)this_17(D)]' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::Reflect_getPrototypeOf(JSContext*, unsigned int, JS::Value*)' at src/third_party/mozjs-45/extract/js/src/builtin/Reflect.cpp:252:59: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'target' in 'MEM[(struct Rooted * *)cx_63(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/Reflect.cpp: In function 'js::Reflect_getPrototypeOf(JSContext*, unsigned int, JS::Value*)': src/third_party/mozjs-45/extract/js/src/builtin/Reflect.cpp:252:18: note: 'target' declared here 252 | RootedObject target(cx, NonNullObject(cx, args.get(0))); | ^~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/Reflect.cpp:252:18: note: 'cx_63(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::PlainObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'CreateObjectPrototype(JSContext*, JSProtoKey)' at src/third_party/mozjs-45/extract/js/src/builtin/Object.cpp:1054:92: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'objectProto' in 'MEM[(struct Rooted * *)cx_40(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/Object.cpp: In function 'CreateObjectPrototype(JSContext*, JSProtoKey)': src/third_party/mozjs-45/extract/js/src/builtin/Object.cpp:1053:23: note: 'objectProto' declared here 1053 | RootedPlainObject objectProto(cx, NewObjectWithGivenProto(cx, nullptr, | ^~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/Object.cpp:1053:23: note: 'cx_40(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'obj_isPrototypeOf(JSContext*, unsigned int, JS::Value*)' at src/third_party/mozjs-45/extract/js/src/builtin/Object.cpp:570:52: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'obj' in 'MEM[(struct Rooted * *)cx_43(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/Object.cpp: In function 'obj_isPrototypeOf(JSContext*, unsigned int, JS::Value*)': src/third_party/mozjs-45/extract/js/src/builtin/Object.cpp:570:18: note: 'obj' declared here 570 | RootedObject obj(cx, ToObject(cx, args.thisv())); | ^~~ src/third_party/mozjs-45/extract/js/src/builtin/Object.cpp:570:18: note: 'cx_43(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'obj_defineProperties(JSContext*, unsigned int, JS::Value*)' at src/third_party/mozjs-45/extract/js/src/builtin/Object.cpp:816:45: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'props' in 'MEM[(struct Rooted * *)cx_99(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/Object.cpp: In function 'obj_defineProperties(JSContext*, unsigned int, JS::Value*)': src/third_party/mozjs-45/extract/js/src/builtin/Object.cpp:816:18: note: 'props' declared here 816 | RootedObject props(cx, ToObject(cx, val)); | ^~~~~ src/third_party/mozjs-45/extract/js/src/builtin/Object.cpp:816:18: note: 'cx_99(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::TypedObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::SimdTypeDescr::call(JSContext*, unsigned int, JS::Value*)' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:449:76: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'result' in 'MEM[(struct Rooted * *)cx_94(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src2.cpp:47: src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp: In function 'js::SimdTypeDescr::call(JSContext*, unsigned int, JS::Value*)': src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:449:26: note: 'result' declared here 449 | Rooted result(cx, TypedObject::createZeroed(cx, descr, 0)); | ^~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:449:26: note: 'cx_94(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'obj_unwatch(JSContext*, unsigned int, JS::Value*)' at src/third_party/mozjs-45/extract/js/src/builtin/Object.cpp:489:52: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'obj' in 'MEM[(struct Rooted * *)cx_70(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/Object.cpp: In function 'obj_unwatch(JSContext*, unsigned int, JS::Value*)': src/third_party/mozjs-45/extract/js/src/builtin/Object.cpp:489:18: note: 'obj' declared here 489 | RootedObject obj(cx, ToObject(cx, args.thisv())); | ^~~ src/third_party/mozjs-45/extract/js/src/builtin/Object.cpp:489:18: note: 'cx_70(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSAtom*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from '(anonymous namespace)::NodeBuilder::defineProperty(JS::Handle, char const*, JS::Handle)' at src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:433:60, inlined from '(anonymous namespace)::NodeBuilder::newNodeHelper&>(JS::Handle, char const*, JS::Handle, JS::MutableHandle&)bool' at src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:396:30, inlined from '(anonymous namespace)::NodeBuilder::newNodeHelper&, JS::MutableHandle&>(JS::Handle, char const*, JS::Handle, char const (&) [10], JS::Rooted&, JS::MutableHandle&)bool' at src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:397:32, inlined from '(anonymous namespace)::NodeBuilder::newNodeHelper&, char const (&) [8], JS::Rooted&, JS::MutableHandle&>(JS::Handle, char const*, JS::Handle, char const (&) [6], JS::Rooted&, char const (&) [8], JS::Rooted&, JS::MutableHandle&)bool' at src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:397:32: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'atom' in 'MEM[(struct Rooted * *)_83 + 56B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp: In member function '(anonymous namespace)::NodeBuilder::newNodeHelper&, char const (&) [8], JS::Rooted&, JS::MutableHandle&>(JS::Handle, char const*, JS::Handle, char const (&) [6], JS::Rooted&, char const (&) [8], JS::Rooted&, JS::MutableHandle&)bool': src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:433:20: note: 'atom' declared here 433 | RootedAtom atom(cx, Atomize(cx, name, strlen(name))); | ^~~~ src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:433:20: note: 'MEM[(struct JSContext * const &)this_5(D)]' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSAtom*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from '(anonymous namespace)::NodeBuilder::defineProperty(JS::Handle, char const*, JS::Handle)' at src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:433:60, inlined from '(anonymous namespace)::NodeBuilder::newNodeHelper&, JS::MutableHandle&>(JS::Handle, char const*, JS::Handle, char const (&) [10], JS::Rooted&, JS::MutableHandle&)bool' at src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:396:30, inlined from '(anonymous namespace)::NodeBuilder::newNodeHelper&, char const (&) [8], JS::Rooted&, JS::MutableHandle&>(JS::Handle, char const*, JS::Handle, char const (&) [6], JS::Rooted&, char const (&) [8], JS::Rooted&, JS::MutableHandle&)bool' at src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:397:32: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'atom' in 'MEM[(struct Rooted * *)_52 + 56B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp: In member function '(anonymous namespace)::NodeBuilder::newNodeHelper&, char const (&) [8], JS::Rooted&, JS::MutableHandle&>(JS::Handle, char const*, JS::Handle, char const (&) [6], JS::Rooted&, char const (&) [8], JS::Rooted&, JS::MutableHandle&)bool': src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:433:20: note: 'atom' declared here 433 | RootedAtom atom(cx, Atomize(cx, name, strlen(name))); | ^~~~ src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:433:20: note: 'MEM[(struct JSContext * const &)this_5(D)]' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSAtom*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from '(anonymous namespace)::NodeBuilder::defineProperty(JS::Handle, char const*, JS::Handle)' at src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:433:60, inlined from '(anonymous namespace)::NodeBuilder::newNodeHelper&, char const (&) [8], JS::Rooted&, JS::MutableHandle&>(JS::Handle, char const*, JS::Handle, char const (&) [6], JS::Rooted&, char const (&) [8], JS::Rooted&, JS::MutableHandle&)bool' at src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:396:30: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'atom' in 'MEM[(struct Rooted * *)_24 + 56B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp: In member function '(anonymous namespace)::NodeBuilder::newNodeHelper&, char const (&) [8], JS::Rooted&, JS::MutableHandle&>(JS::Handle, char const*, JS::Handle, char const (&) [6], JS::Rooted&, char const (&) [8], JS::Rooted&, JS::MutableHandle&)bool': src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:433:20: note: 'atom' declared here 433 | RootedAtom atom(cx, Atomize(cx, name, strlen(name))); | ^~~~ src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:433:20: note: 'MEM[(struct JSContext * const &)this_5(D)]' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSAtom*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from '(anonymous namespace)::NodeBuilder::defineProperty(JS::Handle, char const*, JS::Handle)' at src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:433:60, inlined from '(anonymous namespace)::NodeBuilder::newNodeLoc(js::frontend::TokenPos*, JS::MutableHandle)' at src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:707:24: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'atom' in 'MEM[(struct Rooted * *)_250 + 56B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp: In member function '(anonymous namespace)::NodeBuilder::newNodeLoc(js::frontend::TokenPos*, JS::MutableHandle)': src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:433:20: note: 'atom' declared here 433 | RootedAtom atom(cx, Atomize(cx, name, strlen(name))); | ^~~~ src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:433:20: note: 'MEM[(struct JSContext * const &)this_21(D)]' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSAtom*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from '(anonymous namespace)::NodeBuilder::defineProperty(JS::Handle, char const*, JS::Handle)' at src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:433:60, inlined from '(anonymous namespace)::NodeBuilder::newNodeLoc(js::frontend::TokenPos*, JS::MutableHandle)' at src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:710:24: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'atom' in 'MEM[(struct Rooted * *)_274 + 56B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp: In member function '(anonymous namespace)::NodeBuilder::newNodeLoc(js::frontend::TokenPos*, JS::MutableHandle)': src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:433:20: note: 'atom' declared here 433 | RootedAtom atom(cx, Atomize(cx, name, strlen(name))); | ^~~~ src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:433:20: note: 'MEM[(struct JSContext * const &)this_21(D)]' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSAtom*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from '(anonymous namespace)::NodeBuilder::defineProperty(JS::Handle, char const*, JS::Handle)' at src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:433:60, inlined from '(anonymous namespace)::NodeBuilder::newNodeLoc(js::frontend::TokenPos*, JS::MutableHandle)' at src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:713:24: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'atom' in 'MEM[(struct Rooted * *)_298 + 56B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp: In member function '(anonymous namespace)::NodeBuilder::newNodeLoc(js::frontend::TokenPos*, JS::MutableHandle)': src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:433:20: note: 'atom' declared here 433 | RootedAtom atom(cx, Atomize(cx, name, strlen(name))); | ^~~~ src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:433:20: note: 'MEM[(struct JSContext * const &)this_21(D)]' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::PlainObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from '(anonymous namespace)::NodeBuilder::createNode(ASTType, js::frontend::TokenPos*, JS::MutableHandle)' at src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:641:72: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'node' in 'MEM[(struct Rooted * *)_33 + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp: In member function '(anonymous namespace)::NodeBuilder::createNode(ASTType, js::frontend::TokenPos*, JS::MutableHandle)': src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:641:23: note: 'node' declared here 641 | RootedPlainObject node(cx, NewBuiltinClassInstance(cx)); | ^~~~ src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:641:23: note: 'MEM[(struct JSContext * const &)this_11(D)]' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSAtom*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from '(anonymous namespace)::NodeBuilder::defineProperty(JS::Handle, char const*, JS::Handle)' at src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:433:60, inlined from '(anonymous namespace)::NodeBuilder::setNodeLoc(JS::Handle, js::frontend::TokenPos*)' at src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:739:23, inlined from '(anonymous namespace)::NodeBuilder::createNode(ASTType, js::frontend::TokenPos*, JS::MutableHandle)' at src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:643:20: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'atom' in 'MEM[(struct Rooted * *)_112 + 56B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp: In member function '(anonymous namespace)::NodeBuilder::createNode(ASTType, js::frontend::TokenPos*, JS::MutableHandle)': src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:433:20: note: 'atom' declared here 433 | RootedAtom atom(cx, Atomize(cx, name, strlen(name))); | ^~~~ src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:433:20: note: 'MEM[(struct JSContext * const &)this_11(D)]' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSAtom*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from '(anonymous namespace)::NodeBuilder::defineProperty(JS::Handle, char const*, JS::Handle)' at src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:433:60, inlined from '(anonymous namespace)::NodeBuilder::setNodeLoc(JS::Handle, js::frontend::TokenPos*)' at src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:745:26, inlined from '(anonymous namespace)::NodeBuilder::createNode(ASTType, js::frontend::TokenPos*, JS::MutableHandle)' at src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:643:20: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'atom' in 'MEM[(struct Rooted * *)_136 + 56B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp: In member function '(anonymous namespace)::NodeBuilder::createNode(ASTType, js::frontend::TokenPos*, JS::MutableHandle)': src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:433:20: note: 'atom' declared here 433 | RootedAtom atom(cx, Atomize(cx, name, strlen(name))); | ^~~~ src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:433:20: note: 'MEM[(struct JSContext * const &)this_11(D)]' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSAtom*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from '(anonymous namespace)::NodeBuilder::defineProperty(JS::Handle, char const*, JS::Handle)' at src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:433:60, inlined from '(anonymous namespace)::NodeBuilder::createNode(ASTType, js::frontend::TokenPos*, JS::MutableHandle)' at src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:645:24: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'atom' in 'MEM[(struct Rooted * *)_170 + 56B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp: In member function '(anonymous namespace)::NodeBuilder::createNode(ASTType, js::frontend::TokenPos*, JS::MutableHandle)': src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:433:20: note: 'atom' declared here 433 | RootedAtom atom(cx, Atomize(cx, name, strlen(name))); | ^~~~ src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:433:20: note: 'MEM[(struct JSContext * const &)this_11(D)]' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSAtom*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from '(anonymous namespace)::NodeBuilder::defineProperty(JS::Handle, char const*, JS::Handle)' at src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:433:60, inlined from '(anonymous namespace)::NodeBuilder::newNodeHelper&>(JS::Handle, char const*, JS::Handle, JS::MutableHandle&)bool' at src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:396:30, inlined from '(anonymous namespace)::NodeBuilder::newNode&, JS::MutableHandle&>(ASTType, js::frontend::TokenPos*, char const (&) [11], JS::Handle&, JS::MutableHandle&)bool' at src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:411:29: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'atom' in 'MEM[(struct Rooted * *)_52 + 56B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp: In member function '(anonymous namespace)::NodeBuilder::newNode&, JS::MutableHandle&>(ASTType, js::frontend::TokenPos*, char const (&) [11], JS::Handle&, JS::MutableHandle&)bool': src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:433:20: note: 'atom' declared here 433 | RootedAtom atom(cx, Atomize(cx, name, strlen(name))); | ^~~~ src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:433:20: note: 'MEM[(struct JSContext * const &)this_5(D)]' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSAtom*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from '(anonymous namespace)::NodeBuilder::defineProperty(JS::Handle, char const*, JS::Handle)' at src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:433:60, inlined from '(anonymous namespace)::NodeBuilder::newNodeHelper&>(JS::Handle, char const*, JS::Handle, JS::MutableHandle&)bool' at src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:396:30, inlined from '(anonymous namespace)::NodeBuilder::newNodeHelper&, JS::MutableHandle&>(JS::Handle, char const*, JS::Handle, char const (&) [5], JS::Handle&, JS::MutableHandle&)bool' at src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:397:32, inlined from '(anonymous namespace)::NodeBuilder::newNodeHelper&, char const (&) [10], JS::Handle&, JS::MutableHandle&>(JS::Handle, char const*, JS::Handle, char const (&) [11], JS::Handle&, char const (&) [10], JS::Handle&, JS::MutableHandle&)bool' at src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:397:32, inlined from '(anonymous namespace)::NodeBuilder::newNode&, char const (&) [11], JS::Handle&, char const (&) [10], JS::Handle&, JS::MutableHandle&>(ASTType, js::frontend::TokenPos*, char const (&) [5], JS::Handle&, char const (&) [11], JS::Handle&, char const (&) [10], JS::Handle&, JS::MutableHandle&)bool' at src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:411:29: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'atom' in 'MEM[(struct Rooted * *)_110 + 56B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp: In member function '(anonymous namespace)::NodeBuilder::newNode&, char const (&) [11], JS::Handle&, char const (&) [10], JS::Handle&, JS::MutableHandle&>(ASTType, js::frontend::TokenPos*, char const (&) [5], JS::Handle&, char const (&) [11], JS::Handle&, char const (&) [10], JS::Handle&, JS::MutableHandle&)bool': src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:433:20: note: 'atom' declared here 433 | RootedAtom atom(cx, Atomize(cx, name, strlen(name))); | ^~~~ src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:433:20: note: 'MEM[(struct JSContext * const &)this_5(D)]' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSAtom*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from '(anonymous namespace)::NodeBuilder::defineProperty(JS::Handle, char const*, JS::Handle)' at src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:433:60, inlined from '(anonymous namespace)::NodeBuilder::newNodeHelper&, JS::MutableHandle&>(JS::Handle, char const*, JS::Handle, char const (&) [5], JS::Handle&, JS::MutableHandle&)bool' at src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:396:30, inlined from '(anonymous namespace)::NodeBuilder::newNodeHelper&, char const (&) [10], JS::Handle&, JS::MutableHandle&>(JS::Handle, char const*, JS::Handle, char const (&) [11], JS::Handle&, char const (&) [10], JS::Handle&, JS::MutableHandle&)bool' at src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:397:32, inlined from '(anonymous namespace)::NodeBuilder::newNode&, char const (&) [11], JS::Handle&, char const (&) [10], JS::Handle&, JS::MutableHandle&>(ASTType, js::frontend::TokenPos*, char const (&) [5], JS::Handle&, char const (&) [11], JS::Handle&, char const (&) [10], JS::Handle&, JS::MutableHandle&)bool' at src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:411:29: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'atom' in 'MEM[(struct Rooted * *)_79 + 56B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp: In member function '(anonymous namespace)::NodeBuilder::newNode&, char const (&) [11], JS::Handle&, char const (&) [10], JS::Handle&, JS::MutableHandle&>(ASTType, js::frontend::TokenPos*, char const (&) [5], JS::Handle&, char const (&) [11], JS::Handle&, char const (&) [10], JS::Handle&, JS::MutableHandle&)bool': src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:433:20: note: 'atom' declared here 433 | RootedAtom atom(cx, Atomize(cx, name, strlen(name))); | ^~~~ src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:433:20: note: 'MEM[(struct JSContext * const &)this_5(D)]' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSAtom*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from '(anonymous namespace)::NodeBuilder::defineProperty(JS::Handle, char const*, JS::Handle)' at src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:433:60, inlined from '(anonymous namespace)::NodeBuilder::newNodeHelper&, char const (&) [10], JS::Handle&, JS::MutableHandle&>(JS::Handle, char const*, JS::Handle, char const (&) [11], JS::Handle&, char const (&) [10], JS::Handle&, JS::MutableHandle&)bool' at src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:396:30, inlined from '(anonymous namespace)::NodeBuilder::newNode&, char const (&) [11], JS::Handle&, char const (&) [10], JS::Handle&, JS::MutableHandle&>(ASTType, js::frontend::TokenPos*, char const (&) [5], JS::Handle&, char const (&) [11], JS::Handle&, char const (&) [10], JS::Handle&, JS::MutableHandle&)bool' at src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:411:29: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'atom' in 'MEM[(struct Rooted * *)_52 + 56B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp: In member function '(anonymous namespace)::NodeBuilder::newNode&, char const (&) [11], JS::Handle&, char const (&) [10], JS::Handle&, JS::MutableHandle&>(ASTType, js::frontend::TokenPos*, char const (&) [5], JS::Handle&, char const (&) [11], JS::Handle&, char const (&) [10], JS::Handle&, JS::MutableHandle&)bool': src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:433:20: note: 'atom' declared here 433 | RootedAtom atom(cx, Atomize(cx, name, strlen(name))); | ^~~~ src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:433:20: note: 'MEM[(struct JSContext * const &)this_5(D)]' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSAtom*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from '(anonymous namespace)::NodeBuilder::defineProperty(JS::Handle, char const*, JS::Handle)' at src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:433:60, inlined from '(anonymous namespace)::NodeBuilder::newNodeHelper&>(JS::Handle, char const*, JS::Handle, JS::MutableHandle&)bool' at src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:396:30, inlined from '(anonymous namespace)::NodeBuilder::newNodeHelper&, JS::MutableHandle&>(JS::Handle, char const*, JS::Handle, char const (&) [5], JS::Handle&, JS::MutableHandle&)bool' at src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:397:32, inlined from '(anonymous namespace)::NodeBuilder::newNode&, char const (&) [5], JS::Handle&, JS::MutableHandle&>(ASTType, js::frontend::TokenPos*, char const (&) [6], JS::Handle&, char const (&) [5], JS::Handle&, JS::MutableHandle&)bool' at src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:411:29: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'atom' in 'MEM[(struct Rooted * *)_81 + 56B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp: In member function '(anonymous namespace)::NodeBuilder::newNode&, char const (&) [5], JS::Handle&, JS::MutableHandle&>(ASTType, js::frontend::TokenPos*, char const (&) [6], JS::Handle&, char const (&) [5], JS::Handle&, JS::MutableHandle&)bool': src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:433:20: note: 'atom' declared here 433 | RootedAtom atom(cx, Atomize(cx, name, strlen(name))); | ^~~~ src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:433:20: note: 'MEM[(struct JSContext * const &)this_5(D)]' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSAtom*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from '(anonymous namespace)::NodeBuilder::defineProperty(JS::Handle, char const*, JS::Handle)' at src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:433:60, inlined from '(anonymous namespace)::NodeBuilder::newNodeHelper&, JS::MutableHandle&>(JS::Handle, char const*, JS::Handle, char const (&) [5], JS::Handle&, JS::MutableHandle&)bool' at src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:396:30, inlined from '(anonymous namespace)::NodeBuilder::newNode&, char const (&) [5], JS::Handle&, JS::MutableHandle&>(ASTType, js::frontend::TokenPos*, char const (&) [6], JS::Handle&, char const (&) [5], JS::Handle&, JS::MutableHandle&)bool' at src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:411:29: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'atom' in 'MEM[(struct Rooted * *)_50 + 56B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp: In member function '(anonymous namespace)::NodeBuilder::newNode&, char const (&) [5], JS::Handle&, JS::MutableHandle&>(ASTType, js::frontend::TokenPos*, char const (&) [6], JS::Handle&, char const (&) [5], JS::Handle&, JS::MutableHandle&)bool': src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:433:20: note: 'atom' declared here 433 | RootedAtom atom(cx, Atomize(cx, name, strlen(name))); | ^~~~ src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:433:20: note: 'MEM[(struct JSContext * const &)this_5(D)]' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSAtom*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from '(anonymous namespace)::NodeBuilder::defineProperty(JS::Handle, char const*, JS::Handle)' at src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:433:60, inlined from '(anonymous namespace)::NodeBuilder::newNodeHelper&>(JS::Handle, char const*, JS::Handle, JS::MutableHandle&)bool' at src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:396:30, inlined from '(anonymous namespace)::NodeBuilder::newNode&, JS::MutableHandle&>(ASTType, js::frontend::TokenPos*, char const*&, JS::Rooted&, JS::MutableHandle&)bool' at src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:411:29, inlined from '(anonymous namespace)::NodeBuilder::listNode(ASTType, char const*, JS::AutoVectorRooter&, js::frontend::TokenPos*, JS::MutableHandle)' at src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:424:23: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'atom' in 'MEM[(struct Rooted * *)_121 + 56B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp: In member function '(anonymous namespace)::NodeBuilder::listNode(ASTType, char const*, JS::AutoVectorRooter&, js::frontend::TokenPos*, JS::MutableHandle)': src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:433:20: note: 'atom' declared here 433 | RootedAtom atom(cx, Atomize(cx, name, strlen(name))); | ^~~~ src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:433:20: note: 'MEM[(struct JSContext * const &)this_9(D)]' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSAtom*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from '(anonymous namespace)::NodeBuilder::defineProperty(JS::Handle, char const*, JS::Handle)' at src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:433:60, inlined from '(anonymous namespace)::NodeBuilder::newNodeHelper&, char const (&) [8], JS::Rooted&, JS::MutableHandle&>(JS::Handle, char const*, JS::Handle, char const (&) [6], JS::Rooted&, char const (&) [8], JS::Rooted&, JS::MutableHandle&)bool' at src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:396:30, inlined from '(anonymous namespace)::NodeBuilder::newNode&, char const (&) [6], JS::Rooted&, char const (&) [8], JS::Rooted&, JS::MutableHandle&>(ASTType, js::frontend::TokenPos*, char const (&) [13], JS::Handle&, char const (&) [6], JS::Rooted&, char const (&) [8], JS::Rooted&, JS::MutableHandle&)bool' at src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:411:29, inlined from '(anonymous namespace)::NodeBuilder::switchStatement(JS::Handle, JS::AutoVectorRooter&, bool, js::frontend::TokenPos*, JS::MutableHandle)' at src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:954:19: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'atom' in 'MEM[(struct Rooted * *)_145 + 56B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp: In member function '(anonymous namespace)::NodeBuilder::switchStatement(JS::Handle, JS::AutoVectorRooter&, bool, js::frontend::TokenPos*, JS::MutableHandle)': src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:433:20: note: 'atom' declared here 433 | RootedAtom atom(cx, Atomize(cx, name, strlen(name))); | ^~~~ src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:433:20: note: 'MEM[(struct JSContext * const &)this_8(D)]' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSAtom*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from '(anonymous namespace)::NodeBuilder::defineProperty(JS::Handle, char const*, JS::Handle)' at src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:433:60, inlined from '(anonymous namespace)::NodeBuilder::newNodeHelper&, char const (&) [8], JS::Handle&, char const (&) [10], JS::Handle&, JS::MutableHandle&>(JS::Handle, char const*, JS::Handle, char const (&) [16], JS::Rooted&, char const (&) [8], JS::Handle&, char const (&) [10], JS::Handle&, JS::MutableHandle&)bool' at src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:396:30, inlined from '(anonymous namespace)::NodeBuilder::newNode&, char const (&) [16], JS::Rooted&, char const (&) [8], JS::Handle&, char const (&) [10], JS::Handle&, JS::MutableHandle&>(ASTType, js::frontend::TokenPos*, char const (&) [6], JS::Handle&, char const (&) [16], JS::Rooted&, char const (&) [8], JS::Handle&, char const (&) [10], JS::Handle&, JS::MutableHandle&)bool' at src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:411:29, inlined from '(anonymous namespace)::NodeBuilder::tryStatement(JS::Handle, JS::AutoVectorRooter&, JS::Handle, JS::Handle, js::frontend::TokenPos*, JS::MutableHandle)' at src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:973:19: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'atom' in 'MEM[(struct Rooted * *)_139 + 56B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp: In member function '(anonymous namespace)::NodeBuilder::tryStatement(JS::Handle, JS::AutoVectorRooter&, JS::Handle, JS::Handle, js::frontend::TokenPos*, JS::MutableHandle)': src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:433:20: note: 'atom' declared here 433 | RootedAtom atom(cx, Atomize(cx, name, strlen(name))); | ^~~~ src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:433:20: note: 'MEM[(struct JSContext * const &)this_9(D)]' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSAtom*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from '(anonymous namespace)::NodeBuilder::defineProperty(JS::Handle, char const*, JS::Handle)' at src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:433:60, inlined from '(anonymous namespace)::NodeBuilder::newNodeHelper&, char const (&) [7], JS::Handle&, char const (&) [5], JS::Handle&, JS::MutableHandle&>(JS::Handle, char const*, JS::Handle, char const (&) [5], JS::Handle&, char const (&) [7], JS::Handle&, char const (&) [5], JS::Handle&, JS::MutableHandle&)bool' at src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:396:30, inlined from '(anonymous namespace)::NodeBuilder::newNode&, char const (&) [5], JS::Handle&, char const (&) [7], JS::Handle&, char const (&) [5], JS::Handle&, JS::MutableHandle&>(ASTType, js::frontend::TokenPos*, char const (&) [5], JS::Handle&, char const (&) [5], JS::Handle&, char const (&) [7], JS::Handle&, char const (&) [5], JS::Handle&, JS::MutableHandle&)bool' at src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:411:29, inlined from '(anonymous namespace)::NodeBuilder::forStatement(JS::Handle, JS::Handle, JS::Handle, JS::Handle, js::frontend::TokenPos*, JS::MutableHandle)' at src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:857:19: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'atom' in 'MEM[(struct Rooted * *)_126 + 56B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp: In member function '(anonymous namespace)::NodeBuilder::forStatement(JS::Handle, JS::Handle, JS::Handle, JS::Handle, js::frontend::TokenPos*, JS::MutableHandle)': src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:433:20: note: 'atom' declared here 433 | RootedAtom atom(cx, Atomize(cx, name, strlen(name))); | ^~~~ src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:433:20: note: 'MEM[(struct JSContext * const &)this_6(D)]' declared here g++ -o build/fedora/mongo/db/exec/skip.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/exec/skip.cpp In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSAtom*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from '(anonymous namespace)::NodeBuilder::defineProperty(JS::Handle, char const*, JS::Handle)' at src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:433:60, inlined from '(anonymous namespace)::NodeBuilder::newNodeHelper&, char const (&) [5], JS::Rooted&, char const (&) [10], JS::Rooted&, JS::MutableHandle&>(JS::Handle, char const*, JS::Handle, char const (&) [6], JS::Handle&, char const (&) [5], JS::Rooted&, char const (&) [10], JS::Rooted&, JS::MutableHandle&)bool' at src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:396:30, inlined from '(anonymous namespace)::NodeBuilder::newNode&, char const (&) [6], JS::Handle&, char const (&) [5], JS::Rooted&, char const (&) [10], JS::Rooted&, JS::MutableHandle&>(ASTType, js::frontend::TokenPos*, char const (&) [4], JS::Handle&, char const (&) [6], JS::Handle&, char const (&) [5], JS::Rooted&, char const (&) [10], JS::Rooted&, JS::MutableHandle&)bool' at src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:411:29, inlined from '(anonymous namespace)::NodeBuilder::classMethod(JS::Handle, JS::Handle, PropKind, bool, js::frontend::TokenPos*, JS::MutableHandle)' at src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:1673:19: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'atom' in 'MEM[(struct Rooted * *)_155 + 56B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp: In member function '(anonymous namespace)::NodeBuilder::classMethod(JS::Handle, JS::Handle, PropKind, bool, js::frontend::TokenPos*, JS::MutableHandle)': src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:433:20: note: 'atom' declared here 433 | RootedAtom atom(cx, Atomize(cx, name, strlen(name))); | ^~~~ src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:433:20: note: 'MEM[(struct JSContext * const &)this_9(D)]' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSAtom*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from '(anonymous namespace)::NodeBuilder::defineProperty(JS::Handle, char const*, JS::Handle)' at src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:433:60, inlined from '(anonymous namespace)::NodeBuilder::newNodeHelper&, char const (&) [7], JS::Rooted&, JS::MutableHandle&>(JS::Handle, char const*, JS::Handle, char const (&) [9], JS::Handle&, char const (&) [7], JS::Rooted&, JS::MutableHandle&)bool' at src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:396:30, inlined from '(anonymous namespace)::NodeBuilder::newNode&, char const (&) [9], JS::Handle&, char const (&) [7], JS::Rooted&, JS::MutableHandle&>(ASTType, js::frontend::TokenPos*, char const (&) [9], JS::Rooted&, char const (&) [9], JS::Handle&, char const (&) [7], JS::Rooted&, JS::MutableHandle&)bool' at src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:411:29, inlined from '(anonymous namespace)::NodeBuilder::updateExpression(JS::Handle, bool, bool, js::frontend::TokenPos*, JS::MutableHandle)' at src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:1069:19: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'atom' in 'MEM[(struct Rooted * *)_156 + 56B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp: In member function '(anonymous namespace)::NodeBuilder::updateExpression(JS::Handle, bool, bool, js::frontend::TokenPos*, JS::MutableHandle)': src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:433:20: note: 'atom' declared here 433 | RootedAtom atom(cx, Atomize(cx, name, strlen(name))); | ^~~~ src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:433:20: note: 'MEM[(struct JSContext * const &)this_9(D)]' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSAtom*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from '(anonymous namespace)::NodeBuilder::defineProperty(JS::Handle, char const*, JS::Handle)' at src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:433:60, inlined from '(anonymous namespace)::NodeBuilder::newNodeHelper&, JS::MutableHandle&>(JS::Handle, char const*, JS::Handle, char const (&) [10], JS::Rooted&, JS::MutableHandle&)bool' at src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:396:30, inlined from '(anonymous namespace)::NodeBuilder::newNode&, char const (&) [10], JS::Rooted&, JS::MutableHandle&>(ASTType, js::frontend::TokenPos*, char const (&) [7], JS::Handle&, char const (&) [10], JS::Rooted&, JS::MutableHandle&)bool' at src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:411:29, inlined from '(anonymous namespace)::NodeBuilder::yieldExpression(JS::Handle, YieldKind, js::frontend::TokenPos*, JS::MutableHandle)' at src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:1324:19: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'atom' in 'MEM[(struct Rooted * *)_123 + 56B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp: In member function '(anonymous namespace)::NodeBuilder::yieldExpression(JS::Handle, YieldKind, js::frontend::TokenPos*, JS::MutableHandle)': src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:433:20: note: 'atom' declared here 433 | RootedAtom atom(cx, Atomize(cx, name, strlen(name))); | ^~~~ src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:433:20: note: 'MEM[(struct JSContext * const &)this_6(D)]' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSAtom*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from '(anonymous namespace)::NodeBuilder::defineProperty(JS::Handle, char const*, JS::Handle)' at src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:433:60, inlined from '(anonymous namespace)::NodeBuilder::newNodeHelper&, char const (&) [7], JS::Rooted&, JS::MutableHandle&>(JS::Handle, char const*, JS::Handle, char const (&) [9], JS::Handle&, char const (&) [7], JS::Rooted&, JS::MutableHandle&)bool' at src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:396:30, inlined from '(anonymous namespace)::NodeBuilder::newNode&, char const (&) [9], JS::Handle&, char const (&) [7], JS::Rooted&, JS::MutableHandle&>(ASTType, js::frontend::TokenPos*, char const (&) [9], JS::Rooted&, char const (&) [9], JS::Handle&, char const (&) [7], JS::Rooted&, JS::MutableHandle&)bool' at src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:411:29, inlined from '(anonymous namespace)::NodeBuilder::unaryExpression(UnaryOperator, JS::Handle, js::frontend::TokenPos*, JS::MutableHandle)' at src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:1027:19: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'atom' in 'MEM[(struct Rooted * *)_142 + 56B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp: In member function '(anonymous namespace)::NodeBuilder::unaryExpression(UnaryOperator, JS::Handle, js::frontend::TokenPos*, JS::MutableHandle)': src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:433:20: note: 'atom' declared here 433 | RootedAtom atom(cx, Atomize(cx, name, strlen(name))); | ^~~~ src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:433:20: note: 'MEM[(struct JSContext * const &)this_9(D)]' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSAtom*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from '(anonymous namespace)::NodeBuilder::defineProperty(JS::Handle, char const*, JS::Handle)' at src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:433:60, inlined from '(anonymous namespace)::NodeBuilder::newNodeHelper&, char const (&) [10], JS::Handle&, JS::MutableHandle&>(JS::Handle, char const*, JS::Handle, char const (&) [11], JS::Handle&, char const (&) [10], JS::Handle&, JS::MutableHandle&)bool' at src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:396:30, inlined from '(anonymous namespace)::NodeBuilder::newNode&, char const (&) [11], JS::Handle&, char const (&) [10], JS::Handle&, JS::MutableHandle&>(ASTType, js::frontend::TokenPos*, char const (&) [5], JS::Handle&, char const (&) [11], JS::Handle&, char const (&) [10], JS::Handle&, JS::MutableHandle&)bool' at src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:411:29, inlined from '(anonymous namespace)::NodeBuilder::ifStatement(JS::Handle, JS::Handle, JS::Handle, js::frontend::TokenPos*, JS::MutableHandle)' at src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:788:19: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'atom' in 'MEM[(struct Rooted * *)_101 + 56B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp: In member function '(anonymous namespace)::NodeBuilder::ifStatement(JS::Handle, JS::Handle, JS::Handle, js::frontend::TokenPos*, JS::MutableHandle)': src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:433:20: note: 'atom' declared here 433 | RootedAtom atom(cx, Atomize(cx, name, strlen(name))); | ^~~~ src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:433:20: note: 'MEM[(struct JSContext * const &)this_6(D)]' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSAtom*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from '(anonymous namespace)::NodeBuilder::defineProperty(JS::Handle, char const*, JS::Handle)' at src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:433:60, inlined from '(anonymous namespace)::NodeBuilder::newNodeHelper&>(JS::Handle, char const*, JS::Handle, JS::MutableHandle&)bool' at src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:396:30, inlined from '(anonymous namespace)::NodeBuilder::newNode&, JS::MutableHandle&>(ASTType, js::frontend::TokenPos*, char const (&) [11], JS::Handle&, JS::MutableHandle&)bool' at src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:411:29, inlined from '(anonymous namespace)::NodeBuilder::literal(JS::Handle, js::frontend::TokenPos*, JS::MutableHandle)' at src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:1576:19: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'atom' in 'MEM[(struct Rooted * *)_89 + 56B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp: In member function '(anonymous namespace)::NodeBuilder::literal(JS::Handle, js::frontend::TokenPos*, JS::MutableHandle)': src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:433:20: note: 'atom' declared here 433 | RootedAtom atom(cx, Atomize(cx, name, strlen(name))); | ^~~~ src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:433:20: note: 'MEM[(struct JSContext * const &)this_5(D)]' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSAtom*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from '(anonymous namespace)::NodeBuilder::defineProperty(JS::Handle, char const*, JS::Handle)' at src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:433:60, inlined from '(anonymous namespace)::NodeBuilder::newNodeHelper&, char const (&) [10], JS::Handle&, JS::MutableHandle&>(JS::Handle, char const*, JS::Handle, char const (&) [11], JS::Handle&, char const (&) [10], JS::Handle&, JS::MutableHandle&)bool' at src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:396:30, inlined from '(anonymous namespace)::NodeBuilder::newNode&, char const (&) [5], JS::Handle&, char const (&) [6], JS::Handle&, JS::MutableHandle&>(ASTType, js::frontend::TokenPos*, char const (&) [9], JS::Rooted&, char const (&) [5], JS::Handle&, char const (&) [6], JS::Handle&, JS::MutableHandle&)bool' at src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:411:29, inlined from '(anonymous namespace)::NodeBuilder::assignmentExpression(AssignmentOperator, JS::Handle, JS::Handle, js::frontend::TokenPos*, JS::MutableHandle)' at src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:1048:19: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'atom' in 'MEM[(struct Rooted * *)_130 + 56B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp: In member function '(anonymous namespace)::NodeBuilder::assignmentExpression(AssignmentOperator, JS::Handle, JS::Handle, js::frontend::TokenPos*, JS::MutableHandle)': src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:433:20: note: 'atom' declared here 433 | RootedAtom atom(cx, Atomize(cx, name, strlen(name))); | ^~~~ src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:433:20: note: 'MEM[(struct JSContext * const &)this_9(D)]' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSAtom*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from '(anonymous namespace)::NodeBuilder::defineProperty(JS::Handle, char const*, JS::Handle)' at src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:433:60, inlined from '(anonymous namespace)::NodeBuilder::newNodeHelper&, char const (&) [10], JS::Handle&, JS::MutableHandle&>(JS::Handle, char const*, JS::Handle, char const (&) [11], JS::Handle&, char const (&) [10], JS::Handle&, JS::MutableHandle&)bool' at src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:396:30, inlined from '(anonymous namespace)::NodeBuilder::newNode&, char const (&) [5], JS::Handle&, char const (&) [6], JS::Handle&, JS::MutableHandle&>(ASTType, js::frontend::TokenPos*, char const (&) [9], JS::Rooted&, char const (&) [5], JS::Handle&, char const (&) [6], JS::Handle&, JS::MutableHandle&)bool' at src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:411:29, inlined from '(anonymous namespace)::NodeBuilder::binaryExpression(BinaryOperator, JS::Handle, JS::Handle, js::frontend::TokenPos*, JS::MutableHandle)' at src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:1005:19: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'atom' in 'MEM[(struct Rooted * *)_130 + 56B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp: In member function '(anonymous namespace)::NodeBuilder::binaryExpression(BinaryOperator, JS::Handle, JS::Handle, js::frontend::TokenPos*, JS::MutableHandle)': src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:433:20: note: 'atom' declared here 433 | RootedAtom atom(cx, Atomize(cx, name, strlen(name))); | ^~~~ src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:433:20: note: 'MEM[(struct JSContext * const &)this_9(D)]' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSAtom*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from '(anonymous namespace)::NodeBuilder::defineProperty(JS::Handle, char const*, JS::Handle)' at src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:433:60, inlined from '(anonymous namespace)::NodeBuilder::newNodeHelper&, JS::MutableHandle&>(JS::Handle, char const*, JS::Handle, char const (&) [5], JS::Handle&, JS::MutableHandle&)bool' at src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:396:30, inlined from '(anonymous namespace)::NodeBuilder::newNodeHelper&, char const (&) [10], JS::Handle&, JS::MutableHandle&>(JS::Handle, char const*, JS::Handle, char const (&) [11], JS::Handle&, char const (&) [10], JS::Handle&, JS::MutableHandle&)bool' at src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:397:32, inlined from '(anonymous namespace)::NodeBuilder::newNode&, char const (&) [11], JS::Handle&, char const (&) [10], JS::Handle&, JS::MutableHandle&>(ASTType, js::frontend::TokenPos*, char const (&) [5], JS::Handle&, char const (&) [11], JS::Handle&, char const (&) [10], JS::Handle&, JS::MutableHandle&)bool' at src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:411:29, inlined from '(anonymous namespace)::NodeBuilder::conditionalExpression(JS::Handle, JS::Handle, JS::Handle, js::frontend::TokenPos*, JS::MutableHandle)' at src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:1103:19: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'atom' in 'MEM[(struct Rooted * *)_118 + 56B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp: In member function '(anonymous namespace)::NodeBuilder::conditionalExpression(JS::Handle, JS::Handle, JS::Handle, js::frontend::TokenPos*, JS::MutableHandle)': src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:433:20: note: 'atom' declared here 433 | RootedAtom atom(cx, Atomize(cx, name, strlen(name))); | ^~~~ src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:433:20: note: 'MEM[(struct JSContext * const &)this_5(D)]' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSAtom*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from '(anonymous namespace)::NodeBuilder::defineProperty(JS::Handle, char const*, JS::Handle)' at src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:433:60, inlined from '(anonymous namespace)::NodeBuilder::newNodeHelper&, char const (&) [10], JS::Handle&, JS::MutableHandle&>(JS::Handle, char const*, JS::Handle, char const (&) [11], JS::Handle&, char const (&) [10], JS::Handle&, JS::MutableHandle&)bool' at src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:396:30, inlined from '(anonymous namespace)::NodeBuilder::newNode&, char const (&) [11], JS::Handle&, char const (&) [10], JS::Handle&, JS::MutableHandle&>(ASTType, js::frontend::TokenPos*, char const (&) [5], JS::Handle&, char const (&) [11], JS::Handle&, char const (&) [10], JS::Handle&, JS::MutableHandle&)bool' at src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:411:29, inlined from '(anonymous namespace)::NodeBuilder::conditionalExpression(JS::Handle, JS::Handle, JS::Handle, js::frontend::TokenPos*, JS::MutableHandle)' at src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:1103:19: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'atom' in 'MEM[(struct Rooted * *)_91 + 56B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp: In member function '(anonymous namespace)::NodeBuilder::conditionalExpression(JS::Handle, JS::Handle, JS::Handle, js::frontend::TokenPos*, JS::MutableHandle)': src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:433:20: note: 'atom' declared here 433 | RootedAtom atom(cx, Atomize(cx, name, strlen(name))); | ^~~~ src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:433:20: note: 'MEM[(struct JSContext * const &)this_5(D)]' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSAtom*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from '(anonymous namespace)::NodeBuilder::defineProperty(JS::Handle, char const*, JS::Handle)' at src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:433:60, inlined from '(anonymous namespace)::NodeBuilder::newNodeHelper&, JS::MutableHandle&>(JS::Handle, char const*, JS::Handle, char const (&) [10], JS::Rooted&, JS::MutableHandle&)bool' at src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:396:30, inlined from '(anonymous namespace)::NodeBuilder::newNodeHelper&, char const (&) [7], JS::Rooted&, JS::MutableHandle&>(JS::Handle, char const*, JS::Handle, char const (&) [9], JS::Handle&, char const (&) [7], JS::Rooted&, JS::MutableHandle&)bool' at src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:397:32, inlined from '(anonymous namespace)::NodeBuilder::newNode&, char const (&) [9], JS::Handle&, char const (&) [9], JS::Rooted&, JS::MutableHandle&>(ASTType, js::frontend::TokenPos*, char const (&) [7], JS::Handle&, char const (&) [9], JS::Handle&, char const (&) [9], JS::Rooted&, JS::MutableHandle&)bool' at src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:411:29, inlined from '(anonymous namespace)::NodeBuilder::memberExpression(bool, JS::Handle, JS::Handle, js::frontend::TokenPos*, JS::MutableHandle)' at src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:1162:19: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'atom' in 'MEM[(struct Rooted * *)_139 + 56B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp: In member function '(anonymous namespace)::NodeBuilder::memberExpression(bool, JS::Handle, JS::Handle, js::frontend::TokenPos*, JS::MutableHandle)': src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:433:20: note: 'atom' declared here 433 | RootedAtom atom(cx, Atomize(cx, name, strlen(name))); | ^~~~ src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:433:20: note: 'MEM[(struct JSContext * const &)this_7(D)]' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSAtom*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from '(anonymous namespace)::NodeBuilder::defineProperty(JS::Handle, char const*, JS::Handle)' at src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:433:60, inlined from '(anonymous namespace)::NodeBuilder::newNodeHelper&, char const (&) [7], JS::Rooted&, JS::MutableHandle&>(JS::Handle, char const*, JS::Handle, char const (&) [9], JS::Handle&, char const (&) [7], JS::Rooted&, JS::MutableHandle&)bool' at src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:396:30, inlined from '(anonymous namespace)::NodeBuilder::newNode&, char const (&) [9], JS::Handle&, char const (&) [9], JS::Rooted&, JS::MutableHandle&>(ASTType, js::frontend::TokenPos*, char const (&) [7], JS::Handle&, char const (&) [9], JS::Handle&, char const (&) [9], JS::Rooted&, JS::MutableHandle&)bool' at src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:411:29, inlined from '(anonymous namespace)::NodeBuilder::memberExpression(bool, JS::Handle, JS::Handle, js::frontend::TokenPos*, JS::MutableHandle)' at src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:1162:19: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'atom' in 'MEM[(struct Rooted * *)_111 + 56B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp: In member function '(anonymous namespace)::NodeBuilder::memberExpression(bool, JS::Handle, JS::Handle, js::frontend::TokenPos*, JS::MutableHandle)': src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:433:20: note: 'atom' declared here 433 | RootedAtom atom(cx, Atomize(cx, name, strlen(name))); | ^~~~ src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:433:20: note: 'MEM[(struct JSContext * const &)this_7(D)]' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSAtom*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from '(anonymous namespace)::NodeBuilder::defineProperty(JS::Handle, char const*, JS::Handle)' at src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:433:60, inlined from '(anonymous namespace)::NodeBuilder::newNodeHelper&>(JS::Handle, char const*, JS::Handle, JS::MutableHandle&)bool' at src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:396:30, inlined from '(anonymous namespace)::NodeBuilder::newNodeHelper&, JS::MutableHandle&>(JS::Handle, char const*, JS::Handle, char const (&) [10], JS::Rooted&, JS::MutableHandle&)bool' at src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:397:32, inlined from '(anonymous namespace)::NodeBuilder::newNode&, char const (&) [7], JS::Rooted&, JS::MutableHandle&>(ASTType, js::frontend::TokenPos*, char const (&) [4], JS::Rooted&, char const (&) [7], JS::Rooted&, JS::MutableHandle&)bool' at src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:411:29, inlined from '(anonymous namespace)::NodeBuilder::callSiteObj(JS::AutoVectorRooter&, JS::AutoVectorRooter&, js::frontend::TokenPos*, JS::MutableHandle)' at src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:1186:19: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'atom' in 'MEM[(struct Rooted * *)_110 + 56B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp: In member function '(anonymous namespace)::NodeBuilder::callSiteObj(JS::AutoVectorRooter&, JS::AutoVectorRooter&, js::frontend::TokenPos*, JS::MutableHandle)': src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:433:20: note: 'atom' declared here 433 | RootedAtom atom(cx, Atomize(cx, name, strlen(name))); | ^~~~ src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:433:20: note: 'MEM[(struct JSContext * const &)this_7(D)]' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSAtom*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from '(anonymous namespace)::NodeBuilder::defineProperty(JS::Handle, char const*, JS::Handle)' at src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:433:60, inlined from '(anonymous namespace)::NodeBuilder::newNodeHelper&, JS::MutableHandle&>(JS::Handle, char const*, JS::Handle, char const (&) [10], JS::Rooted&, JS::MutableHandle&)bool' at src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:396:30, inlined from '(anonymous namespace)::NodeBuilder::newNode&, char const (&) [7], JS::Rooted&, JS::MutableHandle&>(ASTType, js::frontend::TokenPos*, char const (&) [4], JS::Rooted&, char const (&) [7], JS::Rooted&, JS::MutableHandle&)bool' at src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:411:29, inlined from '(anonymous namespace)::NodeBuilder::callSiteObj(JS::AutoVectorRooter&, JS::AutoVectorRooter&, js::frontend::TokenPos*, JS::MutableHandle)' at src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:1186:19: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'atom' in 'MEM[(struct Rooted * *)_79 + 56B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp: In member function '(anonymous namespace)::NodeBuilder::callSiteObj(JS::AutoVectorRooter&, JS::AutoVectorRooter&, js::frontend::TokenPos*, JS::MutableHandle)': src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:433:20: note: 'atom' declared here 433 | RootedAtom atom(cx, Atomize(cx, name, strlen(name))); | ^~~~ src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:433:20: note: 'MEM[(struct JSContext * const &)this_7(D)]' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSAtom*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from '(anonymous namespace)::NodeBuilder::defineProperty(JS::Handle, char const*, JS::Handle)' at src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:433:60, inlined from '(anonymous namespace)::NodeBuilder::newNodeHelper&, char const (&) [7], JS::Rooted&, JS::MutableHandle&>(JS::Handle, char const*, JS::Handle, char const (&) [9], JS::Handle&, char const (&) [7], JS::Rooted&, JS::MutableHandle&)bool' at src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:396:30, inlined from '(anonymous namespace)::NodeBuilder::newNodeHelper&, char const (&) [5], JS::Handle&, char const (&) [5], JS::Rooted&, JS::MutableHandle&>(JS::Handle, char const*, JS::Handle, char const (&) [6], JS::Handle&, char const (&) [5], JS::Handle&, char const (&) [5], JS::Rooted&, JS::MutableHandle&)bool' at src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:397:32, inlined from '(anonymous namespace)::NodeBuilder::newNode&, char const (&) [6], JS::Handle&, char const (&) [5], JS::Handle&, char const (&) [5], JS::Rooted&, JS::MutableHandle&>(ASTType, js::frontend::TokenPos*, char const (&) [5], JS::Handle&, char const (&) [6], JS::Handle&, char const (&) [5], JS::Handle&, char const (&) [5], JS::Rooted&, JS::MutableHandle&)bool' at src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:411:29, inlined from '(anonymous namespace)::NodeBuilder::forInStatement(JS::Handle, JS::Handle, JS::Handle, bool, js::frontend::TokenPos*, JS::MutableHandle)' at src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:875:19: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'atom' in 'MEM[(struct Rooted * *)_144 + 56B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp: In member function '(anonymous namespace)::NodeBuilder::forInStatement(JS::Handle, JS::Handle, JS::Handle, bool, js::frontend::TokenPos*, JS::MutableHandle)': src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:433:20: note: 'atom' declared here 433 | RootedAtom atom(cx, Atomize(cx, name, strlen(name))); | ^~~~ src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:433:20: note: 'MEM[(struct JSContext * const &)this_7(D)]' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSAtom*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from '(anonymous namespace)::NodeBuilder::defineProperty(JS::Handle, char const*, JS::Handle)' at src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:433:60, inlined from '(anonymous namespace)::NodeBuilder::newNodeHelper&, char const (&) [5], JS::Handle&, char const (&) [5], JS::Rooted&, JS::MutableHandle&>(JS::Handle, char const*, JS::Handle, char const (&) [6], JS::Handle&, char const (&) [5], JS::Handle&, char const (&) [5], JS::Rooted&, JS::MutableHandle&)bool' at src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:396:30, inlined from '(anonymous namespace)::NodeBuilder::newNode&, char const (&) [6], JS::Handle&, char const (&) [5], JS::Handle&, char const (&) [5], JS::Rooted&, JS::MutableHandle&>(ASTType, js::frontend::TokenPos*, char const (&) [5], JS::Handle&, char const (&) [6], JS::Handle&, char const (&) [5], JS::Handle&, char const (&) [5], JS::Rooted&, JS::MutableHandle&)bool' at src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:411:29, inlined from '(anonymous namespace)::NodeBuilder::forInStatement(JS::Handle, JS::Handle, JS::Handle, bool, js::frontend::TokenPos*, JS::MutableHandle)' at src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:875:19: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'atom' in 'MEM[(struct Rooted * *)_117 + 56B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp: In member function '(anonymous namespace)::NodeBuilder::forInStatement(JS::Handle, JS::Handle, JS::Handle, bool, js::frontend::TokenPos*, JS::MutableHandle)': src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:433:20: note: 'atom' declared here 433 | RootedAtom atom(cx, Atomize(cx, name, strlen(name))); | ^~~~ src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:433:20: note: 'MEM[(struct JSContext * const &)this_7(D)]' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSAtom*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from '(anonymous namespace)::NodeBuilder::defineProperty(JS::Handle, char const*, JS::Handle)' at src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:433:60, inlined from '(anonymous namespace)::NodeBuilder::newNodeHelper&, char const (&) [7], JS::Handle&, char const (&) [6], JS::Rooted&, JS::MutableHandle&>(JS::Handle, char const*, JS::Handle, char const (&) [7], JS::Rooted&, char const (&) [7], JS::Handle&, char const (&) [6], JS::Rooted&, JS::MutableHandle&)bool' at src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:396:30, inlined from '(anonymous namespace)::NodeBuilder::newNode&, char const (&) [7], JS::Rooted&, char const (&) [7], JS::Handle&, char const (&) [6], JS::Rooted&, JS::MutableHandle&>(ASTType, js::frontend::TokenPos*, char const (&) [5], JS::Handle&, char const (&) [7], JS::Rooted&, char const (&) [7], JS::Handle&, char const (&) [6], JS::Rooted&, JS::MutableHandle&)bool' at src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:411:29, inlined from '(anonymous namespace)::NodeBuilder::comprehensionExpression(JS::Handle, JS::AutoVectorRooter&, JS::Handle, bool, js::frontend::TokenPos*, JS::MutableHandle)' at src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:1374:19: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'atom' in 'MEM[(struct Rooted * *)_178 + 56B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp: In member function '(anonymous namespace)::NodeBuilder::comprehensionExpression(JS::Handle, JS::AutoVectorRooter&, JS::Handle, bool, js::frontend::TokenPos*, JS::MutableHandle)': src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:433:20: note: 'atom' declared here 433 | RootedAtom atom(cx, Atomize(cx, name, strlen(name))); | ^~~~ src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:433:20: note: 'MEM[(struct JSContext * const &)this_12(D)]' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSAtom*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from '(anonymous namespace)::NodeBuilder::defineProperty(JS::Handle, char const*, JS::Handle)' at src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:433:60, inlined from '(anonymous namespace)::NodeBuilder::newNodeHelper&, char const (&) [7], JS::Handle&, char const (&) [6], JS::Rooted&, JS::MutableHandle&>(JS::Handle, char const*, JS::Handle, char const (&) [7], JS::Rooted&, char const (&) [7], JS::Handle&, char const (&) [6], JS::Rooted&, JS::MutableHandle&)bool' at src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:396:30, inlined from '(anonymous namespace)::NodeBuilder::newNode&, char const (&) [7], JS::Rooted&, char const (&) [7], JS::Handle&, char const (&) [6], JS::Rooted&, JS::MutableHandle&>(ASTType, js::frontend::TokenPos*, char const (&) [5], JS::Handle&, char const (&) [7], JS::Rooted&, char const (&) [7], JS::Handle&, char const (&) [6], JS::Rooted&, JS::MutableHandle&)bool' at src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:411:29, inlined from '(anonymous namespace)::NodeBuilder::generatorExpression(JS::Handle, JS::AutoVectorRooter&, JS::Handle, bool, js::frontend::TokenPos*, JS::MutableHandle)' at src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:1398:19: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'atom' in 'MEM[(struct Rooted * *)_178 + 56B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp: In member function '(anonymous namespace)::NodeBuilder::generatorExpression(JS::Handle, JS::AutoVectorRooter&, JS::Handle, bool, js::frontend::TokenPos*, JS::MutableHandle)': src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:433:20: note: 'atom' declared here 433 | RootedAtom atom(cx, Atomize(cx, name, strlen(name))); | ^~~~ src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:433:20: note: 'MEM[(struct JSContext * const &)this_12(D)]' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSAtom*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from '(anonymous namespace)::NodeBuilder::defineProperty(JS::Handle, char const*, JS::Handle)' at src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:433:60, inlined from '(anonymous namespace)::NodeBuilder::newNodeHelper&>(JS::Handle, char const*, JS::Handle, JS::MutableHandle&)bool' at src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:396:30, inlined from '(anonymous namespace)::NodeBuilder::newNodeHelper&, JS::MutableHandle&>(JS::Handle, char const*, JS::Handle, char const (&) [10], JS::Rooted&, JS::MutableHandle&)bool' at src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:397:32, inlined from '(anonymous namespace)::NodeBuilder::newNode&, char const (&) [10], JS::Rooted&, JS::MutableHandle&>(ASTType, js::frontend::TokenPos*, char const (&) [7], JS::Handle&, char const (&) [10], JS::Rooted&, JS::MutableHandle&)bool' at src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:411:29, inlined from '(anonymous namespace)::NodeBuilder::callExpression(JS::Handle, JS::AutoVectorRooter&, js::frontend::TokenPos*, JS::MutableHandle)' at src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:1128:19: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'atom' in 'MEM[(struct Rooted * *)_150 + 56B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp: In member function '(anonymous namespace)::NodeBuilder::callExpression(JS::Handle, JS::AutoVectorRooter&, js::frontend::TokenPos*, JS::MutableHandle)': src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:433:20: note: 'atom' declared here 433 | RootedAtom atom(cx, Atomize(cx, name, strlen(name))); | ^~~~ src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:433:20: note: 'MEM[(struct JSContext * const &)this_8(D)]' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSAtom*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from '(anonymous namespace)::NodeBuilder::defineProperty(JS::Handle, char const*, JS::Handle)' at src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:433:60, inlined from '(anonymous namespace)::NodeBuilder::newNodeHelper&, JS::MutableHandle&>(JS::Handle, char const*, JS::Handle, char const (&) [10], JS::Rooted&, JS::MutableHandle&)bool' at src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:396:30, inlined from '(anonymous namespace)::NodeBuilder::newNode&, char const (&) [10], JS::Rooted&, JS::MutableHandle&>(ASTType, js::frontend::TokenPos*, char const (&) [7], JS::Handle&, char const (&) [10], JS::Rooted&, JS::MutableHandle&)bool' at src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:411:29, inlined from '(anonymous namespace)::NodeBuilder::callExpression(JS::Handle, JS::AutoVectorRooter&, js::frontend::TokenPos*, JS::MutableHandle)' at src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:1128:19: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'atom' in 'MEM[(struct Rooted * *)_119 + 56B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp: In member function '(anonymous namespace)::NodeBuilder::callExpression(JS::Handle, JS::AutoVectorRooter&, js::frontend::TokenPos*, JS::MutableHandle)': src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:433:20: note: 'atom' declared here 433 | RootedAtom atom(cx, Atomize(cx, name, strlen(name))); | ^~~~ src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:433:20: note: 'MEM[(struct JSContext * const &)this_8(D)]' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSAtom*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from '(anonymous namespace)::NodeBuilder::defineProperty(JS::Handle, char const*, JS::Handle)' at src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:433:60, inlined from '(anonymous namespace)::NodeBuilder::newNodeHelper&>(JS::Handle, char const*, JS::Handle, JS::MutableHandle&)bool' at src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:396:30, inlined from '(anonymous namespace)::NodeBuilder::newNodeHelper&, JS::MutableHandle&>(JS::Handle, char const*, JS::Handle, char const (&) [10], JS::Rooted&, JS::MutableHandle&)bool' at src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:397:32, inlined from '(anonymous namespace)::NodeBuilder::newNode&, char const (&) [10], JS::Rooted&, JS::MutableHandle&>(ASTType, js::frontend::TokenPos*, char const (&) [7], JS::Handle&, char const (&) [10], JS::Rooted&, JS::MutableHandle&)bool' at src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:411:29, inlined from '(anonymous namespace)::NodeBuilder::newExpression(JS::Handle, JS::AutoVectorRooter&, js::frontend::TokenPos*, JS::MutableHandle)' at src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:1146:19: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'atom' in 'MEM[(struct Rooted * *)_150 + 56B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp: In member function '(anonymous namespace)::NodeBuilder::newExpression(JS::Handle, JS::AutoVectorRooter&, js::frontend::TokenPos*, JS::MutableHandle)': src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:433:20: note: 'atom' declared here 433 | RootedAtom atom(cx, Atomize(cx, name, strlen(name))); | ^~~~ src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:433:20: note: 'MEM[(struct JSContext * const &)this_8(D)]' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSAtom*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from '(anonymous namespace)::NodeBuilder::defineProperty(JS::Handle, char const*, JS::Handle)' at src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:433:60, inlined from '(anonymous namespace)::NodeBuilder::newNodeHelper&, JS::MutableHandle&>(JS::Handle, char const*, JS::Handle, char const (&) [10], JS::Rooted&, JS::MutableHandle&)bool' at src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:396:30, inlined from '(anonymous namespace)::NodeBuilder::newNode&, char const (&) [10], JS::Rooted&, JS::MutableHandle&>(ASTType, js::frontend::TokenPos*, char const (&) [7], JS::Handle&, char const (&) [10], JS::Rooted&, JS::MutableHandle&)bool' at src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:411:29, inlined from '(anonymous namespace)::NodeBuilder::newExpression(JS::Handle, JS::AutoVectorRooter&, js::frontend::TokenPos*, JS::MutableHandle)' at src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:1146:19: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'atom' in 'MEM[(struct Rooted * *)_119 + 56B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp: In member function '(anonymous namespace)::NodeBuilder::newExpression(JS::Handle, JS::AutoVectorRooter&, js::frontend::TokenPos*, JS::MutableHandle)': src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:433:20: note: 'atom' declared here 433 | RootedAtom atom(cx, Atomize(cx, name, strlen(name))); | ^~~~ src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:433:20: note: 'MEM[(struct JSContext * const &)this_8(D)]' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'Reflect_get(JSContext*, unsigned int, JS::Value*)' at src/third_party/mozjs-45/extract/js/src/builtin/Reflect.cpp:208:56: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'obj' in 'MEM[(struct Rooted * *)cx_134(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/Reflect.cpp: In function 'Reflect_get(JSContext*, unsigned int, JS::Value*)': src/third_party/mozjs-45/extract/js/src/builtin/Reflect.cpp:208:18: note: 'obj' declared here 208 | RootedObject obj(cx, NonNullObject(cx, args.get(0))); | ^~~ src/third_party/mozjs-45/extract/js/src/builtin/Reflect.cpp:208:18: note: 'cx_134(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::obj_hasOwnProperty(JSContext*, unsigned int, JS::Value*)' at src/third_party/mozjs-45/extract/js/src/builtin/Object.cpp:543:52: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'obj' in 'MEM[(struct Rooted * *)cx_104(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/Object.cpp: In function 'js::obj_hasOwnProperty(JSContext*, unsigned int, JS::Value*)': src/third_party/mozjs-45/extract/js/src/builtin/Object.cpp:543:18: note: 'obj' declared here 543 | RootedObject obj(cx, ToObject(cx, args.thisv())); | ^~~ src/third_party/mozjs-45/extract/js/src/builtin/Object.cpp:543:18: note: 'cx_104(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'Reflect_set(JSContext*, unsigned int, JS::Value*)' at src/third_party/mozjs-45/extract/js/src/builtin/Reflect.cpp:323:59: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'target' in 'MEM[(struct Rooted * *)cx_140(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/Reflect.cpp: In function 'Reflect_set(JSContext*, unsigned int, JS::Value*)': src/third_party/mozjs-45/extract/js/src/builtin/Reflect.cpp:323:18: note: 'target' declared here 323 | RootedObject target(cx, NonNullObject(cx, args.get(0))); | ^~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/Reflect.cpp:323:18: note: 'cx_140(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'Reflect_deleteProperty(JSContext*, unsigned int, JS::Value*)' at src/third_party/mozjs-45/extract/js/src/builtin/Reflect.cpp:152:59: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'target' in 'MEM[(struct Rooted * *)cx_95(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/Reflect.cpp: In function 'Reflect_deleteProperty(JSContext*, unsigned int, JS::Value*)': src/third_party/mozjs-45/extract/js/src/builtin/Reflect.cpp:152:18: note: 'target' declared here 152 | RootedObject target(cx, NonNullObject(cx, args.get(0))); | ^~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/Reflect.cpp:152:18: note: 'cx_95(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::obj_getOwnPropertyDescriptor(JSContext*, unsigned int, JS::Value*)' at src/third_party/mozjs-45/extract/js/src/builtin/Object.cpp:668:51: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'obj' in 'MEM[(struct Rooted * *)cx_104(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/Object.cpp: In function 'js::obj_getOwnPropertyDescriptor(JSContext*, unsigned int, JS::Value*)': src/third_party/mozjs-45/extract/js/src/builtin/Object.cpp:668:18: note: 'obj' declared here 668 | RootedObject obj(cx, ToObject(cx, args.get(0))); | ^~~ src/third_party/mozjs-45/extract/js/src/builtin/Object.cpp:668:18: note: 'cx_104(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'Reflect_defineProperty(JSContext*, unsigned int, JS::Value*)' at src/third_party/mozjs-45/extract/js/src/builtin/Reflect.cpp:122:56: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'obj' in 'MEM[(struct Rooted * *)cx_134(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/Reflect.cpp: In function 'Reflect_defineProperty(JSContext*, unsigned int, JS::Value*)': src/third_party/mozjs-45/extract/js/src/builtin/Reflect.cpp:122:18: note: 'obj' declared here 122 | RootedObject obj(cx, NonNullObject(cx, args.get(0))); | ^~~ src/third_party/mozjs-45/extract/js/src/builtin/Reflect.cpp:122:18: note: 'cx_134(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::obj_propertyIsEnumerable(JSContext*, unsigned int, JS::Value*)' at src/third_party/mozjs-45/extract/js/src/builtin/Object.cpp:95:52: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'obj' in 'MEM[(struct Rooted * *)cx_139(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/Object.cpp: In function 'js::obj_propertyIsEnumerable(JSContext*, unsigned int, JS::Value*)': src/third_party/mozjs-45/extract/js/src/builtin/Object.cpp:95:18: note: 'obj' declared here 95 | RootedObject obj(cx, ToObject(cx, args.thisv())); | ^~~ src/third_party/mozjs-45/extract/js/src/builtin/Object.cpp:95:18: note: 'cx_139(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::ModuleNamespaceObject::create(JSContext*, JS::Handle)' at src/third_party/mozjs-45/extract/js/src/builtin/ModuleObject.cpp:279:86: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'object' in 'MEM[(struct Rooted * *)cx_111(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/ModuleObject.cpp: In function 'js::ModuleNamespaceObject::create(JSContext*, JS::Handle)': src/third_party/mozjs-45/extract/js/src/builtin/ModuleObject.cpp:279:18: note: 'object' declared here 279 | RootedObject object(cx, NewProxyObject(cx, &proxyHandler, priv, nullptr, options)); | ^~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/ModuleObject.cpp:279:18: note: 'cx_111(D)' declared here In member function 'js::AutoResolving::AutoResolving(JSContext*, JS::Handle, JS::Handle, js::AutoResolving::Kind)', inlined from 'js::WatchHandler(JSContext*, JSObject*, jsid, JS::Value, JS::Value*, void*)' at src/third_party/mozjs-45/extract/js/src/builtin/Object.cpp:438:62: src/third_party/mozjs-45/extract/js/src/jscntxt.h:492:27: warning: storing the address of local variable 'resolving' in '*cx_112(D).resolvingList' [-Wdangling-pointer=] 492 | cx->resolvingList = this; | ~~~~~~~~~~~~~~~~~~^~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/Object.cpp: In function 'js::WatchHandler(JSContext*, JSObject*, jsid, JS::Value, JS::Value*, void*)': src/third_party/mozjs-45/extract/js/src/builtin/Object.cpp:438:19: note: 'resolving' declared here 438 | AutoResolving resolving(cx, obj, id, AutoResolving::WATCH); | ^~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/Object.cpp:438:19: note: 'cx_112(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::PlainObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::obj_create(JSContext*, unsigned int, JS::Value*)' at src/third_party/mozjs-45/extract/js/src/builtin/Object.cpp:644:58: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'obj' in 'MEM[(struct Rooted * *)cx_168(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/Object.cpp: In function 'js::obj_create(JSContext*, unsigned int, JS::Value*)': src/third_party/mozjs-45/extract/js/src/builtin/Object.cpp:644:23: note: 'obj' declared here 644 | RootedPlainObject obj(cx, ObjectCreateImpl(cx, proto)); | ^~~ src/third_party/mozjs-45/extract/js/src/builtin/Object.cpp:644:23: note: 'cx_168(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'obj_watch(JSContext*, unsigned int, JS::Value*)' at src/third_party/mozjs-45/extract/js/src/builtin/Object.cpp:457:52: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'obj' in 'MEM[(struct Rooted * *)cx_103(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/Object.cpp: In function 'obj_watch(JSContext*, unsigned int, JS::Value*)': src/third_party/mozjs-45/extract/js/src/builtin/Object.cpp:457:18: note: 'obj' declared here 457 | RootedObject obj(cx, ToObject(cx, args.thisv())); | ^~~ src/third_party/mozjs-45/extract/js/src/builtin/Object.cpp:457:18: note: 'cx_103(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::GetOwnPropertyKeys(JSContext*, JS::CallArgs const&, unsigned int)' at src/third_party/mozjs-45/extract/js/src/builtin/Object.cpp:726:51: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'obj' in 'MEM[(struct Rooted * *)cx_100(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/Object.cpp: In function 'js::GetOwnPropertyKeys(JSContext*, JS::CallArgs const&, unsigned int)': src/third_party/mozjs-45/extract/js/src/builtin/Object.cpp:726:18: note: 'obj' declared here 726 | RootedObject obj(cx, ToObject(cx, args.get(0))); | ^~~ src/third_party/mozjs-45/extract/js/src/builtin/Object.cpp:726:18: note: 'cx_100(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:708:30, inlined from '(anonymous namespace)::ASTSerializer::expression(js::frontend::ParseNode*, JS::MutableHandle)' at src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:3187:27: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'arg' in 'MEM[(struct Rooted * *)_659 + 104B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp: In member function '(anonymous namespace)::ASTSerializer::expression(js::frontend::ParseNode*, JS::MutableHandle)': src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:3187:21: note: 'arg' declared here 3187 | RootedValue arg(cx); | ^~~ src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:3187:21: note: 'MEM[(struct JSContext * const &)this_205(D)]' declared here g++ -o build/fedora/third_party/icu4c-57.1/source/common/uloc.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/uloc.cpp In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:708:30, inlined from '(anonymous namespace)::ASTSerializer::statement(js::frontend::ParseNode*, JS::MutableHandle)' at src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:2535:50: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'update' in 'MEM[(struct Rooted * *)_403 + 104B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp: In member function '(anonymous namespace)::ASTSerializer::statement(js::frontend::ParseNode*, JS::MutableHandle)': src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:2535:41: note: 'update' declared here 2535 | RootedValue init(cx), test(cx), update(cx); | ^~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:2535:41: note: 'MEM[(struct JSContext * const &)this_112(D)]' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:708:30, inlined from '(anonymous namespace)::ASTSerializer::statement(js::frontend::ParseNode*, JS::MutableHandle)' at src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:2569:27: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'arg' in 'MEM[(struct Rooted * *)_449 + 104B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp: In member function '(anonymous namespace)::ASTSerializer::statement(js::frontend::ParseNode*, JS::MutableHandle)': src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:2569:21: note: 'arg' declared here 2569 | RootedValue arg(cx); | ^~~ src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:2569:21: note: 'MEM[(struct JSContext * const &)this_112(D)]' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:708:30, inlined from '(anonymous namespace)::ASTSerializer::statement(js::frontend::ParseNode*, JS::MutableHandle)' at src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:2579:27: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'arg' in 'MEM[(struct Rooted * *)_454 + 104B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp: In member function '(anonymous namespace)::ASTSerializer::statement(js::frontend::ParseNode*, JS::MutableHandle)': src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:2579:21: note: 'arg' declared here 2579 | RootedValue arg(cx); | ^~~ src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:2579:21: note: 'MEM[(struct JSContext * const &)this_112(D)]' declared here In file included from src/third_party/icu4c-57.1/source/common/uloc.cpp:39: src/third_party/icu4c-57.1/source/common/uloc.cpp: In function '_canonicalize(char const*, char*, int, unsigned int, UErrorCode*) [clone .part.0]': src/third_party/icu4c-57.1/source/common/cstring.h:57:70: warning: 'strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 57 | #define uprv_strncpy(dst, src, size) U_STANDARD_CPP_NAMESPACE strncpy(dst, src, size) | ^ src/third_party/icu4c-57.1/source/common/cstring.h:35:57: note: length computed here 35 | #define uprv_strlen(str) U_STANDARD_CPP_NAMESPACE strlen(str) g++ -o build/fedora/mongo/db/instance.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/instance.cpp ar rcsTD build/fedora/mongo/db/libserveronly.a build/fedora/mongo/db/instance.o Skipping ranlib for thin archive build/fedora/mongo/db/libserveronly.a g++ -o build/fedora/mongo/db/s/config/configsvr_update_zone_key_range_command.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/s/config/configsvr_update_zone_key_range_command.cpp In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:708:30, inlined from '(anonymous namespace)::ASTSerializer::classDefinition(js::frontend::ParseNode*, bool, JS::MutableHandle)' at src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:2393:29: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'classBody' in 'MEM[(struct Rooted * *)_17 + 104B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp: In member function '(anonymous namespace)::ASTSerializer::classDefinition(js::frontend::ParseNode*, bool, JS::MutableHandle)': src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:2393:17: note: 'classBody' declared here 2393 | RootedValue classBody(cx); | ^~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:2393:17: note: 'MEM[(struct JSContext * const &)this_14(D)]' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::obj_toString(JSContext*, unsigned int, JS::Value*)' at src/third_party/mozjs-45/extract/js/src/builtin/Object.cpp:358:52: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'obj' in 'MEM[(struct Rooted * *)cx_52(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/Object.cpp: In function 'js::obj_toString(JSContext*, unsigned int, JS::Value*)': src/third_party/mozjs-45/extract/js/src/builtin/Object.cpp:358:18: note: 'obj' declared here 358 | RootedObject obj(cx, ToObject(cx, args.thisv())); | ^~~ src/third_party/mozjs-45/extract/js/src/builtin/Object.cpp:358:18: note: 'cx_52(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'obj_toSource(JSContext*, unsigned int, JS::Value*)' at src/third_party/mozjs-45/extract/js/src/builtin/Object.cpp:116:52: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'obj' in 'MEM[(struct Rooted * *)cx_47(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/Object.cpp: In function 'obj_toSource(JSContext*, unsigned int, JS::Value*)': src/third_party/mozjs-45/extract/js/src/builtin/Object.cpp:116:18: note: 'obj' declared here 116 | RootedObject obj(cx, ToObject(cx, args.thisv())); | ^~~ src/third_party/mozjs-45/extract/js/src/builtin/Object.cpp:116:18: note: 'cx_47(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::ArrayObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::ModuleBuilder::createArray(js::TraceableVector > const&)js::ArrayObject*' at src/third_party/mozjs-45/extract/js/src/builtin/ModuleObject.cpp:1198:23: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'array' in 'MEM[(struct Rooted * *)_22 + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/ModuleObject.cpp: In member function 'js::ModuleBuilder::createArray(js::TraceableVector > const&)js::ArrayObject*': src/third_party/mozjs-45/extract/js/src/builtin/ModuleObject.cpp:1198:23: note: 'array' declared here 1198 | RootedArrayObject array(cx_, NewDenseFullyAllocatedArray(cx_, length)); | ^~~~~ src/third_party/mozjs-45/extract/js/src/builtin/ModuleObject.cpp:1198:23: note: 'MEM[(struct JSContext * const &)this_17(D)]' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::ArrayObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::ModuleBuilder::createArray(js::TraceableVector > const&)js::ArrayObject*' at src/third_party/mozjs-45/extract/js/src/builtin/ModuleObject.cpp:1198:23: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'array' in 'MEM[(struct Rooted * *)_22 + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/ModuleObject.cpp: In member function 'js::ModuleBuilder::createArray(js::TraceableVector > const&)js::ArrayObject*': src/third_party/mozjs-45/extract/js/src/builtin/ModuleObject.cpp:1198:23: note: 'array' declared here 1198 | RootedArrayObject array(cx_, NewDenseFullyAllocatedArray(cx_, length)); | ^~~~~ src/third_party/mozjs-45/extract/js/src/builtin/ModuleObject.cpp:1198:23: note: 'MEM[(struct JSContext * const &)this_17(D)]' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::ArrayObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::ModuleBuilder::createArray(js::TraceableVector > const&)js::ArrayObject*' at src/third_party/mozjs-45/extract/js/src/builtin/ModuleObject.cpp:1198:23: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'array' in 'MEM[(struct Rooted * *)_22 + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/ModuleObject.cpp: In member function 'js::ModuleBuilder::createArray(js::TraceableVector > const&)js::ArrayObject*': src/third_party/mozjs-45/extract/js/src/builtin/ModuleObject.cpp:1198:23: note: 'array' declared here 1198 | RootedArrayObject array(cx_, NewDenseFullyAllocatedArray(cx_, length)); | ^~~~~ src/third_party/mozjs-45/extract/js/src/builtin/ModuleObject.cpp:1198:23: note: 'MEM[(struct JSContext * const &)this_17(D)]' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::NativeObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'FinishObjectClassInit(JSContext*, JS::Handle, JS::Handle)' at src/third_party/mozjs-45/extract/js/src/builtin/Object.cpp:1089:83: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'holder' in 'MEM[(struct Rooted * *)cx_132(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/Object.cpp: In function 'FinishObjectClassInit(JSContext*, JS::Handle, JS::Handle)': src/third_party/mozjs-45/extract/js/src/builtin/Object.cpp:1089:27: note: 'holder' declared here 1089 | Rooted holder(cx, GlobalObject::getIntrinsicsHolder(cx, global)); | ^~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/Object.cpp:1089:27: note: 'cx_132(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::PlainObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::GlobalObject::initModuleProto(JSContext*, JS::Handle)' at src/third_party/mozjs-45/extract/js/src/builtin/ModuleObject.cpp:872:73: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'proto' in 'MEM[(struct Rooted * *)cx_43(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/ModuleObject.cpp: In function 'js::GlobalObject::initModuleProto(JSContext*, JS::Handle)': src/third_party/mozjs-45/extract/js/src/builtin/ModuleObject.cpp:872:18: note: 'proto' declared here 872 | RootedObject proto(cx, global->createBlankPrototype(cx)); | ^~~~~ src/third_party/mozjs-45/extract/js/src/builtin/ModuleObject.cpp:872:18: note: 'cx_43(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::PlainObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::GlobalObject::initImportEntryProto(JSContext*, JS::Handle)' at src/third_party/mozjs-45/extract/js/src/builtin/ModuleObject.cpp:102:73: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'proto' in 'MEM[(struct Rooted * *)cx_43(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/ModuleObject.cpp: In function 'js::GlobalObject::initImportEntryProto(JSContext*, JS::Handle)': src/third_party/mozjs-45/extract/js/src/builtin/ModuleObject.cpp:102:18: note: 'proto' declared here 102 | RootedObject proto(cx, global->createBlankPrototype(cx)); | ^~~~~ src/third_party/mozjs-45/extract/js/src/builtin/ModuleObject.cpp:102:18: note: 'cx_43(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::PlainObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::GlobalObject::initExportEntryProto(JSContext*, JS::Handle)' at src/third_party/mozjs-45/extract/js/src/builtin/ModuleObject.cpp:168:73: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'proto' in 'MEM[(struct Rooted * *)cx_43(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/ModuleObject.cpp: In function 'js::GlobalObject::initExportEntryProto(JSContext*, JS::Handle)': src/third_party/mozjs-45/extract/js/src/builtin/ModuleObject.cpp:168:18: note: 'proto' declared here 168 | RootedObject proto(cx, global->createBlankPrototype(cx)); | ^~~~~ src/third_party/mozjs-45/extract/js/src/builtin/ModuleObject.cpp:168:18: note: 'cx_43(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::ModuleObject::instantiateFunctionDeclarations(JSContext*, JS::Handle)' at src/third_party/mozjs-45/extract/js/src/builtin/ModuleObject.cpp:786:50: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'obj' in 'MEM[(struct Rooted * *)cx_126(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/ModuleObject.cpp: In function 'js::ModuleObject::instantiateFunctionDeclarations(JSContext*, JS::Handle)': src/third_party/mozjs-45/extract/js/src/builtin/ModuleObject.cpp:786:22: note: 'obj' declared here 786 | RootedObject obj(cx, Lambda(cx, fun, env)); | ^~~ src/third_party/mozjs-45/extract/js/src/builtin/ModuleObject.cpp:786:22: note: 'cx_126(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::NativeObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::InitReflect(JSContext*, JS::Handle)' at src/third_party/mozjs-45/extract/js/src/builtin/Reflect.cpp:402:82: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'proto' in 'MEM[(struct Rooted * *)cx_89(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/Reflect.cpp: In function 'js::InitReflect(JSContext*, JS::Handle)': src/third_party/mozjs-45/extract/js/src/builtin/Reflect.cpp:402:18: note: 'proto' declared here 402 | RootedObject proto(cx, obj->as().getOrCreateObjectPrototype(cx)); | ^~~~~ src/third_party/mozjs-45/extract/js/src/builtin/Reflect.cpp:402:18: note: 'cx_89(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::NativeObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::GlobalObject::initSimdObject(JSContext*, JS::Handle)' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:487:69: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'objProto' in 'MEM[(struct Rooted * *)cx_89(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp: In function 'js::GlobalObject::initSimdObject(JSContext*, JS::Handle)': src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:487:18: note: 'objProto' declared here 487 | RootedObject objProto(cx, global->getOrCreateObjectPrototype(cx)); | ^~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:487:18: note: 'cx_89(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::SimdTypeDescr*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'Load(JSContext*, unsigned int, JS::Value*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:1159:24, inlined from 'js::simd_int32x4_load1(JSContext*, unsigned int, JS::Value*)' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:1243:1: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'typeDescr' in 'MEM[(struct Rooted * *)cx_2(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp: In function 'js::simd_int32x4_load1(JSContext*, unsigned int, JS::Value*)': src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:1159:24: note: 'typeDescr' declared here 1159 | Rooted typeDescr(cx, GetTypeDescr(cx)); | ^~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:1159:24: note: 'cx_2(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::SimdTypeDescr*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'Load(JSContext*, unsigned int, JS::Value*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:1159:24, inlined from 'js::simd_float32x4_load2(JSContext*, unsigned int, JS::Value*)' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:1207:1: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'typeDescr' in 'MEM[(struct Rooted * *)cx_2(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp: In function 'js::simd_float32x4_load2(JSContext*, unsigned int, JS::Value*)': src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:1159:24: note: 'typeDescr' declared here 1159 | Rooted typeDescr(cx, GetTypeDescr(cx)); | ^~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:1159:24: note: 'cx_2(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::SimdTypeDescr*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::CreateSimd(JSContext*, js::Int16x8::Elem const*)JSObject*' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:549:24: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'typeDescr' in 'MEM[(struct Rooted * *)cx_54(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp: In function 'js::CreateSimd(JSContext*, js::Int16x8::Elem const*)JSObject*': src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:549:24: note: 'typeDescr' declared here 549 | Rooted typeDescr(cx, GetTypeDescr(cx)); | ^~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:549:24: note: 'cx_54(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'StoreResult(JSContext*, JS::CallArgs&, js::Int16x8::Elem*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:697:18, inlined from 'FuncConvertBits(JSContext*, unsigned int, JS::Value*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:1021:29, inlined from 'js::simd_int16x8_fromInt32x4Bits(JSContext*, unsigned int, JS::Value*)' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:1234:1: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'obj' in 'MEM[(struct Rooted * *)cx_2(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp: In function 'js::simd_int16x8_fromInt32x4Bits(JSContext*, unsigned int, JS::Value*)': src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:697:18: note: 'obj' declared here 697 | RootedObject obj(cx, CreateSimd(cx, result)); | ^~~ src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:697:18: note: 'cx_2(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'StoreResult(JSContext*, JS::CallArgs&, js::Int16x8::Elem*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:697:18, inlined from 'FuncConvertBits(JSContext*, unsigned int, JS::Value*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:1021:29, inlined from 'js::simd_int16x8_fromFloat32x4Bits(JSContext*, unsigned int, JS::Value*)' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:1234:1: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'obj' in 'MEM[(struct Rooted * *)cx_2(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp: In function 'js::simd_int16x8_fromFloat32x4Bits(JSContext*, unsigned int, JS::Value*)': src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:697:18: note: 'obj' declared here 697 | RootedObject obj(cx, CreateSimd(cx, result)); | ^~~ src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:697:18: note: 'cx_2(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'StoreResult(JSContext*, JS::CallArgs&, js::Int16x8::Elem*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:697:18, inlined from 'FuncConvertBits(JSContext*, unsigned int, JS::Value*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:1021:29, inlined from 'js::simd_int16x8_fromFloat64x2Bits(JSContext*, unsigned int, JS::Value*)' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:1234:1: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'obj' in 'MEM[(struct Rooted * *)cx_2(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp: In function 'js::simd_int16x8_fromFloat64x2Bits(JSContext*, unsigned int, JS::Value*)': src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:697:18: note: 'obj' declared here 697 | RootedObject obj(cx, CreateSimd(cx, result)); | ^~~ src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:697:18: note: 'cx_2(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'StoreResult(JSContext*, JS::CallArgs&, js::Int16x8::Elem*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:697:18, inlined from 'FuncConvertBits(JSContext*, unsigned int, JS::Value*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:1021:29, inlined from 'js::simd_int16x8_fromInt8x16Bits(JSContext*, unsigned int, JS::Value*)' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:1234:1: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'obj' in 'MEM[(struct Rooted * *)cx_2(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp: In function 'js::simd_int16x8_fromInt8x16Bits(JSContext*, unsigned int, JS::Value*)': src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:697:18: note: 'obj' declared here 697 | RootedObject obj(cx, CreateSimd(cx, result)); | ^~~ src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:697:18: note: 'cx_2(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::SimdTypeDescr*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::CreateSimd(JSContext*, js::Int8x16::Elem const*)JSObject*' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:549:24: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'typeDescr' in 'MEM[(struct Rooted * *)cx_54(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp: In function 'js::CreateSimd(JSContext*, js::Int8x16::Elem const*)JSObject*': src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:549:24: note: 'typeDescr' declared here 549 | Rooted typeDescr(cx, GetTypeDescr(cx)); | ^~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:549:24: note: 'cx_54(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'StoreResult(JSContext*, JS::CallArgs&, js::Int8x16::Elem*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:697:18, inlined from 'FuncConvertBits(JSContext*, unsigned int, JS::Value*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:1021:29, inlined from 'js::simd_int8x16_fromFloat32x4Bits(JSContext*, unsigned int, JS::Value*)' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:1225:1: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'obj' in 'MEM[(struct Rooted * *)cx_2(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp: In function 'js::simd_int8x16_fromFloat32x4Bits(JSContext*, unsigned int, JS::Value*)': src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:697:18: note: 'obj' declared here 697 | RootedObject obj(cx, CreateSimd(cx, result)); | ^~~ src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:697:18: note: 'cx_2(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'StoreResult(JSContext*, JS::CallArgs&, js::Int8x16::Elem*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:697:18, inlined from 'FuncConvertBits(JSContext*, unsigned int, JS::Value*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:1021:29, inlined from 'js::simd_int8x16_fromFloat64x2Bits(JSContext*, unsigned int, JS::Value*)' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:1225:1: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'obj' in 'MEM[(struct Rooted * *)cx_2(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp: In function 'js::simd_int8x16_fromFloat64x2Bits(JSContext*, unsigned int, JS::Value*)': src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:697:18: note: 'obj' declared here 697 | RootedObject obj(cx, CreateSimd(cx, result)); | ^~~ src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:697:18: note: 'cx_2(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'StoreResult(JSContext*, JS::CallArgs&, js::Int8x16::Elem*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:697:18, inlined from 'FuncConvertBits(JSContext*, unsigned int, JS::Value*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:1021:29, inlined from 'js::simd_int8x16_fromInt16x8Bits(JSContext*, unsigned int, JS::Value*)' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:1225:1: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'obj' in 'MEM[(struct Rooted * *)cx_2(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp: In function 'js::simd_int8x16_fromInt16x8Bits(JSContext*, unsigned int, JS::Value*)': src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:697:18: note: 'obj' declared here 697 | RootedObject obj(cx, CreateSimd(cx, result)); | ^~~ src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:697:18: note: 'cx_2(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'StoreResult(JSContext*, JS::CallArgs&, js::Int8x16::Elem*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:697:18, inlined from 'FuncConvertBits(JSContext*, unsigned int, JS::Value*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:1021:29, inlined from 'js::simd_int8x16_fromInt32x4Bits(JSContext*, unsigned int, JS::Value*)' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:1225:1: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'obj' in 'MEM[(struct Rooted * *)cx_2(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp: In function 'js::simd_int8x16_fromInt32x4Bits(JSContext*, unsigned int, JS::Value*)': src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:697:18: note: 'obj' declared here 697 | RootedObject obj(cx, CreateSimd(cx, result)); | ^~~ src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:697:18: note: 'cx_2(D)' declared here In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/db/s/config/configsvr_update_zone_key_range_command.cpp:36: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/db/server_options.h:30, from src/mongo/base/secure_allocator.h:40, from src/mongo/db/auth/authorization_manager.h:35, from src/mongo/db/auth/authorization_session.h:38, from src/mongo/db/s/config/configsvr_update_zone_key_range_command.cpp:34: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::SimdTypeDescr*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::CreateSimd(JSContext*, js::Float32x4::Elem const*)JSObject*' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:549:24: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'typeDescr' in 'MEM[(struct Rooted * *)cx_54(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp: In function 'js::CreateSimd(JSContext*, js::Float32x4::Elem const*)JSObject*': src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:549:24: note: 'typeDescr' declared here 549 | Rooted typeDescr(cx, GetTypeDescr(cx)); | ^~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:549:24: note: 'cx_54(D)' declared here 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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'StoreResult(JSContext*, JS::CallArgs&, js::Float32x4::Elem*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:697:18, inlined from 'FuncConvertBits(JSContext*, unsigned int, JS::Value*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:1021:29, inlined from 'js::simd_float32x4_fromInt32x4Bits(JSContext*, unsigned int, JS::Value*)' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:1207:1: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'obj' in 'MEM[(struct Rooted * *)cx_2(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp: In function 'js::simd_float32x4_fromInt32x4Bits(JSContext*, unsigned int, JS::Value*)': src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:697:18: note: 'obj' declared here 697 | RootedObject obj(cx, CreateSimd(cx, result)); | ^~~ src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:697:18: note: 'cx_2(D)' declared here 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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'StoreResult(JSContext*, JS::CallArgs&, js::Float32x4::Elem*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:697:18, inlined from 'FuncConvertBits(JSContext*, unsigned int, JS::Value*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:1021:29, inlined from 'js::simd_float32x4_fromFloat64x2Bits(JSContext*, unsigned int, JS::Value*)' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:1207:1: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'obj' in 'MEM[(struct Rooted * *)cx_2(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp: In function 'js::simd_float32x4_fromFloat64x2Bits(JSContext*, unsigned int, JS::Value*)': src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:697:18: note: 'obj' declared here 697 | RootedObject obj(cx, CreateSimd(cx, result)); | ^~~ src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:697:18: note: 'cx_2(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'StoreResult(JSContext*, JS::CallArgs&, js::Float32x4::Elem*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:697:18, inlined from 'FuncConvertBits(JSContext*, unsigned int, JS::Value*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:1021:29, inlined from 'js::simd_float32x4_fromInt8x16Bits(JSContext*, unsigned int, JS::Value*)' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:1207:1: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'obj' in 'MEM[(struct Rooted * *)cx_2(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp: In function 'js::simd_float32x4_fromInt8x16Bits(JSContext*, unsigned int, JS::Value*)': src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:697:18: note: 'obj' declared here 697 | RootedObject obj(cx, CreateSimd(cx, result)); | ^~~ src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:697:18: note: 'cx_2(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'StoreResult(JSContext*, JS::CallArgs&, js::Float32x4::Elem*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:697:18, inlined from 'FuncConvertBits(JSContext*, unsigned int, JS::Value*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:1021:29, inlined from 'js::simd_float32x4_fromInt16x8Bits(JSContext*, unsigned int, JS::Value*)' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:1207:1: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'obj' in 'MEM[(struct Rooted * *)cx_2(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp: In function 'js::simd_float32x4_fromInt16x8Bits(JSContext*, unsigned int, JS::Value*)': src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:697:18: note: 'obj' declared here 697 | RootedObject obj(cx, CreateSimd(cx, result)); | ^~~ src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:697:18: note: 'cx_2(D)' declared here In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::SimdTypeDescr*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::CreateSimd(JSContext*, js::Float64x2::Elem const*)JSObject*' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:549:24: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'typeDescr' in 'MEM[(struct Rooted * *)cx_54(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp: In function 'js::CreateSimd(JSContext*, js::Float64x2::Elem const*)JSObject*': src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:549:24: note: 'typeDescr' declared here 549 | Rooted typeDescr(cx, GetTypeDescr(cx)); | ^~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:549:24: note: 'cx_54(D)' declared here src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'StoreResult(JSContext*, JS::CallArgs&, js::Float64x2::Elem*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:697:18, inlined from 'FuncConvertBits(JSContext*, unsigned int, JS::Value*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:1021:29, inlined from 'js::simd_float64x2_fromInt32x4Bits(JSContext*, unsigned int, JS::Value*)' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:1216:1: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'obj' in 'MEM[(struct Rooted * *)cx_2(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp: In function 'js::simd_float64x2_fromInt32x4Bits(JSContext*, unsigned int, JS::Value*)': src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:697:18: note: 'obj' declared here 697 | RootedObject obj(cx, CreateSimd(cx, result)); | ^~~ src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:697:18: note: 'cx_2(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'StoreResult(JSContext*, JS::CallArgs&, js::Float64x2::Elem*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:697:18, inlined from 'FuncConvertBits(JSContext*, unsigned int, JS::Value*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:1021:29, inlined from 'js::simd_float64x2_fromFloat32x4Bits(JSContext*, unsigned int, JS::Value*)' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:1216:1: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'obj' in 'MEM[(struct Rooted * *)cx_2(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp: In function 'js::simd_float64x2_fromFloat32x4Bits(JSContext*, unsigned int, JS::Value*)': src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:697:18: note: 'obj' declared here 697 | RootedObject obj(cx, CreateSimd(cx, result)); | ^~~ src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:697:18: note: 'cx_2(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'StoreResult(JSContext*, JS::CallArgs&, js::Float64x2::Elem*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:697:18, inlined from 'FuncConvertBits(JSContext*, unsigned int, JS::Value*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:1021:29, inlined from 'js::simd_float64x2_fromInt8x16Bits(JSContext*, unsigned int, JS::Value*)' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:1216:1: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'obj' in 'MEM[(struct Rooted * *)cx_2(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp: In function 'js::simd_float64x2_fromInt8x16Bits(JSContext*, unsigned int, JS::Value*)': src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:697:18: note: 'obj' declared here 697 | RootedObject obj(cx, CreateSimd(cx, result)); | ^~~ src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:697:18: note: 'cx_2(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'StoreResult(JSContext*, JS::CallArgs&, js::Float64x2::Elem*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:697:18, inlined from 'FuncConvertBits(JSContext*, unsigned int, JS::Value*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:1021:29, inlined from 'js::simd_float64x2_fromInt16x8Bits(JSContext*, unsigned int, JS::Value*)' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:1216:1: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'obj' in 'MEM[(struct Rooted * *)cx_2(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp: In function 'js::simd_float64x2_fromInt16x8Bits(JSContext*, unsigned int, JS::Value*)': src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:697:18: note: 'obj' declared here 697 | RootedObject obj(cx, CreateSimd(cx, result)); | ^~~ src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:697:18: note: 'cx_2(D)' declared here src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::SimdTypeDescr*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::CreateSimd(JSContext*, js::Int32x4::Elem const*)JSObject*' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:549:24: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'typeDescr' in 'MEM[(struct Rooted * *)cx_54(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp: In function 'js::CreateSimd(JSContext*, js::Int32x4::Elem const*)JSObject*': src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:549:24: note: 'typeDescr' declared here 549 | Rooted typeDescr(cx, GetTypeDescr(cx)); | ^~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:549:24: note: 'cx_54(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'StoreResult(JSContext*, JS::CallArgs&, js::Int32x4::Elem*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:697:18, inlined from 'FuncConvertBits(JSContext*, unsigned int, JS::Value*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:1021:29, inlined from 'js::simd_int32x4_fromInt16x8Bits(JSContext*, unsigned int, JS::Value*)' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:1243:1: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'obj' in 'MEM[(struct Rooted * *)cx_2(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp: In function 'js::simd_int32x4_fromInt16x8Bits(JSContext*, unsigned int, JS::Value*)': src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:697:18: note: 'obj' declared here 697 | RootedObject obj(cx, CreateSimd(cx, result)); | ^~~ src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:697:18: note: 'cx_2(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'StoreResult(JSContext*, JS::CallArgs&, js::Int32x4::Elem*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:697:18, inlined from 'FuncConvertBits(JSContext*, unsigned int, JS::Value*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:1021:29, inlined from 'js::simd_int32x4_fromFloat64x2Bits(JSContext*, unsigned int, JS::Value*)' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:1243:1: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'obj' in 'MEM[(struct Rooted * *)cx_2(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp: In function 'js::simd_int32x4_fromFloat64x2Bits(JSContext*, unsigned int, JS::Value*)': src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:697:18: note: 'obj' declared here 697 | RootedObject obj(cx, CreateSimd(cx, result)); | ^~~ src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:697:18: note: 'cx_2(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'StoreResult(JSContext*, JS::CallArgs&, js::Int32x4::Elem*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:697:18, inlined from 'FuncConvertBits(JSContext*, unsigned int, JS::Value*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:1021:29, inlined from 'js::simd_int32x4_fromInt8x16Bits(JSContext*, unsigned int, JS::Value*)' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:1243:1: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'obj' in 'MEM[(struct Rooted * *)cx_2(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp: In function 'js::simd_int32x4_fromInt8x16Bits(JSContext*, unsigned int, JS::Value*)': src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:697:18: note: 'obj' declared here 697 | RootedObject obj(cx, CreateSimd(cx, result)); | ^~~ src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:697:18: note: 'cx_2(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'StoreResult(JSContext*, JS::CallArgs&, js::Int32x4::Elem*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:697:18, inlined from 'FuncConvertBits(JSContext*, unsigned int, JS::Value*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:1021:29, inlined from 'js::simd_int32x4_fromFloat32x4Bits(JSContext*, unsigned int, JS::Value*)' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:1243:1: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'obj' in 'MEM[(struct Rooted * *)cx_2(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp: In function 'js::simd_int32x4_fromFloat32x4Bits(JSContext*, unsigned int, JS::Value*)': src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:697:18: note: 'obj' declared here 697 | RootedObject obj(cx, CreateSimd(cx, result)); | ^~~ src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:697:18: note: 'cx_2(D)' declared here src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/db/s/config/namespace_serializer.h:73:40: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::SimdTypeDescr*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::ToSimdConstant(JSContext*, JS::Handle, js::jit::SimdConstant*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:107:24: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'typeDescr' in 'MEM[(struct Rooted * *)cx_50(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp: In function 'js::ToSimdConstant(JSContext*, JS::Handle, js::jit::SimdConstant*)bool': src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:107:24: note: 'typeDescr' declared here 107 | Rooted typeDescr(cx, GetTypeDescr(cx)); | ^~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:107:24: note: 'cx_50(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::SimdTypeDescr*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::ToSimdConstant(JSContext*, JS::Handle, js::jit::SimdConstant*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:107:24: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'typeDescr' in 'MEM[(struct Rooted * *)cx_50(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp: In function 'js::ToSimdConstant(JSContext*, JS::Handle, js::jit::SimdConstant*)bool': src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:107:24: note: 'typeDescr' declared here 107 | Rooted typeDescr(cx, GetTypeDescr(cx)); | ^~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:107:24: note: 'cx_50(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::SimdTypeDescr*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'Load(JSContext*, unsigned int, JS::Value*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:1159:24, inlined from 'js::simd_int16x8_load(JSContext*, unsigned int, JS::Value*)' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:1234:1: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'typeDescr' in 'MEM[(struct Rooted * *)cx_2(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp: In function 'js::simd_int16x8_load(JSContext*, unsigned int, JS::Value*)': src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:1159:24: note: 'typeDescr' declared here 1159 | Rooted typeDescr(cx, GetTypeDescr(cx)); | ^~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:1159:24: note: 'cx_2(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::SimdTypeDescr*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'Load(JSContext*, unsigned int, JS::Value*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:1159:24, inlined from 'js::simd_float64x2_load(JSContext*, unsigned int, JS::Value*)' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:1216:1: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'typeDescr' in 'MEM[(struct Rooted * *)cx_2(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp: In function 'js::simd_float64x2_load(JSContext*, unsigned int, JS::Value*)': src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:1159:24: note: 'typeDescr' declared here 1159 | Rooted typeDescr(cx, GetTypeDescr(cx)); | ^~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:1159:24: note: 'cx_2(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::SimdTypeDescr*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'Load(JSContext*, unsigned int, JS::Value*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:1159:24, inlined from 'js::simd_float64x2_load1(JSContext*, unsigned int, JS::Value*)' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:1216:1: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'typeDescr' in 'MEM[(struct Rooted * *)cx_2(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp: In function 'js::simd_float64x2_load1(JSContext*, unsigned int, JS::Value*)': src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:1159:24: note: 'typeDescr' declared here 1159 | Rooted typeDescr(cx, GetTypeDescr(cx)); | ^~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:1159:24: note: 'cx_2(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::SimdTypeDescr*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'Load(JSContext*, unsigned int, JS::Value*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:1159:24, inlined from 'js::simd_int8x16_load(JSContext*, unsigned int, JS::Value*)' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:1225:1: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'typeDescr' in 'MEM[(struct Rooted * *)cx_2(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp: In function 'js::simd_int8x16_load(JSContext*, unsigned int, JS::Value*)': src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:1159:24: note: 'typeDescr' declared here 1159 | Rooted typeDescr(cx, GetTypeDescr(cx)); | ^~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:1159:24: note: 'cx_2(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::SimdTypeDescr*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'Load(JSContext*, unsigned int, JS::Value*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:1159:24, inlined from 'js::simd_float32x4_load3(JSContext*, unsigned int, JS::Value*)' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:1207:1: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'typeDescr' in 'MEM[(struct Rooted * *)cx_2(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp: In function 'js::simd_float32x4_load3(JSContext*, unsigned int, JS::Value*)': src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:1159:24: note: 'typeDescr' declared here 1159 | Rooted typeDescr(cx, GetTypeDescr(cx)); | ^~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:1159:24: note: 'cx_2(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::SimdTypeDescr*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'Load(JSContext*, unsigned int, JS::Value*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:1159:24, inlined from 'js::simd_int32x4_load3(JSContext*, unsigned int, JS::Value*)' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:1243:1: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'typeDescr' in 'MEM[(struct Rooted * *)cx_2(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp: In function 'js::simd_int32x4_load3(JSContext*, unsigned int, JS::Value*)': src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:1159:24: note: 'typeDescr' declared here 1159 | Rooted typeDescr(cx, GetTypeDescr(cx)); | ^~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:1159:24: note: 'cx_2(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::SimdTypeDescr*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'Load(JSContext*, unsigned int, JS::Value*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:1159:24, inlined from 'js::simd_float32x4_load1(JSContext*, unsigned int, JS::Value*)' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:1207:1: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'typeDescr' in 'MEM[(struct Rooted * *)cx_2(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp: In function 'js::simd_float32x4_load1(JSContext*, unsigned int, JS::Value*)': src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:1159:24: note: 'typeDescr' declared here 1159 | Rooted typeDescr(cx, GetTypeDescr(cx)); | ^~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:1159:24: note: 'cx_2(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::SimdTypeDescr*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'Load(JSContext*, unsigned int, JS::Value*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:1159:24, inlined from 'js::simd_float32x4_load(JSContext*, unsigned int, JS::Value*)' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:1207:1: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'typeDescr' in 'MEM[(struct Rooted * *)cx_2(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp: In function 'js::simd_float32x4_load(JSContext*, unsigned int, JS::Value*)': src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:1159:24: note: 'typeDescr' declared here 1159 | Rooted typeDescr(cx, GetTypeDescr(cx)); | ^~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:1159:24: note: 'cx_2(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::SimdTypeDescr*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'Load(JSContext*, unsigned int, JS::Value*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:1159:24, inlined from 'js::simd_int32x4_load(JSContext*, unsigned int, JS::Value*)' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:1243:1: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'typeDescr' in 'MEM[(struct Rooted * *)cx_2(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp: In function 'js::simd_int32x4_load(JSContext*, unsigned int, JS::Value*)': src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:1159:24: note: 'typeDescr' declared here 1159 | Rooted typeDescr(cx, GetTypeDescr(cx)); | ^~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:1159:24: note: 'cx_2(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::SimdTypeDescr*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'Load(JSContext*, unsigned int, JS::Value*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:1159:24, inlined from 'js::simd_int32x4_load2(JSContext*, unsigned int, JS::Value*)' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:1243:1: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'typeDescr' in 'MEM[(struct Rooted * *)cx_2(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp: In function 'js::simd_int32x4_load2(JSContext*, unsigned int, JS::Value*)': src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:1159:24: note: 'typeDescr' declared here 1159 | Rooted typeDescr(cx, GetTypeDescr(cx)); | ^~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:1159:24: note: 'cx_2(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::ImportEntryObject::create(JSContext*, JS::Handle, JS::Handle, JS::Handle)' at src/third_party/mozjs-45/extract/js/src/builtin/ModuleObject.cpp:120:69: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'obj' in 'MEM[(struct Rooted * *)cx_99(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/ModuleObject.cpp: In function 'js::ImportEntryObject::create(JSContext*, JS::Handle, JS::Handle, JS::Handle)': src/third_party/mozjs-45/extract/js/src/builtin/ModuleObject.cpp:120:18: note: 'obj' declared here 120 | RootedObject obj(cx, NewObjectWithGivenProto(cx, &class_, proto)); | ^~~ src/third_party/mozjs-45/extract/js/src/builtin/ModuleObject.cpp:120:18: note: 'cx_99(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::ExportEntryObject::create(JSContext*, JS::Handle, JS::Handle, JS::Handle, JS::Handle)' at src/third_party/mozjs-45/extract/js/src/builtin/ModuleObject.cpp:193:69: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'obj' in 'MEM[(struct Rooted * *)cx_112(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/ModuleObject.cpp: In function 'js::ExportEntryObject::create(JSContext*, JS::Handle, JS::Handle, JS::Handle, JS::Handle)': src/third_party/mozjs-45/extract/js/src/builtin/ModuleObject.cpp:193:18: note: 'obj' declared here 193 | RootedObject obj(cx, NewObjectWithGivenProto(cx, &class_, proto)); | ^~~ src/third_party/mozjs-45/extract/js/src/builtin/ModuleObject.cpp:193:18: note: 'cx_112(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::ArrayObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::ModuleBuilder::buildAndInit(js::frontend::ParseNode*)' at src/third_party/mozjs-45/extract/js/src/builtin/ModuleObject.cpp:977:84: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'requestedModules' in 'MEM[(struct Rooted * *)_202 + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/ModuleObject.cpp: In member function 'js::ModuleBuilder::buildAndInit(js::frontend::ParseNode*)': src/third_party/mozjs-45/extract/js/src/builtin/ModuleObject.cpp:977:23: note: 'requestedModules' declared here 977 | RootedArrayObject requestedModules(cx_, createArray(requestedModules_)); | ^~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/ModuleObject.cpp:977:23: note: 'MEM[(struct JSContext * const &)this_43(D)]' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::ArrayObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::ModuleBuilder::buildAndInit(js::frontend::ParseNode*)' at src/third_party/mozjs-45/extract/js/src/builtin/ModuleObject.cpp:981:89: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'importEntries' in 'MEM[(struct Rooted * *)_206 + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/ModuleObject.cpp: In member function 'js::ModuleBuilder::buildAndInit(js::frontend::ParseNode*)': src/third_party/mozjs-45/extract/js/src/builtin/ModuleObject.cpp:981:23: note: 'importEntries' declared here 981 | RootedArrayObject importEntries(cx_, createArray(importEntries_)); | ^~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/ModuleObject.cpp:981:23: note: 'MEM[(struct JSContext * const &)this_43(D)]' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::ArrayObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::ModuleBuilder::buildAndInit(js::frontend::ParseNode*)' at src/third_party/mozjs-45/extract/js/src/builtin/ModuleObject.cpp:985:99: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'localExportEntries' in 'MEM[(struct Rooted * *)_210 + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/ModuleObject.cpp: In member function 'js::ModuleBuilder::buildAndInit(js::frontend::ParseNode*)': src/third_party/mozjs-45/extract/js/src/builtin/ModuleObject.cpp:985:23: note: 'localExportEntries' declared here 985 | RootedArrayObject localExportEntries(cx_, createArray(localExportEntries_)); | ^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/ModuleObject.cpp:985:23: note: 'MEM[(struct JSContext * const &)this_43(D)]' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::ArrayObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::ModuleBuilder::buildAndInit(js::frontend::ParseNode*)' at src/third_party/mozjs-45/extract/js/src/builtin/ModuleObject.cpp:994:97: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'starExportEntries' in 'MEM[(struct Rooted * *)_218 + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/ModuleObject.cpp: In member function 'js::ModuleBuilder::buildAndInit(js::frontend::ParseNode*)': src/third_party/mozjs-45/extract/js/src/builtin/ModuleObject.cpp:994:23: note: 'starExportEntries' declared here 994 | RootedArrayObject starExportEntries(cx_, createArray(starExportEntries_)); | ^~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/ModuleObject.cpp:994:23: note: 'MEM[(struct JSContext * const &)this_43(D)]' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::ModuleNamespaceObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::ModuleObject::createNamespace(JSContext*, JS::Handle, JS::Handle)' at src/third_party/mozjs-45/extract/js/src/builtin/ModuleObject.cpp:825:79: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'ns' in 'MEM[(struct Rooted * *)cx_70(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/ModuleObject.cpp: In function 'js::ModuleObject::createNamespace(JSContext*, JS::Handle, JS::Handle)': src/third_party/mozjs-45/extract/js/src/builtin/ModuleObject.cpp:825:33: note: 'ns' declared here 825 | RootedModuleNamespaceObject ns(cx, ModuleNamespaceObject::create(cx, self)); | ^~ src/third_party/mozjs-45/extract/js/src/builtin/ModuleObject.cpp:825:33: note: 'cx_70(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(js::ExclusiveContext* const&, JSObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::ModuleObject::create(js::ExclusiveContext*, JS::Handle)' at src/third_party/mozjs-45/extract/js/src/builtin/ModuleObject.cpp:576:69: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'obj' in 'MEM[(struct Rooted * *)cx_123(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/ModuleObject.cpp: In function 'js::ModuleObject::create(js::ExclusiveContext*, JS::Handle)': src/third_party/mozjs-45/extract/js/src/builtin/ModuleObject.cpp:576:18: note: 'obj' declared here 576 | RootedObject obj(cx, NewObjectWithGivenProto(cx, &class_, proto)); | ^~~ src/third_party/mozjs-45/extract/js/src/builtin/ModuleObject.cpp:576:18: note: 'cx_123(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSString*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'reflect_parse(JSContext*, unsigned int, JS::Value*)' at src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:3603:54: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'src' in 'MEM[(struct Rooted * *)cx_788(D) + 56B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp: In function 'reflect_parse(JSContext*, unsigned int, JS::Value*)': src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:3603:18: note: 'src' declared here 3603 | RootedString src(cx, ToString(cx, args[0])); | ^~~ src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:3603:18: note: 'cx_788(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::NativeObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'CreateAndBindSimdClass<(anonymous namespace)::Int16x8Defn>(JSContext*, JS::Handle, JS::Handle, JS::Handle)JSObject*' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:369:18: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'funcProto' in 'MEM[(struct Rooted * *)cx_225(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp: In function 'CreateAndBindSimdClass<(anonymous namespace)::Int16x8Defn>(JSContext*, JS::Handle, JS::Handle, JS::Handle)JSObject*': src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:369:18: note: 'funcProto' declared here 369 | RootedObject funcProto(cx, global->getOrCreateFunctionPrototype(cx)); | ^~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:369:18: note: 'cx_225(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::NativeObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'CreateAndBindSimdClass<(anonymous namespace)::Int8x16Defn>(JSContext*, JS::Handle, JS::Handle, JS::Handle)JSObject*' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:369:18: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'funcProto' in 'MEM[(struct Rooted * *)cx_225(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp: In function 'CreateAndBindSimdClass<(anonymous namespace)::Int8x16Defn>(JSContext*, JS::Handle, JS::Handle, JS::Handle)JSObject*': src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:369:18: note: 'funcProto' declared here 369 | RootedObject funcProto(cx, global->getOrCreateFunctionPrototype(cx)); | ^~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:369:18: note: 'cx_225(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::InitSIMDClass(JSContext*, JS::Handle)' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:512:78: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'globalSimdObject' in 'MEM[(struct Rooted * *)cx_202(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp: In function 'js::InitSIMDClass(JSContext*, JS::Handle)': src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:512:18: note: 'globalSimdObject' declared here 512 | RootedObject globalSimdObject(cx, global->getOrCreateSimdGlobalObject(cx)); | ^~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:512:18: note: 'cx_202(D)' declared here In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call gcc -o build/fedora/third_party/wiredtiger/src/os_common/os_fstream_stdio.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/fedora/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/fedora/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/fedora/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/os_common/os_fstream_stdio.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C g++ -o build/fedora/mongo/util/options_parser/options_parser.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/asio-master/asio/include -Ibuild/fedora -Isrc src/mongo/util/options_parser/options_parser.cpp gcc -o build/fedora/third_party/wiredtiger/src/support/hash_city.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/fedora/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/fedora/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/fedora/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/support/hash_city.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C g++ -o build/fedora/mongo/db/exec/projection_exec.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/exec/projection_exec.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/exec/projection_exec.h:33, from src/mongo/db/exec/projection_exec.cpp:29: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/db/exec/working_set.h:34, from src/mongo/db/exec/projection_exec.h:31: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:36, from src/mongo/db/exec/projection_exec.h:34: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ProjectionExec*, mongo::StringMapTraits>': src/mongo/db/exec/projection_exec.h:149:14: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ProjectionExec*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ProjectionExec*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ProjectionExec*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ProjectionExec*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::MatchExpression*, mongo::StringMapTraits>': src/mongo/db/exec/projection_exec.h:162:14: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::MatchExpression*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::MatchExpression*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::MatchExpression*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::MatchExpression*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ProjectionExec::MetaProjection, mongo::StringMapTraits>': src/mongo/db/exec/projection_exec.h:173:13: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ProjectionExec::MetaProjection; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ProjectionExec::MetaProjection; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ProjectionExec::MetaProjection; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ProjectionExec::MetaProjection; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call g++ -o build/fedora/mongo/executor/thread_pool_task_executor.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/executor/thread_pool_task_executor.cpp g++ -o build/fedora/mongo/db/catalog/index_create.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/catalog/index_create.cpp In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/bson/bsonobj.h:44, from src/mongo/bson/ordering.h:32, from src/mongo/db/catalog/index_catalog_entry.h:36, from src/mongo/db/catalog/index_catalog.h:36, from src/mongo/db/catalog/index_create.h:38, from src/mongo/db/catalog/index_create.cpp:33: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/plan_cache.h:35, from src/mongo/db/catalog/collection_info_cache.h:33, from src/mongo/db/catalog/collection.h:41, from src/mongo/db/catalog/index_create.cpp:39: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call /usr/bin/python3 buildscripts/idl/idlc.py --include src --base_dir build/fedora --target_arch x86_64 --header build/fedora/mongo/s/request_types/shard_collection_gen.h --output build/fedora/mongo/s/request_types/shard_collection_gen.cpp src/mongo/s/request_types/shard_collection.idl In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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 g++ -o build/fedora/mongo/s/request_types/shard_collection_gen.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc build/fedora/mongo/s/request_types/shard_collection_gen.cpp src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, unsigned int, mongo::StringMapTraits>': src/mongo/db/op_observer.h:310:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from build/fedora/mongo/s/request_types/shard_collection_gen.cpp:16: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from build/fedora/mongo/s/request_types/shard_collection_gen.h:16, from build/fedora/mongo/s/request_types/shard_collection_gen.cpp:9: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/mongo/db/commands/server_status_metric.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/commands/server_status_metric.cpp In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call ar rcsTD build/fedora/mongo/db/commands/libserver_status_core.a build/fedora/mongo/db/commands/server_status_internal.o build/fedora/mongo/db/commands/server_status_metric.o Skipping ranlib for thin archive build/fedora/mongo/db/commands/libserver_status_core.a g++ -o build/fedora/mongo/db/storage/storage_engine_lock_file_posix.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/storage/storage_engine_lock_file_posix.cpp In file included from /usr/include/string.h:535, from /usr/include/c++/12/cstring:42, from src/mongo/base/data_range.h:30: In function 'memcpy', inlined from 'mongo::StringData::copyTo(char*, bool) const' at src/mongo/base/string_data.h:266:15, inlined from 'mongo::StringBuilderImpl::append(mongo::StringData)' at src/mongo/bson/util/builder.h:484:19, inlined from 'mongo::StringBuilderImpl::appendIntegral(int, int)mongo::StringBuilderImpl&' at src/mongo/bson/util/builder.h:518:19, inlined from 'mongo::StringBuilderImpl::appendIntegral(int, int)mongo::StringBuilderImpl&' at src/mongo/bson/util/builder.h:512:24, inlined from 'mongo::StringBuilderImpl::operator<<(int)' at src/mongo/bson/util/builder.h:402:30, inlined from 'mongo::BSONObjBuilder::numStr[abi:cxx11](int)' at src/mongo/bson/bsonobjbuilder.h:719:14, inlined from 'mongo::BSONObjBuilder::append(mongo::StringData, std::vector > const&)mongo::BSONObjBuilder& [clone .isra.0]' at src/mongo/bson/bsonobjbuilder.h:958:26: /usr/include/bits/string_fortified.h:29:33: warning: 'memcpy' offset [0, 511] is out of the bounds [0, 0] [-Warray-bounds] 29 | return __builtin___memcpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 30 | __glibc_objsize0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -o build/fedora/mongo/db/storage/storage_engine_lock_file.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/storage/storage_engine_lock_file.cpp g++ -o build/fedora/third_party/icu4c-57.1/source/i18n/collationkeys.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/collationkeys.cpp ar rcsTD build/fedora/mongo/db/storage/libstorage_engine_lock_file.a build/fedora/mongo/db/storage/storage_engine_lock_file.o build/fedora/mongo/db/storage/storage_engine_lock_file_posix.o Skipping ranlib for thin archive build/fedora/mongo/db/storage/libstorage_engine_lock_file.a g++ -o build/fedora/mongo/db/storage/wiredtiger/wiredtiger_record_store.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora/third_party/wiredtiger -Isrc/third_party/wiredtiger -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/storage/wiredtiger/wiredtiger_record_store.cpp gcc -o build/fedora/third_party/wiredtiger/src/os_posix/os_setvbuf.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/fedora/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/fedora/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/fedora/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/os_posix/os_setvbuf.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C g++ -o build/fedora/mongo/util/net/sockaddr.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/asio-master/asio/include -Ibuild/fedora -Isrc src/mongo/util/net/sockaddr.cpp In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/db/catalog/collection_options.h:36, from src/mongo/db/storage/wiredtiger/wiredtiger_record_store.h:39, from src/mongo/db/storage/wiredtiger/wiredtiger_record_store.cpp:38: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/db/storage/wiredtiger/wiredtiger_size_storer.h:106:12: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/db/curop.h:35, from src/mongo/db/concurrency/write_conflict_exception.h:36, from src/mongo/db/storage/wiredtiger/wiredtiger_record_store.cpp:45: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call g++ -o build/fedora/mongo/db/lasterror.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/lasterror.cpp 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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ ar rcsTD build/fedora/mongo/db/repl/liboplog_fetcher.a build/fedora/mongo/db/repl/oplog_fetcher.o Skipping ranlib for thin archive build/fedora/mongo/db/repl/liboplog_fetcher.a g++ -o build/fedora/mongo/scripting/mozjs/dbref.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -Wno-non-virtual-dtor -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -include js-config.h -include js/RequiredDefines.h -Wno-invalid-offsetof -fPIE -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/mozjs-45/include -Isrc/third_party/mozjs-45/mongo_sources -Isrc/third_party/mozjs-45/platform/x86_64/linux/include -Ibuild/fedora -Isrc src/mongo/scripting/mozjs/dbref.cpp In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call gcc -o build/fedora/third_party/wiredtiger/src/evict/evict_file.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/fedora/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/fedora/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/fedora/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/evict/evict_file.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C gcc -o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_string.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -DUSE_COMPILER_F80_TYPE=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -Dlinux=1 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_string.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C gcc -o build/fedora/third_party/wiredtiger/src/schema/schema_project.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/fedora/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/fedora/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/fedora/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/schema/schema_project.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C g++ -o build/fedora/third_party/icu4c-57.1/source/i18n/unum.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/unum.cpp g++ -o build/fedora/mongo/db/server_options.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/server_options.cpp ar rcsTD build/fedora/mongo/db/libserver_options_core.a build/fedora/mongo/db/server_options.o Skipping ranlib for thin archive build/fedora/mongo/db/libserver_options_core.a g++ -o build/fedora/mongo/db/server_options_server_helpers.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/server_options_server_helpers.cpp g++ -o build/fedora/mongo/db/pipeline/document_sources_gen.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc build/fedora/mongo/db/pipeline/document_sources_gen.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/resume_token.h:36, from build/fedora/mongo/db/pipeline/document_sources_gen.h:21, from build/fedora/mongo/db/pipeline/document_sources_gen.cpp:9: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from build/fedora/mongo/db/pipeline/document_sources_gen.h:16: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/util/options_parser/environment.h:34, from src/mongo/db/server_options_server_helpers.h:32, from src/mongo/db/server_options_server_helpers.cpp:31: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::MessageCompressorBase*, mongo::StringMapTraits>': src/mongo/transport/message_compressor_registry.h:113:39: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::MessageCompressorBase*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::MessageCompressorBase*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::MessageCompressorBase*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::MessageCompressorBase*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from build/fedora/mongo/db/pipeline/document_sources_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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call ar rcsTD build/fedora/mongo/db/libserver_options_servers.a build/fedora/mongo/db/server_options_server_helpers.o Skipping ranlib for thin archive build/fedora/mongo/db/libserver_options_servers.a g++ -o build/fedora/third_party/icu4c-57.1/source/i18n/casetrn.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/casetrn.cpp g++ -o build/fedora/mongo/client/dbclientcursor.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/asio-master/asio/include -Ibuild/fedora -Isrc src/mongo/client/dbclientcursor.cpp g++ -o build/fedora/mongo/client/index_spec.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/asio-master/asio/include -Ibuild/fedora -Isrc src/mongo/client/index_spec.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/query_solution.h:36, from src/mongo/db/query/plan_executor.h:37, from src/mongo/db/clientcursor.h:38, from src/mongo/db/query/cursor_response.h:36, from src/mongo/client/dbclientcursor.cpp:40: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/client/connection_string.h:38, from src/mongo/client/dbclientinterface.h:34, from src/mongo/client/dbclientcursor.h:35, from src/mongo/client/dbclientcursor.cpp:34: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36, from src/mongo/db/query/plan_cache.h:35, from src/mongo/db/query/query_solution.h:38: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call g++ -o build/fedora/mongo/client/dbclient.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/asio-master/asio/include -Ibuild/fedora -Isrc src/mongo/client/dbclient.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/client/dbclient.cpp:48: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/client/connection_string.h:38, from src/mongo/client/dbclientinterface.h:34, from src/mongo/client/dbclient.cpp:34: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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 gcc -o build/fedora/third_party/wiredtiger/src/os_posix/os_yield.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/fedora/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/fedora/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/fedora/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/os_posix/os_yield.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/mongo/db/query/explain_options.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/query/explain_options.cpp src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from /usr/include/string.h:535, from /usr/include/c++/12/cstring:42, from src/mongo/base/string_data.h:33, from build/fedora/mongo/base/error_codes.h:35, from src/mongo/base/status.h:33, from src/mongo/db/query/explain_options.h:31, from src/mongo/db/query/explain_options.cpp:31: In function 'memcpy', inlined from 'mongo::StringData::copyTo(char*, bool) const' at src/mongo/base/string_data.h:266:15, inlined from 'mongo::StringBuilderImpl::append(mongo::StringData)' at src/mongo/bson/util/builder.h:484:19, inlined from 'mongo::StringBuilderImpl::operator<<(mongo::StringData)' at src/mongo/bson/util/builder.h:441:15, inlined from 'mongoutils::str::stream::operator<< (mongo::StringData const&)mongoutils::str::stream&' at src/mongo/util/mongoutils/str.h:66:12, inlined from 'mongo::ExplainOptions::parseCmdBSON(mongo::BSONObj const&)' at src/mongo/db/query/explain_options.cpp:75:44: /usr/include/bits/string_fortified.h:29:33: warning: 'memcpy' offset [0, 11] is out of the bounds [0, 0] [-Warray-bounds] 29 | return __builtin___memcpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 30 | __glibc_objsize0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'memcpy', inlined from 'mongo::StringData::copyTo(char*, bool) const' at src/mongo/base/string_data.h:266:15, inlined from 'mongo::StringBuilderImpl::append(mongo::StringData)' at src/mongo/bson/util/builder.h:484:19, inlined from 'mongo::StringBuilderImpl::operator<<(mongo::StringData)' at src/mongo/bson/util/builder.h:441:15, inlined from 'mongoutils::str::stream::operator<< (mongo::StringData const&)mongoutils::str::stream&' at src/mongo/util/mongoutils/str.h:66:12, inlined from 'mongo::ExplainOptions::parseCmdBSON(mongo::BSONObj const&)' at src/mongo/db/query/explain_options.cpp:77:44: /usr/include/bits/string_fortified.h:29:33: warning: 'memcpy' offset [0, 13] is out of the bounds [0, 0] [-Warray-bounds] 29 | return __builtin___memcpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 30 | __glibc_objsize0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'memcpy', inlined from 'mongo::StringData::copyTo(char*, bool) const' at src/mongo/base/string_data.h:266:15, inlined from 'mongo::StringBuilderImpl::append(mongo::StringData)' at src/mongo/bson/util/builder.h:484:19, inlined from 'mongo::StringBuilderImpl::operator<<(mongo::StringData)' at src/mongo/bson/util/builder.h:441:15, inlined from 'mongo::StringBuilderImpl::operator<<(char const*)' at src/mongo/bson/util/builder.h:438:22, inlined from 'mongoutils::str::stream::operator<< (char const (&) [5])mongoutils::str::stream&' at src/mongo/util/mongoutils/str.h:66:12, inlined from 'mongo::ExplainOptions::parseCmdBSON(mongo::BSONObj const&)' at src/mongo/db/query/explain_options.cpp:78:44: /usr/include/bits/string_fortified.h:29:33: warning: 'memcpy' offset [0, 3] is out of the bounds [0, 0] [-Warray-bounds] 29 | return __builtin___memcpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 30 | __glibc_objsize0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'memcpy', inlined from 'mongo::StringData::copyTo(char*, bool) const' at src/mongo/base/string_data.h:266:15, inlined from 'mongo::StringBuilderImpl::append(mongo::StringData)' at src/mongo/bson/util/builder.h:484:19, inlined from 'mongo::StringBuilderImpl::operator<<(mongo::StringData)' at src/mongo/bson/util/builder.h:441:15, inlined from 'mongo::StringBuilderImpl::operator<<(char const*)' at src/mongo/bson/util/builder.h:438:22, inlined from 'mongoutils::str::stream::operator<< (char const (&) [5])mongoutils::str::stream&' at src/mongo/util/mongoutils/str.h:66:12, inlined from 'mongo::ExplainOptions::parseCmdBSON(mongo::BSONObj const&)' at src/mongo/db/query/explain_options.cpp:76:44: /usr/include/bits/string_fortified.h:29:33: warning: 'memcpy' offset [0, 3] is out of the bounds [0, 0] [-Warray-bounds] 29 | return __builtin___memcpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 30 | __glibc_objsize0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ ar rcsTD build/fedora/mongo/db/query/libexplain_options.a build/fedora/mongo/db/query/explain_options.o Skipping ranlib for thin archive build/fedora/mongo/db/query/libexplain_options.a gcc -o build/fedora/third_party/wiredtiger/src/os_posix/os_snprintf.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/fedora/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/fedora/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/fedora/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/os_posix/os_snprintf.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call gcc -o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_to_int8.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -DUSE_COMPILER_F80_TYPE=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -Dlinux=1 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_to_int8.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C g++ -o build/fedora/mongo/db/repl/oplog_interface_remote.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/repl/oplog_interface_remote.cpp ar rcsTD build/fedora/mongo/db/repl/liboplog_interface_remote.a build/fedora/mongo/db/repl/oplog_interface_remote.o Skipping ranlib for thin archive build/fedora/mongo/db/repl/liboplog_interface_remote.a g++ -o build/fedora/third_party/icu4c-57.1/source/i18n/collationsettings.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/collationsettings.cpp gcc -o build/fedora/third_party/wiredtiger/ext/compressors/zlib/zlib_compress.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/fedora/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/fedora/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/fedora/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/ext/compressors/zlib/zlib_compress.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C g++ -o build/fedora/mongo/client/query.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/client/query.cpp ar rcsTD build/fedora/mongo/client/libclientdriver_minimal.a build/fedora/mongo/client/dbclient.o build/fedora/mongo/client/dbclientcursor.o build/fedora/mongo/client/index_spec.o Skipping ranlib for thin archive build/fedora/mongo/client/libclientdriver_minimal.a g++ -o build/fedora/mongo/scripting/mozjs/bindata.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -Wno-non-virtual-dtor -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -include js-config.h -include js/RequiredDefines.h -Wno-invalid-offsetof -fPIE -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/mozjs-45/include -Isrc/third_party/mozjs-45/mongo_sources -Isrc/third_party/mozjs-45/platform/x86_64/linux/include -Ibuild/fedora -Isrc src/mongo/scripting/mozjs/bindata.cpp In file included from /usr/include/string.h:535, from /usr/include/c++/12/cstring:42, from src/mongo/base/string_data.h:33, from build/fedora/mongo/base/error_codes.h:35, from src/mongo/base/status.h:33, from src/mongo/bson/json.h:33, from src/mongo/client/query.h:31, from src/mongo/client/query.cpp:30: In function 'memcpy', inlined from 'mongo::Message::setData(int, char const*, unsigned long)' at src/mongo/rpc/message.h:448:19, inlined from 'mongo::assembleQueryRequest(std::__cxx11::basic_string, std::allocator > const&, mongo::BSONObj, int, int, mongo::BSONObj const*, int, mongo::Message&)' at src/mongo/client/query.cpp:181:19: /usr/include/bits/string_fortified.h:29:33: warning: 'memcpy' offset 0 is out of the bounds [0, 0] [-Warray-bounds] 29 | return __builtin___memcpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 30 | __glibc_objsize0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -o build/fedora/mongo/scripting/mozjs/nativefunction.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -Wno-non-virtual-dtor -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -include js-config.h -include js/RequiredDefines.h -Wno-invalid-offsetof -fPIE -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/mozjs-45/include -Isrc/third_party/mozjs-45/mongo_sources -Isrc/third_party/mozjs-45/platform/x86_64/linux/include -Ibuild/fedora -Isrc src/mongo/scripting/mozjs/nativefunction.cpp g++ -o build/fedora/mongo/scripting/mozjs/numberdecimal.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -Wno-non-virtual-dtor -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -include js-config.h -include js/RequiredDefines.h -Wno-invalid-offsetof -fPIE -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/mozjs-45/include -Isrc/third_party/mozjs-45/mongo_sources -Isrc/third_party/mozjs-45/platform/x86_64/linux/include -Ibuild/fedora -Isrc src/mongo/scripting/mozjs/numberdecimal.cpp g++ -o build/fedora/mongo/scripting/mozjs/mongo.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -Wno-non-virtual-dtor -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -include js-config.h -include js/RequiredDefines.h -Wno-invalid-offsetof -fPIE -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/mozjs-45/include -Isrc/third_party/mozjs-45/mongo_sources -Isrc/third_party/mozjs-45/platform/x86_64/linux/include -Ibuild/fedora -Isrc src/mongo/scripting/mozjs/mongo.cpp In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/bson/bsonobj.h:44, from src/mongo/bson/bson_field.h:34, from src/mongo/bson/bsonobjbuilder.h:44, from src/mongo/scripting/mozjs/objectwrapper.h:34, from src/mongo/scripting/mozjs/wraptype.h:37, from src/mongo/scripting/mozjs/mongo.h:31, from src/mongo/scripting/mozjs/mongo.cpp:31: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::weak_ptr, mongo::StringMapTraits>': src/mongo/client/replica_set_monitor_manager.h:101:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::weak_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::weak_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::weak_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::weak_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/mongo/scripting/mozjs/db.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -Wno-non-virtual-dtor -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -include js-config.h -include js/RequiredDefines.h -Wno-invalid-offsetof -fPIE -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/mozjs-45/include -Isrc/third_party/mozjs-45/mongo_sources -Isrc/third_party/mozjs-45/platform/x86_64/linux/include -Ibuild/fedora -Isrc src/mongo/scripting/mozjs/db.cpp g++ -o build/fedora/mongo/scripting/mozjs/global.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -Wno-non-virtual-dtor -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -include js-config.h -include js/RequiredDefines.h -Wno-invalid-offsetof -fPIE -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/mozjs-45/include -Isrc/third_party/mozjs-45/mongo_sources -Isrc/third_party/mozjs-45/platform/x86_64/linux/include -Ibuild/fedora -Isrc src/mongo/scripting/mozjs/global.cpp g++ -o build/fedora/mongo/scripting/mozjs/timestamp.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -Wno-non-virtual-dtor -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -include js-config.h -include js/RequiredDefines.h -Wno-invalid-offsetof -fPIE -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/mozjs-45/include -Isrc/third_party/mozjs-45/mongo_sources -Isrc/third_party/mozjs-45/platform/x86_64/linux/include -Ibuild/fedora -Isrc src/mongo/scripting/mozjs/timestamp.cpp g++ -o build/fedora/mongo/scripting/mozjs/countdownlatch.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -Wno-non-virtual-dtor -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -include js-config.h -include js/RequiredDefines.h -Wno-invalid-offsetof -fPIE -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/mozjs-45/include -Isrc/third_party/mozjs-45/mongo_sources -Isrc/third_party/mozjs-45/platform/x86_64/linux/include -Ibuild/fedora -Isrc src/mongo/scripting/mozjs/countdownlatch.cpp g++ -o build/fedora/mongo/scripting/mozjs/dbcollection.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -Wno-non-virtual-dtor -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -include js-config.h -include js/RequiredDefines.h -Wno-invalid-offsetof -fPIE -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/mozjs-45/include -Isrc/third_party/mozjs-45/mongo_sources -Isrc/third_party/mozjs-45/platform/x86_64/linux/include -Ibuild/fedora -Isrc src/mongo/scripting/mozjs/dbcollection.cpp g++ -o build/fedora/mongo/scripting/mozjs/minkey.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -Wno-non-virtual-dtor -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -include js-config.h -include js/RequiredDefines.h -Wno-invalid-offsetof -fPIE -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/mozjs-45/include -Isrc/third_party/mozjs-45/mongo_sources -Isrc/third_party/mozjs-45/platform/x86_64/linux/include -Ibuild/fedora -Isrc src/mongo/scripting/mozjs/minkey.cpp g++ -o build/fedora/mongo/scripting/mozjs/regexp.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -Wno-non-virtual-dtor -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -include js-config.h -include js/RequiredDefines.h -Wno-invalid-offsetof -fPIE -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/mozjs-45/include -Isrc/third_party/mozjs-45/mongo_sources -Isrc/third_party/mozjs-45/platform/x86_64/linux/include -Ibuild/fedora -Isrc src/mongo/scripting/mozjs/regexp.cpp g++ -o build/fedora/mongo/scripting/mozjs/dbquery.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -Wno-non-virtual-dtor -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -include js-config.h -include js/RequiredDefines.h -Wno-invalid-offsetof -fPIE -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/mozjs-45/include -Isrc/third_party/mozjs-45/mongo_sources -Isrc/third_party/mozjs-45/platform/x86_64/linux/include -Ibuild/fedora -Isrc src/mongo/scripting/mozjs/dbquery.cpp g++ -o build/fedora/mongo/scripting/mozjs/maxkey.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -Wno-non-virtual-dtor -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -include js-config.h -include js/RequiredDefines.h -Wno-invalid-offsetof -fPIE -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/mozjs-45/include -Isrc/third_party/mozjs-45/mongo_sources -Isrc/third_party/mozjs-45/platform/x86_64/linux/include -Ibuild/fedora -Isrc src/mongo/scripting/mozjs/maxkey.cpp g++ -o build/fedora/mongo/scripting/mozjs/implscope.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -Wno-non-virtual-dtor -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -include js-config.h -include js/RequiredDefines.h -Wno-invalid-offsetof -fPIE -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/mozjs-45/include -Isrc/third_party/mozjs-45/mongo_sources -Isrc/third_party/mozjs-45/platform/x86_64/linux/include -Ibuild/fedora -Isrc src/mongo/scripting/mozjs/implscope.cpp g++ -o build/fedora/mongo/scripting/mozjs/object.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -Wno-non-virtual-dtor -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -include js-config.h -include js/RequiredDefines.h -Wno-invalid-offsetof -fPIE -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/mozjs-45/include -Isrc/third_party/mozjs-45/mongo_sources -Isrc/third_party/mozjs-45/platform/x86_64/linux/include -Ibuild/fedora -Isrc src/mongo/scripting/mozjs/object.cpp g++ -o build/fedora/mongo/scripting/mozjs/jsthread.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -Wno-non-virtual-dtor -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -include js-config.h -include js/RequiredDefines.h -Wno-invalid-offsetof -fPIE -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/mozjs-45/include -Isrc/third_party/mozjs-45/mongo_sources -Isrc/third_party/mozjs-45/platform/x86_64/linux/include -Ibuild/fedora -Isrc src/mongo/scripting/mozjs/jsthread.cpp g++ -o build/fedora/mongo/scripting/mozjs/jscustomallocator.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -Wno-non-virtual-dtor -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -include js-config.h -include js/RequiredDefines.h -Wno-invalid-offsetof -fPIE -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/mozjs-45/include -Isrc/third_party/mozjs-45/mongo_sources -Isrc/third_party/mozjs-45/platform/x86_64/linux/include -Ibuild/fedora -Isrc src/mongo/scripting/mozjs/jscustomallocator.cpp g++ -o build/fedora/mongo/scripting/mozjs/internedstring.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -Wno-non-virtual-dtor -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -include js-config.h -include js/RequiredDefines.h -Wno-invalid-offsetof -fPIE -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/mozjs-45/include -Isrc/third_party/mozjs-45/mongo_sources -Isrc/third_party/mozjs-45/platform/x86_64/linux/include -Ibuild/fedora -Isrc src/mongo/scripting/mozjs/internedstring.cpp g++ -o build/fedora/mongo/scripting/mozjs/engine.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -Wno-non-virtual-dtor -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -include js-config.h -include js/RequiredDefines.h -Wno-invalid-offsetof -fPIE -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/mozjs-45/include -Isrc/third_party/mozjs-45/mongo_sources -Isrc/third_party/mozjs-45/platform/x86_64/linux/include -Ibuild/fedora -Isrc src/mongo/scripting/mozjs/engine.cpp g++ -o build/fedora/mongo/scripting/mozjs/cursor_handle.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -Wno-non-virtual-dtor -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -include js-config.h -include js/RequiredDefines.h -Wno-invalid-offsetof -fPIE -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/mozjs-45/include -Isrc/third_party/mozjs-45/mongo_sources -Isrc/third_party/mozjs-45/platform/x86_64/linux/include -Ibuild/fedora -Isrc src/mongo/scripting/mozjs/cursor_handle.cpp g++ -o build/fedora/mongo/scripting/mozjs/dbpointer.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -Wno-non-virtual-dtor -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -include js-config.h -include js/RequiredDefines.h -Wno-invalid-offsetof -fPIE -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/mozjs-45/include -Isrc/third_party/mozjs-45/mongo_sources -Isrc/third_party/mozjs-45/platform/x86_64/linux/include -Ibuild/fedora -Isrc src/mongo/scripting/mozjs/dbpointer.cpp g++ -o build/fedora/mongo/scripting/mozjs/numberlong.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -Wno-non-virtual-dtor -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -include js-config.h -include js/RequiredDefines.h -Wno-invalid-offsetof -fPIE -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/mozjs-45/include -Isrc/third_party/mozjs-45/mongo_sources -Isrc/third_party/mozjs-45/platform/x86_64/linux/include -Ibuild/fedora -Isrc src/mongo/scripting/mozjs/numberlong.cpp g++ -o build/fedora/mongo/scripting/mozjs/uri.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -Wno-non-virtual-dtor -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -include js-config.h -include js/RequiredDefines.h -Wno-invalid-offsetof -fPIE -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/mozjs-45/include -Isrc/third_party/mozjs-45/mongo_sources -Isrc/third_party/mozjs-45/platform/x86_64/linux/include -Ibuild/fedora -Isrc src/mongo/scripting/mozjs/uri.cpp src/mongo/scripting/mozjs/uri.cpp: In static member function 'static void mongo::mozjs::URIInfo::construct(JSContext*, JS::CallArgs)': src/mongo/scripting/mozjs/uri.cpp:72:21: warning: loop variable 'hp' creates a copy from type 'const mongo::HostAndPort' [-Wrange-loop-construct] 72 | for (const auto hp : parsed.getServers()) { | ^~ src/mongo/scripting/mozjs/uri.cpp:72:21: note: use reference type to prevent copying 72 | for (const auto hp : parsed.getServers()) { | ^~ | & g++ -o build/fedora/mongo/scripting/mozjs/numberint.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -Wno-non-virtual-dtor -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -include js-config.h -include js/RequiredDefines.h -Wno-invalid-offsetof -fPIE -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/mozjs-45/include -Isrc/third_party/mozjs-45/mongo_sources -Isrc/third_party/mozjs-45/platform/x86_64/linux/include -Ibuild/fedora -Isrc src/mongo/scripting/mozjs/numberint.cpp g++ -o build/fedora/mongo/scripting/mozjs/bson.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -Wno-non-virtual-dtor -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -include js-config.h -include js/RequiredDefines.h -Wno-invalid-offsetof -fPIE -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/mozjs-45/include -Isrc/third_party/mozjs-45/mongo_sources -Isrc/third_party/mozjs-45/platform/x86_64/linux/include -Ibuild/fedora -Isrc src/mongo/scripting/mozjs/bson.cpp g++ -o build/fedora/mongo/scripting/mozjs/idwrapper.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -Wno-non-virtual-dtor -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -include js-config.h -include js/RequiredDefines.h -Wno-invalid-offsetof -fPIE -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/mozjs-45/include -Isrc/third_party/mozjs-45/mongo_sources -Isrc/third_party/mozjs-45/platform/x86_64/linux/include -Ibuild/fedora -Isrc src/mongo/scripting/mozjs/idwrapper.cpp In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/scripting/mozjs/bson.h:33, from src/mongo/scripting/mozjs/bson.cpp:31: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, bool, mongo::StringMapTraits>': src/mongo/scripting/mozjs/bson.cpp:95:21: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = bool; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = bool; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = bool; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = bool; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ /usr/bin/python3 buildscripts/idl/idlc.py --include src --base_dir build/fedora --target_arch x86_64 --header build/fedora/mongo/scripting/mozjs/end_sessions_gen.h --output build/fedora/mongo/scripting/mozjs/end_sessions_gen.cpp src/mongo/scripting/mozjs/end_sessions.idl g++ -o build/fedora/mongo/scripting/mozjs/end_sessions_gen.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -Wno-non-virtual-dtor -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -include js-config.h -include js/RequiredDefines.h -Wno-invalid-offsetof -fPIE -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/mozjs-45/include -Isrc/third_party/mozjs-45/mongo_sources -Isrc/third_party/mozjs-45/platform/x86_64/linux/include -Ibuild/fedora -Isrc build/fedora/mongo/scripting/mozjs/end_sessions_gen.cpp In file included from src/third_party/mozjs-45/include/js/CallArgs.h:38, from src/third_party/mozjs-45/include/jsapi.h:27, from src/mongo/scripting/mozjs/wraptype.h:32, from src/mongo/scripting/mozjs/bson.h:34: In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:708:30, inlined from 'mongo::mozjs::BSONInfo::enumerate(JSContext*, JS::Handle, JS::AutoVectorRooter&, bool)' at src/mongo/scripting/mozjs/bson.cpp:139:23: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'id' in 'MEM[(struct Rooted * *)cx_100(D) + 96B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/scripting/mozjs/bson.cpp: In function 'mongo::mozjs::BSONInfo::enumerate(JSContext*, JS::Handle, JS::AutoVectorRooter&, bool)': src/mongo/scripting/mozjs/bson.cpp:139:18: note: 'id' declared here 139 | JS::RootedId id(cx); | ^~ src/mongo/scripting/mozjs/bson.cpp:139:18: note: 'cx_100(D)' declared here g++ -o build/fedora/mongo/scripting/mozjs/valuewriter.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -Wno-non-virtual-dtor -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -include js-config.h -include js/RequiredDefines.h -Wno-invalid-offsetof -fPIE -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/mozjs-45/include -Isrc/third_party/mozjs-45/mongo_sources -Isrc/third_party/mozjs-45/platform/x86_64/linux/include -Ibuild/fedora -Isrc src/mongo/scripting/mozjs/valuewriter.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from build/fedora/mongo/scripting/mozjs/end_sessions_gen.cpp:16: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from build/fedora/mongo/scripting/mozjs/end_sessions_gen.h:16, from build/fedora/mongo/scripting/mozjs/end_sessions_gen.cpp:9: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/mongo/scripting/mozjs/status.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -Wno-non-virtual-dtor -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -include js-config.h -include js/RequiredDefines.h -Wno-invalid-offsetof -fPIE -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/mozjs-45/include -Isrc/third_party/mozjs-45/mongo_sources -Isrc/third_party/mozjs-45/platform/x86_64/linux/include -Ibuild/fedora -Isrc src/mongo/scripting/mozjs/status.cpp In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call In file included from /usr/include/string.h:535, from /usr/include/c++/12/cstring:42, from src/mongo/base/data_range.h:30: In function 'memcpy', inlined from 'mongo::StringData::copyTo(char*, bool) const' at src/mongo/base/string_data.h:266:15, inlined from 'mongo::StringBuilderImpl::append(mongo::StringData)' at src/mongo/bson/util/builder.h:484:19, inlined from 'mongo::StringBuilderImpl::appendIntegral(int, int)mongo::StringBuilderImpl&' at src/mongo/bson/util/builder.h:518:19, inlined from 'mongo::StringBuilderImpl::appendIntegral(int, int)mongo::StringBuilderImpl&' at src/mongo/bson/util/builder.h:512:24, inlined from 'mongo::StringBuilderImpl::operator<<(int)' at src/mongo/bson/util/builder.h:402:30, inlined from 'mongo::BSONObjBuilder::numStr[abi:cxx11](int)' at src/mongo/bson/bsonobjbuilder.h:719:14, inlined from 'mongo::BSONObjBuilder::append(mongo::StringData, std::vector > const&)mongo::BSONObjBuilder& [clone .isra.0]' at src/mongo/bson/bsonobjbuilder.h:958:26: /usr/include/bits/string_fortified.h:29:33: warning: 'memcpy' offset [0, 511] is out of the bounds [0, 0] [-Warray-bounds] 29 | return __builtin___memcpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 30 | __glibc_objsize0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -o build/fedora/mongo/scripting/mozjs/mongohelpers.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -Wno-non-virtual-dtor -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -include js-config.h -include js/RequiredDefines.h -Wno-invalid-offsetof -fPIE -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/mozjs-45/include -Isrc/third_party/mozjs-45/mongo_sources -Isrc/third_party/mozjs-45/platform/x86_64/linux/include -Ibuild/fedora -Isrc src/mongo/scripting/mozjs/mongohelpers.cpp g++ -o build/fedora/mongo/scripting/mozjs/valuereader.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -Wno-non-virtual-dtor -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -include js-config.h -include js/RequiredDefines.h -Wno-invalid-offsetof -fPIE -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/mozjs-45/include -Isrc/third_party/mozjs-45/mongo_sources -Isrc/third_party/mozjs-45/platform/x86_64/linux/include -Ibuild/fedora -Isrc src/mongo/scripting/mozjs/valuereader.cpp g++ -o build/fedora/mongo/scripting/mozjs/PosixNSPR.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -Wno-non-virtual-dtor -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -include js-config.h -include js/RequiredDefines.h -Wno-invalid-offsetof -fPIE -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/mozjs-45/include -Isrc/third_party/mozjs-45/mongo_sources -Isrc/third_party/mozjs-45/platform/x86_64/linux/include -Ibuild/fedora -Isrc src/mongo/scripting/mozjs/PosixNSPR.cpp g++ -o build/fedora/mongo/scripting/mozjs/code.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -Wno-non-virtual-dtor -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -include js-config.h -include js/RequiredDefines.h -Wno-invalid-offsetof -fPIE -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/mozjs-45/include -Isrc/third_party/mozjs-45/mongo_sources -Isrc/third_party/mozjs-45/platform/x86_64/linux/include -Ibuild/fedora -Isrc src/mongo/scripting/mozjs/code.cpp g++ -o build/fedora/mongo/scripting/mozjs/exception.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -Wno-non-virtual-dtor -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -include js-config.h -include js/RequiredDefines.h -Wno-invalid-offsetof -fPIE -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/mozjs-45/include -Isrc/third_party/mozjs-45/mongo_sources -Isrc/third_party/mozjs-45/platform/x86_64/linux/include -Ibuild/fedora -Isrc src/mongo/scripting/mozjs/exception.cpp g++ -o build/fedora/mongo/scripting/mozjs/session.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -Wno-non-virtual-dtor -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -include js-config.h -include js/RequiredDefines.h -Wno-invalid-offsetof -fPIE -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/mozjs-45/include -Isrc/third_party/mozjs-45/mongo_sources -Isrc/third_party/mozjs-45/platform/x86_64/linux/include -Ibuild/fedora -Isrc src/mongo/scripting/mozjs/session.cpp g++ -o build/fedora/mongo/platform/decimal128.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/platform/decimal128.cpp g++ -o build/fedora/mongo/db/repl/abstract_async_component.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/repl/abstract_async_component.cpp ar rcsTD build/fedora/mongo/scripting/libscripting.a build/fedora/mongo/scripting/mozjs/base.o build/fedora/mongo/scripting/mozjs/bindata.o build/fedora/mongo/scripting/mozjs/bson.o build/fedora/mongo/scripting/mozjs/code.o build/fedora/mongo/scripting/mozjs/countdownlatch.o build/fedora/mongo/scripting/mozjs/cursor.o build/fedora/mongo/scripting/mozjs/cursor_handle.o build/fedora/mongo/scripting/mozjs/db.o build/fedora/mongo/scripting/mozjs/dbcollection.o build/fedora/mongo/scripting/mozjs/dbpointer.o build/fedora/mongo/scripting/mozjs/dbquery.o build/fedora/mongo/scripting/mozjs/dbref.o build/fedora/mongo/scripting/mozjs/engine.o build/fedora/mongo/scripting/mozjs/error.o build/fedora/mongo/scripting/mozjs/exception.o build/fedora/mongo/scripting/mozjs/global.o build/fedora/mongo/scripting/mozjs/idwrapper.o build/fedora/mongo/scripting/mozjs/implscope.o build/fedora/mongo/scripting/mozjs/internedstring.o build/fedora/mongo/scripting/mozjs/jscustomallocator.o build/fedora/mongo/scripting/mozjs/jsstringwrapper.o build/fedora/mongo/scripting/mozjs/jsthread.o build/fedora/mongo/scripting/mozjs/maxkey.o build/fedora/mongo/scripting/mozjs/minkey.o build/fedora/mongo/scripting/mozjs/mongo.o build/fedora/mongo/scripting/mozjs/mongohelpers.o build/fedora/mongo/scripting/mozjs/mongohelpers_js.o build/fedora/mongo/scripting/mozjs/nativefunction.o build/fedora/mongo/scripting/mozjs/numberdecimal.o build/fedora/mongo/scripting/mozjs/numberint.o build/fedora/mongo/scripting/mozjs/numberlong.o build/fedora/mongo/scripting/mozjs/object.o build/fedora/mongo/scripting/mozjs/objectwrapper.o build/fedora/mongo/scripting/mozjs/oid.o build/fedora/mongo/scripting/mozjs/PosixNSPR.o build/fedora/mongo/scripting/mozjs/proxyscope.o build/fedora/mongo/scripting/mozjs/regexp.o build/fedora/mongo/scripting/mozjs/session.o build/fedora/mongo/scripting/mozjs/status.o build/fedora/mongo/scripting/mozjs/timestamp.o build/fedora/mongo/scripting/mozjs/uri.o build/fedora/mongo/scripting/mozjs/valuereader.o build/fedora/mongo/scripting/mozjs/valuewriter.o build/fedora/mongo/scripting/mozjs/end_sessions_gen.o Skipping ranlib for thin archive build/fedora/mongo/scripting/libscripting.a g++ -o build/fedora/third_party/icu4c-57.1/source/i18n/uspoof_build.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/uspoof_build.cpp gcc -o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_sinh.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -DUSE_COMPILER_F80_TYPE=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -Dlinux=1 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_sinh.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C g++ -o build/fedora/mongo/db/query/find.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/query/find.cpp g++ -o build/fedora/third_party/icu4c-57.1/source/i18n/numsys.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/numsys.cpp g++ -o build/fedora/third_party/icu4c-57.1/source/common/locid.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/locid.cpp g++ -o build/fedora/mongo/executor/remote_command_response.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/executor/remote_command_response.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/query_solution.h:36, from src/mongo/db/query/plan_executor.h:37, from src/mongo/db/clientcursor.h:38, from src/mongo/db/query/find.h:33, from src/mongo/db/query/find.cpp:33: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/client/connection_string.h:38, from src/mongo/client/dbclientinterface.h:34, from src/mongo/db/clientcursor.h:33: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36, from src/mongo/db/query/plan_cache.h:35, from src/mongo/db/query/query_solution.h:38: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ ar rcsTD build/fedora/mongo/executor/libremote_command.a build/fedora/mongo/executor/remote_command_request.o build/fedora/mongo/executor/remote_command_response.o Skipping ranlib for thin archive build/fedora/mongo/executor/libremote_command.a g++ -o build/fedora/mongo/util/processinfo.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/asio-master/asio/include -Ibuild/fedora -Isrc src/mongo/util/processinfo.cpp src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, unsigned int, mongo::StringMapTraits>': src/mongo/db/op_observer.h:310:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long unsigned int, mongo::StringMapTraits>': src/mongo/db/views/view_graph.h:177:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/db/views/view_catalog.h:174:13: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Collection*, mongo::StringMapTraits>': src/mongo/db/catalog/database.h:165:38: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Top::CollectionData, mongo::StringMapTraits>': src/mongo/db/stats/top.h:150:14: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/mongo/db/catalog/index_catalog_entry_impl.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/catalog/index_catalog_entry_impl.cpp In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/catalog/index_catalog_entry_impl.h:39, from src/mongo/db/catalog/index_catalog_entry_impl.cpp:33: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/bson/bsonobj.h:44, from src/mongo/bson/ordering.h:32, from src/mongo/db/catalog/index_catalog_entry_impl.h:35: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36, from src/mongo/db/query/plan_cache.h:35, from src/mongo/db/catalog/collection_info_cache.h:33, from src/mongo/db/catalog/collection_info_cache_impl.h:31, from src/mongo/db/catalog/index_catalog_entry_impl.cpp:39: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call g++ -o build/fedora/third_party/icu4c-57.1/source/common/uiter.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/uiter.cpp gcc -o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_tgamma.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -DUSE_COMPILER_F80_TYPE=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -Dlinux=1 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_tgamma.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C g++ -o build/fedora/mongo/db/exec/keep_mutations.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/exec/keep_mutations.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/exec/keep_mutations.h:34, from src/mongo/db/exec/keep_mutations.cpp:29: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/db/exec/plan_stats.h:38, from src/mongo/db/exec/plan_stage.h:34, from src/mongo/db/exec/keep_mutations.h:32: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/mongo/db/storage/wiredtiger/wiredtiger_begin_transaction_block.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora/third_party/wiredtiger -Isrc/third_party/wiredtiger -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/storage/wiredtiger/wiredtiger_begin_transaction_block.cpp g++ -o build/fedora/mongo/db/storage/wiredtiger/wiredtiger_snapshot_manager.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora/third_party/wiredtiger -Isrc/third_party/wiredtiger -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/storage/wiredtiger/wiredtiger_snapshot_manager.cpp g++ -o build/fedora/third_party/s2/util/coding/varint.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Isrc/third_party/s2 -Isrc/third_party/gflags-2.0/src -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/third_party/s2/util/coding/varint.cc g++ -o build/fedora/mongo/db/exec/idhack.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/exec/idhack.cpp In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/bson/timestamp.h:31, from src/mongo/db/storage/wiredtiger/wiredtiger_snapshot_manager.h:36, from src/mongo/db/storage/wiredtiger/wiredtiger_snapshot_manager.cpp:34: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/db/storage/wiredtiger/wiredtiger_size_storer.h:106:12: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/bson/timestamp.h:31, from src/mongo/db/catalog/collection.h:39, from src/mongo/db/exec/idhack.h:33, from src/mongo/db/exec/idhack.cpp:31: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/plan_cache.h:35, from src/mongo/db/catalog/collection_info_cache.h:33, from src/mongo/db/catalog/collection.h:41: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/mongo/db/ttl_collection_cache.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/ttl_collection_cache.cpp src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ ar rcsTD build/fedora/mongo/db/libttl_collection_cache.a build/fedora/mongo/db/ttl_collection_cache.o Skipping ranlib for thin archive build/fedora/mongo/db/libttl_collection_cache.a g++ -o build/fedora/mongo/db/pipeline/aggregation.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/pipeline/aggregation.cpp g++ -o build/fedora/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src10.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -Wno-non-virtual-dtor -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -include js-confdefs.h -Wno-invalid-offsetof -fPIE -DIMPL_MFBT -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=1 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora/third_party/mozjs-45/extract/js/src -Isrc/third_party/mozjs-45/extract/js/src -Ibuild/fedora/third_party/mozjs-45/extract/mfbt -Isrc/third_party/mozjs-45/extract/mfbt -Ibuild/fedora/third_party/mozjs-45/extract/intl/icu/source/common -Isrc/third_party/mozjs-45/extract/intl/icu/source/common -Ibuild/fedora/third_party/mozjs-45/include -Isrc/third_party/mozjs-45/include -Ibuild/fedora/third_party/mozjs-45/mongo_sources -Isrc/third_party/mozjs-45/mongo_sources -Ibuild/fedora/third_party/mozjs-45/platform/x86_64/linux/build -Isrc/third_party/mozjs-45/platform/x86_64/linux/build -Ibuild/fedora/third_party/mozjs-45/platform/x86_64/linux/include -Isrc/third_party/mozjs-45/platform/x86_64/linux/include src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src10.cpp In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jit/JitFrames.h:12, from src/third_party/mozjs-45/extract/js/src/jit/BaselineFrame.h:10, from src/third_party/mozjs-45/extract/js/src/jit/BaselineFrameInfo.h:12, from src/third_party/mozjs-45/extract/js/src/jit/BaselineFrameInfo.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src10.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1040:19: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 1040 | memcpy(&elements_[dstStart], src, count * sizeof(HeapSlot)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:22: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here 650 | class HeapSlot : public WriteBarrieredBase | ^~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1048:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 1048 | memcpy(&elements_[dstStart], src, count * sizeof(HeapSlot)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here 650 | class HeapSlot : public WriteBarrieredBase | ^~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1082:20: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 1082 | memmove(elements_ + dstStart, elements_ + srcStart, count * sizeof(HeapSlot)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here 650 | class HeapSlot : public WriteBarrieredBase | ^~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1094:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 1094 | memmove(elements_ + dstStart, elements_ + srcStart, count * sizeof(Value)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here 650 | class HeapSlot : public WriteBarrieredBase | ^~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, unsigned int, mongo::StringMapTraits>': src/mongo/db/op_observer.h:310:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ProjectionExec*, mongo::StringMapTraits>': src/mongo/db/exec/projection_exec.h:149:14: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ProjectionExec*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ProjectionExec*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ProjectionExec*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ProjectionExec*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::MatchExpression*, mongo::StringMapTraits>': src/mongo/db/exec/projection_exec.h:162:14: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::MatchExpression*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::MatchExpression*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::MatchExpression*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::MatchExpression*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ProjectionExec::MetaProjection, mongo::StringMapTraits>': src/mongo/db/exec/projection_exec.h:173:13: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ProjectionExec::MetaProjection; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ProjectionExec::MetaProjection; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ProjectionExec::MetaProjection; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ProjectionExec::MetaProjection; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, bool, mongo::StringMapTraits>': src/mongo/db/exec/projection.h:134:14: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = bool; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = bool; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = bool; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = bool; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/Interpreter-inl.h:20, from src/third_party/mozjs-45/extract/js/src/jit/BaselineIC.cpp:39, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src10.cpp:11: src/third_party/mozjs-45/extract/js/src/jsobjinlines.h: In static member function 'static JSObject* JSObject::create(js::ExclusiveContext*, js::gc::AllocKind, js::gc::InitialHeap, js::HandleShape, js::HandleObjectGroup)': src/third_party/mozjs-45/extract/js/src/jsobjinlines.h:355:15: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::HeapSlot'; use assignment instead [-Wclass-memaccess] 355 | memset(obj->as().fixedSlots(), 0, size - sizeof(js::NativeObject)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here 650 | class HeapSlot : public WriteBarrieredBase | ^~~~~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/TraceableVector.h:12, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:14: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': src/third_party/mozjs-45/include/js/MemoryMetrics.h:40:34: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/gc/StoreBuffer.h:18, from src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:13: src/third_party/mozjs-45/include/js/MemoryMetrics.h:31:8: note: 'struct JS::TabSizes' declared here 31 | struct TabSizes | ^~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::ServoSizes]': src/third_party/mozjs-45/include/js/MemoryMetrics.h:71:36: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::ServoSizes'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/MemoryMetrics.h:59:8: note: 'struct JS::ServoSizes' declared here 59 | struct ServoSizes | ^~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JSSubString]': src/third_party/mozjs-45/extract/js/src/jsstr.h:73:37: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JSSubString'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/TraceLoggingTypes.h:11, from src/third_party/mozjs-45/extract/js/src/vm/TraceLoggingGraph.h:15, from src/third_party/mozjs-45/extract/js/src/vm/TraceLogging.h:19, from src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:22, from src/third_party/mozjs-45/extract/js/src/jsscript.h:24: src/third_party/mozjs-45/extract/js/src/jsstr.h:68:8: note: 'struct JSSubString' declared here 68 | struct JSSubString { | ^~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::PreliminaryObjectArray]': src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:808:25: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::PreliminaryObjectArray'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:23: src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:796:7: note: 'class js::PreliminaryObjectArray' declared here 796 | class PreliminaryObjectArray | ^~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::TypeNewScript]': src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:939:39: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::TypeNewScript' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:886:7: note: 'class js::TypeNewScript' declared here 886 | class TypeNewScript | ^~~~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:699:25: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:686:8: note: 'struct js::jit::IonScriptCounts' declared here 686 | struct IonScriptCounts | ^~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': src/third_party/mozjs-45/extract/js/src/vm/String.h:1092:25: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/Shape.h:32, from src/third_party/mozjs-45/extract/js/src/jsobj.h:27, from src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:16: src/third_party/mozjs-45/extract/js/src/vm/String.h:1074:7: note: 'class js::StaticStrings' declared here 1074 | class StaticStrings | ^~~~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': src/third_party/mozjs-45/extract/js/src/vm/Shape.h:392:25: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/Shape.h:323:7: note: 'class js::BaseShape' declared here 323 | class BaseShape : public gc::TenuredCell | ^~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:293:40: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:244:7: note: 'class js::NewObjectCache' declared here 244 | class NewObjectCache | ^~~~~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::Address]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:290:33: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::Address'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/Safepoints.h:12, from src/third_party/mozjs-45/extract/js/src/jit/JitFrames.h:16: src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:282:8: note: 'struct js::jit::Address' declared here 282 | struct Address | ^~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::BaseIndex]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:306:35: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::BaseIndex'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:295:8: note: 'struct js::jit::BaseIndex' declared here 295 | struct BaseIndex | ^~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::CodeOffsetJump]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:513:25: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::jit::CodeOffsetJump'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:491:7: note: 'class js::jit::CodeOffsetJump' declared here 491 | class CodeOffsetJump | ^~~~~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::AsmJSModule::StaticLinkData::Pod]': src/third_party/mozjs-45/extract/js/src/asmjs/AsmJSModule.h:681:44: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::AsmJSModule::StaticLinkData::Pod'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/BaselineJIT.cpp:11, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src10.cpp:29: src/third_party/mozjs-45/extract/js/src/asmjs/AsmJSModule.h:683:16: note: 'struct js::AsmJSModule::StaticLinkData::Pod' declared here 683 | struct Pod { | ^~~ In file included from src/third_party/mozjs-45/include/js/TracingAPI.h:12, from src/third_party/mozjs-45/include/js/TraceableVector.h:13: src/third_party/mozjs-45/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': src/third_party/mozjs-45/include/js/HashTable.h:186:67: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' src/third_party/mozjs-45/extract/js/src/vm/SPSProfiler.h:256:18: required from here src/third_party/mozjs-45/include/js/HashTable.h:1550:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] 1550 | memset(table, 0, sizeof(*table) * capacity()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/HashTable.h:722:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here 722 | class HashTableEntry | ^~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/BitSet.h:12, from src/third_party/mozjs-45/extract/js/src/jit/Safepoints.h:10: src/third_party/mozjs-45/extract/js/src/jit/JitAllocPolicy.h: In instantiation of 'T* js::jit::JitAllocPolicy::maybe_pod_calloc(size_t) [with T = js::detail::HashTableEntry >; size_t = long unsigned int]': src/third_party/mozjs-45/include/js/HashTable.h:1144:54: required from 'static js::detail::HashTable::Entry* js::detail::HashTable::createTable(AllocPolicy&, uint32_t, FailureBehavior) [with T = js::HashMapEntry; HashPolicy = js::HashMap::MapHashPolicy; AllocPolicy = js::jit::JitAllocPolicy; Entry = js::detail::HashTableEntry >; uint32_t = unsigned int]' src/third_party/mozjs-45/include/js/HashTable.h:1212:28: required from 'bool js::detail::HashTable::init(uint32_t) [with T = js::HashMapEntry; HashPolicy = js::HashMap::MapHashPolicy; AllocPolicy = js::jit::JitAllocPolicy; uint32_t = unsigned int]' src/third_party/mozjs-45/include/js/HashTable.h:79:73: required from 'bool js::HashMap::init(uint32_t) [with Key = JS::Value; Value = unsigned int; HashPolicy = js::jit::LIRGraph::ValueHasher; AllocPolicy = js::jit::JitAllocPolicy; uint32_t = unsigned int]' src/third_party/mozjs-45/extract/js/src/jit/LIR.h:1696:37: required from here src/third_party/mozjs-45/extract/js/src/jit/JitAllocPolicy.h:92:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::detail::HashTableEntry >' with no trivial copy-assignment [-Wclass-memaccess] 92 | memset(p, 0, numElems * sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/HashTable.h:722:7: note: 'class js::detail::HashTableEntry >' declared here 722 | class HashTableEntry | ^~~~~~~~~~~~~~ g++ -o build/fedora/mongo/db/s/collection_metadata.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/s/collection_metadata.cpp In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::ObjectGroup*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::jit::ICSetProp_Native::Compiler::getStub(js::jit::ICStubSpace*)' at src/third_party/mozjs-45/extract/js/src/jit/BaselineIC.cpp:8622:51: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'group' in 'MEM[(struct Rooted * *)_25 + 48B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jit/BaselineIC.cpp: In member function 'js::jit::ICSetProp_Native::Compiler::getStub(js::jit::ICStubSpace*)': src/third_party/mozjs-45/extract/js/src/jit/BaselineIC.cpp:8622:23: note: 'group' declared here 8622 | RootedObjectGroup group(cx, obj_->getGroup(cx)); | ^~~~~ src/third_party/mozjs-45/extract/js/src/jit/BaselineIC.cpp:8622:23: note: 'MEM[(struct JSContext * const &)this_13(D) + 16]' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::ObjectGroup*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::jit::ICSetElemDenseOrUnboxedArrayAddCompiler::getStubSpecific<0ul>(js::jit::ICStubSpace*, JS::Handle > >)js::jit::ICUpdatedStub*' at src/third_party/mozjs-45/extract/js/src/jit/BaselineIC.cpp:8485:23: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'group' in 'MEM[(struct Rooted * *)_15 + 48B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jit/BaselineIC.cpp: In member function 'js::jit::ICSetElemDenseOrUnboxedArrayAddCompiler::getStubSpecific<0ul>(js::jit::ICStubSpace*, JS::Handle > >)js::jit::ICUpdatedStub*': src/third_party/mozjs-45/extract/js/src/jit/BaselineIC.cpp:8485:23: note: 'group' declared here 8485 | RootedObjectGroup group(cx, obj_->getGroup(cx)); | ^~~~~ src/third_party/mozjs-45/extract/js/src/jit/BaselineIC.cpp:8485:23: note: 'MEM[(struct JSContext * const &)this_7(D) + 16]' declared here g++ -o build/fedora/mongo/db/dbmessage.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/dbmessage.cpp In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::ObjectGroup*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::jit::ICSetElemDenseOrUnboxedArrayAddCompiler::getStubSpecific<1ul>(js::jit::ICStubSpace*, JS::Handle > >)js::jit::ICUpdatedStub*' at src/third_party/mozjs-45/extract/js/src/jit/BaselineIC.cpp:8485:23: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'group' in 'MEM[(struct Rooted * *)_15 + 48B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jit/BaselineIC.cpp: In member function 'js::jit::ICSetElemDenseOrUnboxedArrayAddCompiler::getStubSpecific<1ul>(js::jit::ICStubSpace*, JS::Handle > >)js::jit::ICUpdatedStub*': src/third_party/mozjs-45/extract/js/src/jit/BaselineIC.cpp:8485:23: note: 'group' declared here 8485 | RootedObjectGroup group(cx, obj_->getGroup(cx)); | ^~~~~ src/third_party/mozjs-45/extract/js/src/jit/BaselineIC.cpp:8485:23: note: 'MEM[(struct JSContext * const &)this_7(D) + 16]' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::ObjectGroup*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::jit::ICSetElemDenseOrUnboxedArrayAddCompiler::getStubSpecific<2ul>(js::jit::ICStubSpace*, JS::Handle > >)js::jit::ICUpdatedStub*' at src/third_party/mozjs-45/extract/js/src/jit/BaselineIC.cpp:8485:23: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'group' in 'MEM[(struct Rooted * *)_15 + 48B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jit/BaselineIC.cpp: In member function 'js::jit::ICSetElemDenseOrUnboxedArrayAddCompiler::getStubSpecific<2ul>(js::jit::ICStubSpace*, JS::Handle > >)js::jit::ICUpdatedStub*': src/third_party/mozjs-45/extract/js/src/jit/BaselineIC.cpp:8485:23: note: 'group' declared here 8485 | RootedObjectGroup group(cx, obj_->getGroup(cx)); | ^~~~~ src/third_party/mozjs-45/extract/js/src/jit/BaselineIC.cpp:8485:23: note: 'MEM[(struct JSContext * const &)this_7(D) + 16]' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::ObjectGroup*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::jit::ICSetElemDenseOrUnboxedArrayAddCompiler::getStubSpecific<3ul>(js::jit::ICStubSpace*, JS::Handle > >)js::jit::ICUpdatedStub*' at src/third_party/mozjs-45/extract/js/src/jit/BaselineIC.cpp:8485:23: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'group' in 'MEM[(struct Rooted * *)_15 + 48B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jit/BaselineIC.cpp: In member function 'js::jit::ICSetElemDenseOrUnboxedArrayAddCompiler::getStubSpecific<3ul>(js::jit::ICStubSpace*, JS::Handle > >)js::jit::ICUpdatedStub*': src/third_party/mozjs-45/extract/js/src/jit/BaselineIC.cpp:8485:23: note: 'group' declared here 8485 | RootedObjectGroup group(cx, obj_->getGroup(cx)); | ^~~~~ src/third_party/mozjs-45/extract/js/src/jit/BaselineIC.cpp:8485:23: note: 'MEM[(struct JSContext * const &)this_7(D) + 16]' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::ObjectGroup*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::jit::ICSetElemDenseOrUnboxedArrayAddCompiler::getStubSpecific<4ul>(js::jit::ICStubSpace*, JS::Handle > >)js::jit::ICUpdatedStub*' at src/third_party/mozjs-45/extract/js/src/jit/BaselineIC.cpp:8485:23: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'group' in 'MEM[(struct Rooted * *)_15 + 48B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jit/BaselineIC.cpp: In member function 'js::jit::ICSetElemDenseOrUnboxedArrayAddCompiler::getStubSpecific<4ul>(js::jit::ICStubSpace*, JS::Handle > >)js::jit::ICUpdatedStub*': src/third_party/mozjs-45/extract/js/src/jit/BaselineIC.cpp:8485:23: note: 'group' declared here 8485 | RootedObjectGroup group(cx, obj_->getGroup(cx)); | ^~~~~ src/third_party/mozjs-45/extract/js/src/jit/BaselineIC.cpp:8485:23: note: 'MEM[(struct JSContext * const &)this_7(D) + 16]' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::ObjectGroup*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::jit::ICSetPropNativeAddCompiler::getStubSpecific<0ul>(js::jit::ICStubSpace*, JS::Handle > >)js::jit::ICUpdatedStub*' at src/third_party/mozjs-45/extract/js/src/jit/BaselineIC.h:2089:27: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'newGroup' in 'MEM[(struct Rooted * *)_19 + 48B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/BaselineIC.cpp:7: src/third_party/mozjs-45/extract/js/src/jit/BaselineIC.h: In member function 'js::jit::ICSetPropNativeAddCompiler::getStubSpecific<0ul>(js::jit::ICStubSpace*, JS::Handle > >)js::jit::ICUpdatedStub*': src/third_party/mozjs-45/extract/js/src/jit/BaselineIC.h:2089:27: note: 'newGroup' declared here 2089 | RootedObjectGroup newGroup(cx, obj_->getGroup(cx)); | ^~~~~~~~ src/third_party/mozjs-45/extract/js/src/jit/BaselineIC.h:2089:27: note: 'MEM[(struct JSContext * const &)this_12(D) + 16]' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::ObjectGroup*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::jit::ICSetPropNativeAddCompiler::getStubSpecific<1ul>(js::jit::ICStubSpace*, JS::Handle > >)js::jit::ICUpdatedStub*' at src/third_party/mozjs-45/extract/js/src/jit/BaselineIC.h:2089:27: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'newGroup' in 'MEM[(struct Rooted * *)_19 + 48B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jit/BaselineIC.h: In member function 'js::jit::ICSetPropNativeAddCompiler::getStubSpecific<1ul>(js::jit::ICStubSpace*, JS::Handle > >)js::jit::ICUpdatedStub*': src/third_party/mozjs-45/extract/js/src/jit/BaselineIC.h:2089:27: note: 'newGroup' declared here 2089 | RootedObjectGroup newGroup(cx, obj_->getGroup(cx)); | ^~~~~~~~ src/third_party/mozjs-45/extract/js/src/jit/BaselineIC.h:2089:27: note: 'MEM[(struct JSContext * const &)this_12(D) + 16]' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::ObjectGroup*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::jit::ICSetPropNativeAddCompiler::getStubSpecific<2ul>(js::jit::ICStubSpace*, JS::Handle > >)js::jit::ICUpdatedStub*' at src/third_party/mozjs-45/extract/js/src/jit/BaselineIC.h:2089:27: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'newGroup' in 'MEM[(struct Rooted * *)_19 + 48B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jit/BaselineIC.h: In member function 'js::jit::ICSetPropNativeAddCompiler::getStubSpecific<2ul>(js::jit::ICStubSpace*, JS::Handle > >)js::jit::ICUpdatedStub*': src/third_party/mozjs-45/extract/js/src/jit/BaselineIC.h:2089:27: note: 'newGroup' declared here 2089 | RootedObjectGroup newGroup(cx, obj_->getGroup(cx)); | ^~~~~~~~ src/third_party/mozjs-45/extract/js/src/jit/BaselineIC.h:2089:27: note: 'MEM[(struct JSContext * const &)this_12(D) + 16]' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::ObjectGroup*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::jit::ICSetPropNativeAddCompiler::getStubSpecific<3ul>(js::jit::ICStubSpace*, JS::Handle > >)js::jit::ICUpdatedStub*' at src/third_party/mozjs-45/extract/js/src/jit/BaselineIC.h:2089:27: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'newGroup' in 'MEM[(struct Rooted * *)_19 + 48B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jit/BaselineIC.h: In member function 'js::jit::ICSetPropNativeAddCompiler::getStubSpecific<3ul>(js::jit::ICStubSpace*, JS::Handle > >)js::jit::ICUpdatedStub*': src/third_party/mozjs-45/extract/js/src/jit/BaselineIC.h:2089:27: note: 'newGroup' declared here 2089 | RootedObjectGroup newGroup(cx, obj_->getGroup(cx)); | ^~~~~~~~ src/third_party/mozjs-45/extract/js/src/jit/BaselineIC.h:2089:27: note: 'MEM[(struct JSContext * const &)this_12(D) + 16]' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::ObjectGroup*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::jit::ICSetPropNativeAddCompiler::getStubSpecific<4ul>(js::jit::ICStubSpace*, JS::Handle > >)js::jit::ICUpdatedStub*' at src/third_party/mozjs-45/extract/js/src/jit/BaselineIC.h:2089:27: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'newGroup' in 'MEM[(struct Rooted * *)_19 + 48B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jit/BaselineIC.h: In member function 'js::jit::ICSetPropNativeAddCompiler::getStubSpecific<4ul>(js::jit::ICStubSpace*, JS::Handle > >)js::jit::ICUpdatedStub*': src/third_party/mozjs-45/extract/js/src/jit/BaselineIC.h:2089:27: note: 'newGroup' declared here 2089 | RootedObjectGroup newGroup(cx, obj_->getGroup(cx)); | ^~~~~~~~ src/third_party/mozjs-45/extract/js/src/jit/BaselineIC.h:2089:27: note: 'MEM[(struct JSContext * const &)this_12(D) + 16]' declared here g++ -o build/fedora/third_party/icu4c-57.1/source/i18n/windtfmt.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/windtfmt.cpp g++ -o build/fedora/third_party/icu4c-57.1/source/i18n/coleitr.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/coleitr.cpp g++ -o build/fedora/mongo/logger/log_component.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/logger/log_component.cpp g++ -o build/fedora/mongo/s/config_server_client.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/s/config_server_client.cpp In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::jit::DoSetElemFallback(JSContext*, js::jit::BaselineFrame*, js::jit::ICSetElem_Fallback*, JS::Value*, JS::Handle, JS::Handle, JS::Handle)' at src/third_party/mozjs-45/extract/js/src/jit/BaselineIC.cpp:2747:53: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'obj' in 'MEM[(struct Rooted * *)cx_554(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jit/BaselineIC.cpp: In function 'js::jit::DoSetElemFallback(JSContext*, js::jit::BaselineFrame*, js::jit::ICSetElem_Fallback*, JS::Value*, JS::Handle, JS::Handle, JS::Handle)': src/third_party/mozjs-45/extract/js/src/jit/BaselineIC.cpp:2747:18: note: 'obj' declared here 2747 | RootedObject obj(cx, ToObjectFromStack(cx, objv)); | ^~~ src/third_party/mozjs-45/extract/js/src/jit/BaselineIC.cpp:2747:18: note: 'cx_554(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(js::ExclusiveContext* const&, js::Shape*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::EmptyShape::ensureInitialCustomShape(js::ExclusiveContext*, JS::Handle)bool' at src/third_party/mozjs-45/extract/js/src/vm/Shape-inl.h:113:17, inlined from 'js::StringObject::init(JSContext*, JS::Handle)' at src/third_party/mozjs-45/extract/js/src/vm/StringObject-inl.h:25:60, inlined from 'js::StringObject::create(JSContext*, JS::Handle, JS::Handle, js::NewObjectKind)' at src/third_party/mozjs-45/extract/js/src/vm/StringObject-inl.h:42:22: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'shape' in 'MEM[(struct Rooted * *)cx_27(D) + 32B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsscriptinlines.h:19, from src/third_party/mozjs-45/extract/js/src/jit/BaselineIC.cpp:34: src/third_party/mozjs-45/extract/js/src/vm/Shape-inl.h: In function 'js::StringObject::create(JSContext*, JS::Handle, JS::Handle, js::NewObjectKind)': src/third_party/mozjs-45/extract/js/src/vm/Shape-inl.h:113:17: note: 'shape' declared here 113 | RootedShape shape(cx, ObjectSubclass::assignInitialShape(cx, obj)); | ^~~~~ src/third_party/mozjs-45/extract/js/src/vm/Shape-inl.h:113:17: note: 'cx_27(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JS::Value&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::jit::TryAttachCallStub(JSContext*, js::jit::ICCall_Fallback*, JS::Handle, unsigned char*, JSOp, unsigned int, JS::Value*, bool, bool, bool, bool*) [clone .constprop.0]' at src/third_party/mozjs-45/extract/js/src/jit/BaselineIC.cpp:5790:32: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'thisv' in 'MEM[(struct Rooted * *)cx_10(D) + 104B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jit/BaselineIC.cpp: In function 'js::jit::TryAttachCallStub(JSContext*, js::jit::ICCall_Fallback*, JS::Handle, unsigned char*, JSOp, unsigned int, JS::Value*, bool, bool, bool, bool*) [clone .constprop.0]': src/third_party/mozjs-45/extract/js/src/jit/BaselineIC.cpp:5790:17: note: 'thisv' declared here 5790 | RootedValue thisv(cx, vp[1]); | ^~~~~ src/third_party/mozjs-45/extract/js/src/jit/BaselineIC.cpp:5790:17: note: 'cx_10(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::jit::DoSetPropFallback(JSContext*, js::jit::BaselineFrame*, js::jit::ICSetProp_Fallback*, JS::Handle, JS::Handle, JS::MutableHandle)' at src/third_party/mozjs-45/extract/js/src/jit/BaselineIC.cpp:4732:52: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'obj' in 'MEM[(struct Rooted * *)cx_444(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jit/BaselineIC.cpp: In function 'js::jit::DoSetPropFallback(JSContext*, js::jit::BaselineFrame*, js::jit::ICSetProp_Fallback*, JS::Handle, JS::Handle, JS::MutableHandle)': src/third_party/mozjs-45/extract/js/src/jit/BaselineIC.cpp:4732:18: note: 'obj' declared here 4732 | RootedObject obj(cx, ToObjectFromStack(cx, lhs)); | ^~~ src/third_party/mozjs-45/extract/js/src/jit/BaselineIC.cpp:4732:18: note: 'cx_444(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::PropertyName*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::jit::TryAttachNativeGetAccessorElemStub(JSContext*, JS::Handle, unsigned char*, js::jit::ICGetElem_Fallback*, JS::Handle, JS::Handle, bool*, bool*)bool' at src/third_party/mozjs-45/extract/js/src/jit/BaselineIC.cpp:1476:15, inlined from 'js::jit::DoGetElemFallback(JSContext*, js::jit::BaselineFrame*, js::jit::ICGetElem_Fallback*, JS::Handle, JS::Handle, JS::MutableHandle)' at src/third_party/mozjs-45/extract/js/src/jit/BaselineIC.cpp:1790:67: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'key' in 'MEM[(struct Rooted * *)cx_621(D) + 56B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jit/BaselineIC.cpp: In function 'js::jit::DoGetElemFallback(JSContext*, js::jit::BaselineFrame*, js::jit::ICGetElem_Fallback*, JS::Handle, JS::Handle, JS::MutableHandle)': src/third_party/mozjs-45/extract/js/src/jit/BaselineIC.cpp:1476:15: note: 'key' declared here 1476 | Rooted key(cx, getKey(id)); | ^~~ src/third_party/mozjs-45/extract/js/src/jit/BaselineIC.cpp:1476:15: note: 'cx_621(D)' declared here g++ -o build/fedora/mongo/util/tcmalloc_server_status_section.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/asio-master/asio/include -Ibuild/fedora -Isrc src/mongo/util/tcmalloc_server_status_section.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/db/commands/server_status.h:33, from src/mongo/util/tcmalloc_server_status_section.cpp:40: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/bson/mutable/element.h:34, from src/mongo/db/auth/privilege.h:32, from src/mongo/db/commands.h:39: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/mongo/db/repl/reporter.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/repl/reporter.cpp src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/third_party/icu4c-57.1/source/common/ucnv_ext.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/ucnv_ext.cpp g++ -o build/fedora/mongo/db/exec/count_scan.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/exec/count_scan.cpp In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/exec/count_scan.h:35, from src/mongo/db/exec/count_scan.cpp:29: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/db/exec/plan_stats.h:38, from src/mongo/db/exec/plan_stage.h:34, from src/mongo/db/exec/count_scan.h:32: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ gcc -o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_to_uint16.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -DUSE_COMPILER_F80_TYPE=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -Dlinux=1 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_to_uint16.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C g++ -o build/fedora/mongo/base/shim.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/base/shim.cpp src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/db/curop.h:35, from src/mongo/db/concurrency/write_conflict_exception.h:36, from src/mongo/db/exec/count_scan.cpp:32: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/mongo/db/query/find_and_modify_request.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/query/find_and_modify_request.cpp src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/mongo/db/exec/limit.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/exec/limit.cpp In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call ar rcsTD build/fedora/mongo/db/libdbmessage.a build/fedora/mongo/db/dbmessage.o Skipping ranlib for thin archive build/fedora/mongo/db/libdbmessage.a g++ -o build/fedora/mongo/db/repl/repl_set_request_votes.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/repl/repl_set_request_votes.cpp g++ -o build/fedora/mongo/db/repl/replication_info.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/repl/replication_info.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/db/repl/repl_set_command.h:33, from src/mongo/db/repl/repl_set_request_votes.cpp:34: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/bson/timestamp.h:31, from src/mongo/db/repl/optime.h:33, from src/mongo/db/namespace_string.h:38, from src/mongo/db/client.h:43, from src/mongo/db/repl/repl_set_request_votes.cpp:31: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/db/auth/sasl_mechanism_registry.h:37, from src/mongo/db/repl/replication_info.cpp:36: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/client/connection_string.h:38, from src/mongo/client/dbclientinterface.h:34, from src/mongo/client/connpool.h:35, from src/mongo/db/repl/replication_info.cpp:35: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ 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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ 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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ 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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, unsigned int, mongo::StringMapTraits>': src/mongo/db/op_observer.h:310:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long unsigned int, mongo::StringMapTraits>': src/mongo/db/views/view_graph.h:177:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/db/views/view_catalog.h:174:13: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Collection*, mongo::StringMapTraits>': src/mongo/db/catalog/database.h:165:38: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Top::CollectionData, mongo::StringMapTraits>': src/mongo/db/stats/top.h:150:14: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call g++ -o build/fedora/mongo/db/exec/count.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/exec/count.cpp In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/db/exec/plan_stats.h:38, from src/mongo/db/exec/plan_stage.h:34, from src/mongo/db/exec/count.h:32, from src/mongo/db/exec/count.cpp:31: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/plan_cache.h:35, from src/mongo/db/catalog/collection_info_cache.h:33, from src/mongo/db/catalog/collection.h:41, from src/mongo/db/exec/count.cpp:33: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, unsigned int, mongo::StringMapTraits>': src/mongo/db/op_observer.h:310:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call gcc -o build/fedora/third_party/wiredtiger/src/btree/row_modify.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/fedora/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/fedora/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/fedora/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/btree/row_modify.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C ar rcsTD build/fedora/mongo/s/catalog/libsharding_catalog_client_impl.a build/fedora/mongo/s/catalog/sharding_catalog_client_impl.o Skipping ranlib for thin archive build/fedora/mongo/s/catalog/libsharding_catalog_client_impl.a g++ -o build/fedora/mongo/db/repl/repl_settings_init.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/repl/repl_settings_init.cpp g++ -o build/fedora/mongo/db/ftdc/decompressor.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/ftdc/decompressor.cpp g++ -o build/fedora/mongo/db/storage/storage_repair_observer.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/storage/storage_repair_observer.cpp g++ -o build/fedora/mongo/s/catalog/type_database.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/s/catalog/type_database.cpp In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from build/fedora/mongo/db/logical_session_id_gen.h:16, from src/mongo/db/logical_session_id.h:34, from src/mongo/db/service_context.h:36, from src/mongo/db/storage/storage_repair_observer.h:36, from src/mongo/db/storage/storage_repair_observer.cpp:31: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::repl::ReplSetTagPattern, mongo::StringMapTraits>': src/mongo/db/repl/repl_set_config.h:402:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::repl::ReplSetTagPattern; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::repl::ReplSetTagPattern; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::repl::ReplSetTagPattern; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::repl::ReplSetTagPattern; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/mongo/db/repl/replication_recovery.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/repl/replication_recovery.cpp g++ -o build/fedora/third_party/icu4c-57.1/source/i18n/plurrule.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/plurrule.cpp g++ -o build/fedora/mongo/db/auth/sasl_options.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/auth/sasl_options.cpp In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/bson/timestamp.h:31, from src/mongo/db/repl/optime.h:33, from src/mongo/db/repl/replication_recovery.h:33, from src/mongo/db/repl/replication_recovery.cpp:34: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/plan_cache.h:35, from src/mongo/db/catalog/collection_info_cache.h:33, from src/mongo/db/catalog/collection.h:41, from src/mongo/db/catalog_raii.h:32, from src/mongo/db/db_raii.h:33, from src/mongo/db/repl/replication_recovery.cpp:37: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, unsigned int, mongo::StringMapTraits>': src/mongo/db/op_observer.h:310:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long unsigned int, mongo::StringMapTraits>': src/mongo/db/views/view_graph.h:177:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/db/views/view_catalog.h:174:13: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Collection*, mongo::StringMapTraits>': src/mongo/db/catalog/database.h:165:38: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Top::CollectionData, mongo::StringMapTraits>': src/mongo/db/stats/top.h:150:14: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from /usr/include/string.h:535, from /usr/include/c++/12/cstring:42, from src/mongo/base/string_data.h:33, from build/fedora/mongo/base/error_codes.h:35, from src/mongo/base/status.h:33, from src/mongo/db/auth/sasl_options.h:35, from src/mongo/db/auth/sasl_options.cpp:31: In function 'memcpy', inlined from 'mongo::StringData::copyTo(char*, bool) const' at src/mongo/base/string_data.h:266:15, inlined from 'mongo::StringBuilderImpl::append(mongo::StringData)' at src/mongo/bson/util/builder.h:484:19, inlined from 'mongo::StringBuilderImpl::appendIntegral(int, int)mongo::StringBuilderImpl&' at src/mongo/bson/util/builder.h:518:19, inlined from 'mongo::StringBuilderImpl::appendIntegral(int, int)mongo::StringBuilderImpl&' at src/mongo/bson/util/builder.h:512:24, inlined from 'mongo::StringBuilderImpl::operator<<(int)' at src/mongo/bson/util/builder.h:402:30, inlined from 'mongo::BSONObjBuilder::numStr[abi:cxx11](int)' at src/mongo/bson/bsonobjbuilder.h:719:14, inlined from 'mongo::BSONObjBuilder::append, std::allocator > >(mongo::StringData, std::vector, std::allocator >, std::allocator, std::allocator > > > const&)mongo::BSONObjBuilder& [clone .isra.0]' at src/mongo/bson/bsonobjbuilder.h:958:26: /usr/include/bits/string_fortified.h:29:33: warning: 'memcpy' offset [0, 511] is out of the bounds [0, 0] [-Warray-bounds] 29 | return __builtin___memcpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 30 | __glibc_objsize0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call gcc -o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_scalb.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -DUSE_COMPILER_F80_TYPE=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -Dlinux=1 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_scalb.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C g++ -o build/fedora/mongo/util/safe_num.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/asio-master/asio/include -Ibuild/fedora -Isrc src/mongo/util/safe_num.cpp gcc -o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_cos.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -DUSE_COMPILER_F80_TYPE=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -Dlinux=1 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_cos.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C g++ -o build/fedora/mongo/db/repl/elect_cmd_runner.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/repl/elect_cmd_runner.cpp ar rcsTD build/fedora/mongo/db/repl/libreplication_recovery.a build/fedora/mongo/db/repl/replication_recovery.o Skipping ranlib for thin archive build/fedora/mongo/db/repl/libreplication_recovery.a g++ -o build/fedora/third_party/icu4c-57.1/source/common/unormcmp.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/unormcmp.cpp In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/oid.h:34, from src/mongo/db/repl/elect_cmd_runner.h:34, from src/mongo/db/repl/elect_cmd_runner.cpp:33: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::repl::ReplSetTagPattern, mongo::StringMapTraits>': src/mongo/db/repl/repl_set_config.h:402:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::repl::ReplSetTagPattern; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::repl::ReplSetTagPattern; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::repl::ReplSetTagPattern; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::repl::ReplSetTagPattern; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ gcc -o build/fedora/third_party/icu4c-57.1/source/common/uhash.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/uhash.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C g++ -o build/fedora/mongo/db/auth/authz_manager_external_state_d.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/auth/authz_manager_external_state_d.cpp g++ -o build/fedora/mongo/db/fts/stemmer.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/fts/stemmer.cpp In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/db/server_options.h:30, from src/mongo/base/secure_allocator.h:40, from src/mongo/db/auth/authorization_manager.h:35, from src/mongo/db/auth/authz_manager_external_state.h:38, from src/mongo/db/auth/authz_manager_external_state_local.h:35, from src/mongo/db/auth/authz_manager_external_state_d.h:35, from src/mongo/db/auth/authz_manager_external_state_d.cpp:33: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/plan_cache.h:35, from src/mongo/db/catalog/collection_info_cache.h:33, from src/mongo/db/catalog/collection.h:41, from src/mongo/db/catalog_raii.h:32, from src/mongo/db/db_raii.h:33, from src/mongo/db/auth/authz_manager_external_state_d.cpp:40: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ gcc -o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_acos.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -DUSE_COMPILER_F80_TYPE=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -Dlinux=1 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_acos.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C g++ -o build/fedora/mongo/s/query/async_results_merger_params_gen.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc build/fedora/mongo/s/query/async_results_merger_params_gen.cpp src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, unsigned int, mongo::StringMapTraits>': src/mongo/db/op_observer.h:310:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long unsigned int, mongo::StringMapTraits>': src/mongo/db/views/view_graph.h:177:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/db/views/view_catalog.h:174:13: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Collection*, mongo::StringMapTraits>': src/mongo/db/catalog/database.h:165:38: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Top::CollectionData, mongo::StringMapTraits>': src/mongo/db/stats/top.h:150:14: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/query_solution.h:36, from src/mongo/db/query/plan_executor.h:37, from src/mongo/db/clientcursor.h:38, from src/mongo/db/query/cursor_response.h:36, from build/fedora/mongo/s/query/async_results_merger_params_gen.h:23, from build/fedora/mongo/s/query/async_results_merger_params_gen.cpp:9: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from build/fedora/mongo/s/query/async_results_merger_params_gen.h:16: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36, from src/mongo/db/query/plan_cache.h:35, from src/mongo/db/query/query_solution.h:38: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call g++ -o build/fedora/mongo/s/query/async_results_merger.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/s/query/async_results_merger.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/query_solution.h:36, from src/mongo/db/query/plan_executor.h:37, from src/mongo/db/clientcursor.h:38, from src/mongo/db/query/cursor_response.h:36, from build/fedora/mongo/s/query/async_results_merger_params_gen.h:23, from src/mongo/s/query/async_results_merger.h:40, from src/mongo/s/query/async_results_merger.cpp:33: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ g++ -o build/fedora/mongo/s/query/establish_cursors.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/s/query/establish_cursors.cpp In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/bson/bsonobj.h:44, from src/mongo/s/query/async_results_merger.h:37: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36, from src/mongo/db/query/plan_cache.h:35, from src/mongo/db/query/query_solution.h:38: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/s/query/async_results_merger.cpp: In static member function 'static mongo::StatusWith mongo::AsyncResultsMerger::_parseCursorResponse(const mongo::BSONObj&, const RemoteCursorData&)': src/mongo/s/query/async_results_merger.cpp:479:21: warning: redundant move in return statement [-Wredundant-move] 479 | return std::move(cursorResponse); | ~~~~~~~~~^~~~~~~~~~~~~~~~ src/mongo/s/query/async_results_merger.cpp:479:21: note: remove 'std::move' call In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/query_solution.h:36, from src/mongo/db/query/plan_executor.h:37, from src/mongo/db/clientcursor.h:38, from src/mongo/db/query/cursor_response.h:36, from build/fedora/mongo/s/query/async_results_merger_params_gen.h:23, from src/mongo/s/query/establish_cursors.h:39, from src/mongo/s/query/establish_cursors.cpp:33: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/bson/bsonobj.h:44, from src/mongo/s/query/establish_cursors.h:36: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36, from src/mongo/db/query/plan_cache.h:35, from src/mongo/db/query/query_solution.h:38: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call g++ -o build/fedora/mongo/util/background.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/asio-master/asio/include -Ibuild/fedora -Isrc src/mongo/util/background.cpp ar rcsTD build/fedora/mongo/s/query/libasync_results_merger.a build/fedora/mongo/s/query/async_results_merger.o build/fedora/mongo/s/query/establish_cursors.o build/fedora/mongo/s/query/async_results_merger_params_gen.o Skipping ranlib for thin archive build/fedora/mongo/s/query/libasync_results_merger.a g++ -o build/fedora/mongo/db/repl/sync_source_feedback.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/repl/sync_source_feedback.cpp ar rcsTD build/fedora/mongo/util/libbackground_job.a build/fedora/mongo/util/background.o Skipping ranlib for thin archive build/fedora/mongo/util/libbackground_job.a g++ -o build/fedora/mongo/db/matcher/extensions_callback_real.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/matcher/extensions_callback_real.cpp In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/bson/timestamp.h:31, from src/mongo/db/repl/replication_coordinator.h:36, from src/mongo/db/repl/sync_source_feedback.h:34, from src/mongo/db/repl/sync_source_feedback.cpp:33: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/plan_cache.h:35, from src/mongo/db/catalog/collection_info_cache.h:33, from src/mongo/db/catalog/collection.h:41, from src/mongo/db/repl/storage_interface.h:40, from src/mongo/db/repl/oplog_applier.h:43, from src/mongo/db/repl/data_replicator_external_state.h:34, from src/mongo/db/repl/bgsync.h:36, from src/mongo/db/repl/sync_source_feedback.cpp:36: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/matcher/extensions_callback.h:31, from src/mongo/db/matcher/extensions_callback_real.h:31, from src/mongo/db/matcher/extensions_callback_real.cpp:31: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ 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::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::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/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ 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: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/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/bson/bsonobj.h:44, from src/mongo/db/matcher/expression.h:36: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ 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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ 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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, unsigned int, mongo::StringMapTraits>': src/mongo/db/op_observer.h:310:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::repl::ReplSetTagPattern, mongo::StringMapTraits>': src/mongo/db/repl/repl_set_config.h:402:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::repl::ReplSetTagPattern; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::repl::ReplSetTagPattern; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::repl::ReplSetTagPattern; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::repl::ReplSetTagPattern; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/mongo/db/mongod_options_init.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/db/mongod_options_init.cpp In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call g++ -o build/fedora/third_party/icu4c-57.1/source/i18n/collationdatawriter.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/collationdatawriter.cpp g++ -o build/fedora/mongo/db/s/config/configsvr_move_chunk_command.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/s/config/configsvr_move_chunk_command.cpp g++ -o build/fedora/third_party/icu4c-57.1/source/i18n/regeximp.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/regeximp.cpp g++ -o build/fedora/third_party/shim_timelib.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/timelib-2018.01alpha1 src/third_party/shim_timelib.cpp g++ -o build/fedora/mongo/s/catalog/dist_lock_manager.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/s/catalog/dist_lock_manager.cpp ar rcsTD build/fedora/mongo/s/catalog/libdist_lock_manager.a build/fedora/mongo/s/catalog/dist_lock_manager.o build/fedora/mongo/s/catalog/dist_lock_ping_info.o Skipping ranlib for thin archive build/fedora/mongo/s/catalog/libdist_lock_manager.a g++ -o build/fedora/mongo/db/mongod_options.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/mongod_options.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/db/s/config/configsvr_move_chunk_command.cpp:37: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/bson_extract.h:35, from src/mongo/db/s/config/configsvr_move_chunk_command.cpp:33: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/db/curop.h:35, from src/mongo/db/db.h:36, from src/mongo/db/mongod_options.cpp:42: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/db/repl/repl_settings.h:33, from src/mongo/db/mongod_options.h:34, from src/mongo/db/mongod_options.cpp:31: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/mongo/db/repl/oplog_buffer_proxy.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/repl/oplog_buffer_proxy.cpp In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call ar rcsTD build/fedora/mongo/db/repl/liboplog_buffer_proxy.a build/fedora/mongo/db/repl/oplog_buffer_proxy.o Skipping ranlib for thin archive build/fedora/mongo/db/repl/liboplog_buffer_proxy.a gcc -o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_scalb.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -DUSE_COMPILER_F80_TYPE=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -Dlinux=1 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_scalb.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C g++ -o build/fedora/mongo/db/logical_session_cache_stats_gen.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc build/fedora/mongo/db/logical_session_cache_stats_gen.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from build/fedora/mongo/db/logical_session_cache_stats_gen.cpp:16: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from build/fedora/mongo/db/logical_session_cache_stats_gen.h:16, from build/fedora/mongo/db/logical_session_cache_stats_gen.cpp:9: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/third_party/icu4c-57.1/source/i18n/csrutf8.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/csrutf8.cpp g++ -o build/fedora/third_party/s2/base/stringprintf.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Isrc/third_party/s2 -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/third_party/s2/base/stringprintf.cc In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call g++ -o build/fedora/mongo/db/repl/isself.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/repl/isself.cpp g++ -o build/fedora/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src18.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -Wno-non-virtual-dtor -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -include js-confdefs.h -Wno-invalid-offsetof -fPIE -DIMPL_MFBT -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=1 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora/third_party/mozjs-45/extract/js/src -Isrc/third_party/mozjs-45/extract/js/src -Ibuild/fedora/third_party/mozjs-45/extract/mfbt -Isrc/third_party/mozjs-45/extract/mfbt -Ibuild/fedora/third_party/mozjs-45/extract/intl/icu/source/common -Isrc/third_party/mozjs-45/extract/intl/icu/source/common -Ibuild/fedora/third_party/mozjs-45/include -Isrc/third_party/mozjs-45/include -Ibuild/fedora/third_party/mozjs-45/mongo_sources -Isrc/third_party/mozjs-45/mongo_sources -Ibuild/fedora/third_party/mozjs-45/platform/x86_64/linux/build -Isrc/third_party/mozjs-45/platform/x86_64/linux/build -Ibuild/fedora/third_party/mozjs-45/platform/x86_64/linux/include -Isrc/third_party/mozjs-45/platform/x86_64/linux/include src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src18.cpp In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/jsfun.h:15, from src/third_party/mozjs-45/extract/js/src/jit/CompileInfo.h:10, from src/third_party/mozjs-45/extract/js/src/jit/VMFunctions.h:14, from src/third_party/mozjs-45/extract/js/src/jit/VMFunctions.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src18.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1040:19: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 1040 | memcpy(&elements_[dstStart], src, count * sizeof(HeapSlot)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsobj.h:21, from src/third_party/mozjs-45/extract/js/src/jsfun.h:14: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here 650 | class HeapSlot : public WriteBarrieredBase | ^~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1048:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 1048 | memcpy(&elements_[dstStart], src, count * sizeof(HeapSlot)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here 650 | class HeapSlot : public WriteBarrieredBase | ^~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1082:20: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 1082 | memmove(elements_ + dstStart, elements_ + srcStart, count * sizeof(HeapSlot)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here 650 | class HeapSlot : public WriteBarrieredBase | ^~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1094:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 1094 | memmove(elements_ + dstStart, elements_ + srcStart, count * sizeof(Value)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here 650 | class HeapSlot : public WriteBarrieredBase | ^~~~~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/db/repl/isself.cpp:46: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/oid.h:34, from src/mongo/db/repl/isself.h:34, from src/mongo/db/repl/isself.cpp:33: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/third_party/mozjs-45/extract/js/src/vm/ScopeObject-inl.h:13, from src/third_party/mozjs-45/extract/js/src/jit/BaselineFrame-inl.h:19, from src/third_party/mozjs-45/extract/js/src/jit/VMFunctions.cpp:22: src/third_party/mozjs-45/extract/js/src/jsobjinlines.h: In static member function 'static JSObject* JSObject::create(js::ExclusiveContext*, js::gc::AllocKind, js::gc::InitialHeap, js::HandleShape, js::HandleObjectGroup)': src/third_party/mozjs-45/extract/js/src/jsobjinlines.h:355:15: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::HeapSlot'; use assignment instead [-Wclass-memaccess] 355 | memset(obj->as().fixedSlots(), 0, size - sizeof(js::NativeObject)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here 650 | class HeapSlot : public WriteBarrieredBase | ^~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/extract/js/src/jit/VMFunctions.h:12: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': src/third_party/mozjs-45/include/js/MemoryMetrics.h:40:34: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/gc/StoreBuffer.h:18, from src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:13: src/third_party/mozjs-45/include/js/MemoryMetrics.h:31:8: note: 'struct JS::TabSizes' declared here 31 | struct TabSizes | ^~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::ServoSizes]': src/third_party/mozjs-45/include/js/MemoryMetrics.h:71:36: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::ServoSizes'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/MemoryMetrics.h:59:8: note: 'struct JS::ServoSizes' declared here 59 | struct ServoSizes | ^~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::PreliminaryObjectArray]': src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:808:25: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::PreliminaryObjectArray'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/ObjectGroup.h:16, from src/third_party/mozjs-45/extract/js/src/vm/Shape.h:31, from src/third_party/mozjs-45/extract/js/src/jsobj.h:27: src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:796:7: note: 'class js::PreliminaryObjectArray' declared here 796 | class PreliminaryObjectArray | ^~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::TypeNewScript]': src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:939:39: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::TypeNewScript' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:886:7: note: 'class js::TypeNewScript' declared here 886 | class TypeNewScript | ^~~~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JSSubString]': src/third_party/mozjs-45/extract/js/src/jsstr.h:73:37: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JSSubString'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/String.h:16, from src/third_party/mozjs-45/extract/js/src/vm/Shape.h:32: src/third_party/mozjs-45/extract/js/src/jsstr.h:68:8: note: 'struct JSSubString' declared here 68 | struct JSSubString { | ^~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': src/third_party/mozjs-45/extract/js/src/vm/String.h:1092:25: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/String.h:1074:7: note: 'class js::StaticStrings' declared here 1074 | class StaticStrings | ^~~~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': src/third_party/mozjs-45/extract/js/src/vm/Shape.h:392:25: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/Shape.h:323:7: note: 'class js::BaseShape' declared here 323 | class BaseShape : public gc::TenuredCell | ^~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:699:25: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:24: src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:686:8: note: 'struct js::jit::IonScriptCounts' declared here 686 | struct IonScriptCounts | ^~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:293:40: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jit/JitAllocPolicy.h:13, from src/third_party/mozjs-45/extract/js/src/jit/CompileInfo.h:12: src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:244:7: note: 'class js::NewObjectCache' declared here 244 | class NewObjectCache | ^~~~~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::Address]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:290:33: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::Address'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/Safepoints.h:12, from src/third_party/mozjs-45/extract/js/src/jit/JitFrames.h:16, from src/third_party/mozjs-45/extract/js/src/jit/CompileInfo.h:13: src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:282:8: note: 'struct js::jit::Address' declared here 282 | struct Address | ^~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::BaseIndex]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:306:35: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::BaseIndex'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:295:8: note: 'struct js::jit::BaseIndex' declared here 295 | struct BaseIndex | ^~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::CodeOffsetJump]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:513:25: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::jit::CodeOffsetJump'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:491:7: note: 'class js::jit::CodeOffsetJump' declared here 491 | class CodeOffsetJump | ^~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/include/js/TracingAPI.h:12, from src/third_party/mozjs-45/include/js/TraceableVector.h:13, from src/third_party/mozjs-45/extract/js/src/NamespaceImports.h:16, from src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:10: src/third_party/mozjs-45/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': src/third_party/mozjs-45/include/js/HashTable.h:186:67: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' src/third_party/mozjs-45/extract/js/src/vm/SPSProfiler.h:256:18: required from here src/third_party/mozjs-45/include/js/HashTable.h:1550:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] 1550 | memset(table, 0, sizeof(*table) * capacity()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/HashTable.h:722:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here 722 | class HashTableEntry | ^~~~~~~~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/third_party/mozjs-45/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::jit::MDefinition* const; HashPolicy = js::HashSet::SetOps; AllocPolicy = js::jit::JitAllocPolicy]': src/third_party/mozjs-45/include/js/HashTable.h:424:67: required from 'void js::HashSet::clear() [with T = js::jit::MDefinition*; HashPolicy = js::jit::ValueNumberer::VisibleValues::ValueHasher; AllocPolicy = js::jit::JitAllocPolicy]' src/third_party/mozjs-45/extract/js/src/jit/ValueNumbering.cpp:127:15: required from here src/third_party/mozjs-45/include/js/HashTable.h:1550:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable::SetOps, js::jit::JitAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry'} with no trivial copy-assignment [-Wclass-memaccess] 1550 | memset(table, 0, sizeof(*table) * capacity()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/HashTable.h:722:7: note: 'js::detail::HashTable::SetOps, js::jit::JitAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry'} declared here 722 | class HashTableEntry | ^~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jit/JitAllocPolicy.h: In instantiation of 'T* js::jit::JitAllocPolicy::maybe_pod_calloc(size_t) [with T = js::detail::HashTableEntry >; size_t = long unsigned int]': src/third_party/mozjs-45/include/js/HashTable.h:1144:54: required from 'static js::detail::HashTable::Entry* js::detail::HashTable::createTable(AllocPolicy&, uint32_t, FailureBehavior) [with T = js::HashMapEntry; HashPolicy = js::HashMap::MapHashPolicy; AllocPolicy = js::jit::JitAllocPolicy; Entry = js::detail::HashTableEntry >; uint32_t = unsigned int]' src/third_party/mozjs-45/include/js/HashTable.h:1212:28: required from 'bool js::detail::HashTable::init(uint32_t) [with T = js::HashMapEntry; HashPolicy = js::HashMap::MapHashPolicy; AllocPolicy = js::jit::JitAllocPolicy; uint32_t = unsigned int]' src/third_party/mozjs-45/include/js/HashTable.h:79:73: required from 'bool js::HashMap::init(uint32_t) [with Key = JS::Value; Value = unsigned int; HashPolicy = js::jit::LIRGraph::ValueHasher; AllocPolicy = js::jit::JitAllocPolicy; uint32_t = unsigned int]' src/third_party/mozjs-45/extract/js/src/jit/LIR.h:1696:37: required from here src/third_party/mozjs-45/extract/js/src/jit/JitAllocPolicy.h:92:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::detail::HashTableEntry >' with no trivial copy-assignment [-Wclass-memaccess] 92 | memset(p, 0, numElems * sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/HashTable.h:722:7: note: 'class js::detail::HashTableEntry >' declared here 722 | class HashTableEntry | ^~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jit/JitAllocPolicy.h: In instantiation of 'T* js::jit::JitAllocPolicy::maybe_pod_calloc(size_t) [with T = js::detail::HashTableEntry; size_t = long unsigned int]': src/third_party/mozjs-45/include/js/HashTable.h:1144:54: required from 'static js::detail::HashTable::Entry* js::detail::HashTable::createTable(AllocPolicy&, uint32_t, FailureBehavior) [with T = js::jit::MDefinition* const; HashPolicy = js::HashSet::SetOps; AllocPolicy = js::jit::JitAllocPolicy; Entry = js::detail::HashTableEntry; uint32_t = unsigned int]' src/third_party/mozjs-45/include/js/HashTable.h:1212:28: required from 'bool js::detail::HashTable::init(uint32_t) [with T = js::jit::MDefinition* const; HashPolicy = js::HashSet::SetOps; AllocPolicy = js::jit::JitAllocPolicy; uint32_t = unsigned int]' src/third_party/mozjs-45/include/js/HashTable.h:331:73: required from 'bool js::HashSet::init(uint32_t) [with T = js::jit::MDefinition*; HashPolicy = js::jit::ValueNumberer::VisibleValues::ValueHasher; AllocPolicy = js::jit::JitAllocPolicy; uint32_t = unsigned int]' src/third_party/mozjs-45/extract/js/src/jit/ValueNumbering.cpp:83:21: required from here src/third_party/mozjs-45/extract/js/src/jit/JitAllocPolicy.h:92:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::detail::HashTableEntry' with no trivial copy-assignment [-Wclass-memaccess] 92 | memset(p, 0, numElems * sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/HashTable.h:722:7: note: 'class js::detail::HashTableEntry' declared here 722 | class HashTableEntry | ^~~~~~~~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call In file included from /usr/include/string.h:535, from /usr/include/c++/12/cstring:42, from src/mongo/base/data_range.h:30: In function 'memcpy', inlined from 'mongo::StringData::copyTo(char*, bool) const' at src/mongo/base/string_data.h:266:15, inlined from 'mongo::StringBuilderImpl::append(mongo::StringData)' at src/mongo/bson/util/builder.h:484:19, inlined from 'mongo::StringBuilderImpl::appendIntegral(int, int)mongo::StringBuilderImpl&' at src/mongo/bson/util/builder.h:518:19, inlined from 'mongo::StringBuilderImpl::appendIntegral(int, int)mongo::StringBuilderImpl&' at src/mongo/bson/util/builder.h:512:24, inlined from 'mongo::StringBuilderImpl::operator<<(int)' at src/mongo/bson/util/builder.h:402:30, inlined from 'mongo::BSONObjBuilder::numStr[abi:cxx11](int)' at src/mongo/bson/bsonobjbuilder.h:719:14, inlined from 'mongo::repl::(anonymous namespace)::getAddrsForHost(std::__cxx11::basic_string, std::allocator > const&, int, bool)' at src/mongo/db/repl/isself.cpp:116:60, inlined from 'mongo::repl::isSelf(mongo::HostAndPort const&, mongo::ServiceContext*)' at src/mongo/db/repl/isself.cpp:176:82: /usr/include/bits/string_fortified.h:29:33: warning: 'memcpy' offset [0, 511] is out of the bounds [0, 0] [-Warray-bounds] 29 | return __builtin___memcpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 30 | __glibc_objsize0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -o build/fedora/mongo/s/database_version_helpers.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/s/database_version_helpers.cpp In file included from src/third_party/mozjs-45/include/js/CallArgs.h:38, from src/third_party/mozjs-45/include/js/CallNonGenericMethod.h:12, from src/third_party/mozjs-45/extract/js/src/NamespaceImports.h:15: In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted&>(JSContext* const&, JS::Handle&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::jit::ArrayJoin(JSContext*, JS::Handle, JS::Handle)' at src/third_party/mozjs-45/extract/js/src/jit/VMFunctions.cpp:389:31: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'obj' in 'MEM[(struct Rooted * *)cx_94(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jit/VMFunctions.cpp: In function 'js::jit::ArrayJoin(JSContext*, JS::Handle, JS::Handle)': src/third_party/mozjs-45/extract/js/src/jit/VMFunctions.cpp:389:18: note: 'obj' declared here 389 | RootedObject obj(cx, array); | ^~~ src/third_party/mozjs-45/extract/js/src/jit/VMFunctions.cpp:389:18: note: 'cx_94(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSScript*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::jit::RecompileImpl(JSContext*, bool)' at src/third_party/mozjs-45/extract/js/src/jit/VMFunctions.cpp:1115:42: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'script' in 'MEM[(struct Rooted * *)cx_46(D) + 80B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jit/VMFunctions.cpp: In function 'js::jit::RecompileImpl(JSContext*, bool)': src/third_party/mozjs-45/extract/js/src/jit/VMFunctions.cpp:1115:18: note: 'script' declared here 1115 | RootedScript script(cx, iter.script()); | ^~~~~~ src/third_party/mozjs-45/extract/js/src/jit/VMFunctions.cpp:1115:18: note: 'cx_46(D)' declared here g++ -o build/fedora/mongo/db/catalog/uuid_catalog.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/catalog/uuid_catalog.cpp In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/bson/timestamp.h:31, from src/mongo/db/catalog/collection.h:39, from src/mongo/db/catalog/uuid_catalog.h:34, from src/mongo/db/catalog/uuid_catalog.cpp:32: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/plan_cache.h:35, from src/mongo/db/catalog/collection_info_cache.h:33, from src/mongo/db/catalog/collection.h:41: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(js::ExclusiveContext* const&, js::Shape*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::EmptyShape::ensureInitialCustomShape(js::ExclusiveContext*, JS::Handle)bool' at src/third_party/mozjs-45/extract/js/src/vm/Shape-inl.h:113:17, inlined from 'js::StringObject::init(JSContext*, JS::Handle)' at src/third_party/mozjs-45/extract/js/src/vm/StringObject-inl.h:25:60, inlined from 'js::StringObject::create(JSContext*, JS::Handle, JS::Handle, js::NewObjectKind)' at src/third_party/mozjs-45/extract/js/src/vm/StringObject-inl.h:42:22, inlined from 'js::jit::NewStringObject(JSContext*, JS::Handle)' at src/third_party/mozjs-45/extract/js/src/jit/VMFunctions.cpp:534:32: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'shape' in 'MEM[(struct Rooted * *)cx_2(D) + 32B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsscriptinlines.h:19, from src/third_party/mozjs-45/extract/js/src/jit/BaselineFrame-inl.h:17: src/third_party/mozjs-45/extract/js/src/vm/Shape-inl.h: In function 'js::jit::NewStringObject(JSContext*, JS::Handle)': src/third_party/mozjs-45/extract/js/src/vm/Shape-inl.h:113:17: note: 'shape' declared here 113 | RootedShape shape(cx, ObjectSubclass::assignInitialShape(cx, obj)); | ^~~~~ src/third_party/mozjs-45/extract/js/src/vm/Shape-inl.h:113:17: note: 'cx_2(D)' declared here 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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::ArrayObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::jit::InitRestParameter(JSContext*, unsigned int, JS::Value*, JS::Handle, JS::Handle)' at src/third_party/mozjs-45/extract/js/src/jit/VMFunctions.cpp:911:67: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'arrRes' in 'MEM[(struct Rooted * *)cx_61(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jit/VMFunctions.cpp: In function 'js::jit::InitRestParameter(JSContext*, unsigned int, JS::Value*, JS::Handle, JS::Handle)': src/third_party/mozjs-45/extract/js/src/jit/VMFunctions.cpp:911:30: note: 'arrRes' declared here 911 | Rooted arrRes(cx, &objRes->as()); | ^~~~~~ src/third_party/mozjs-45/extract/js/src/jit/VMFunctions.cpp:911:30: note: 'cx_61(D)' declared here 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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/third_party/icu4c-57.1/source/i18n/cecal.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/cecal.cpp gcc -o build/fedora/third_party/wiredtiger/src/cursor/cur_ds.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/fedora/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/fedora/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/fedora/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/cursor/cur_ds.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ gcc -o build/fedora/third_party/icu4c-57.1/source/common/ucnvlat1.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/ucnvlat1.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C gcc -o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_to_int32.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -DUSE_COMPILER_F80_TYPE=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -Dlinux=1 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_to_int32.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, unsigned int, mongo::StringMapTraits>': src/mongo/db/op_observer.h:310:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::vector, mongo::StringMapTraits>': src/mongo/db/catalog/uuid_catalog.h:234:44: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::vector; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::vector; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::vector; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::vector; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long unsigned int, mongo::StringMapTraits>': src/mongo/db/views/view_graph.h:177:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/db/views/view_catalog.h:174:13: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Collection*, mongo::StringMapTraits>': src/mongo/db/catalog/database.h:165:38: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ gcc -o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_quantexpd.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -DUSE_COMPILER_F80_TYPE=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -Dlinux=1 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_quantexpd.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C g++ -o build/fedora/mongo/util/md5.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/asio-master/asio/include -Ibuild/fedora -Isrc src/mongo/util/md5.cpp gcc -o build/fedora/third_party/timelib-2018.01alpha1/parse_zoneinfo.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -DHAVE_GETTIMEOFDAY -DHAVE_STRING_H -DHAVE_DIRENT_H -DHAVE_SYS_TIME_H -DHAVE_UNISTD_H -D_GNU_SOURCE -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/timelib-2018.01alpha1 src/third_party/timelib-2018.01alpha1/parse_zoneinfo.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C src/third_party/timelib-2018.01alpha1/parse_zoneinfo.c: In function 'create_zone_index': src/third_party/timelib-2018.01alpha1/parse_zoneinfo.c:118:47: warning: '__snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] 118 | snprintf(fname, sizeof(fname), "%s%s%s", directory, TIMELIB_DIR_SEPARATOR, timezone /* canonical_tzname(timezone) */); | ^ In file included from /usr/include/stdio.h:906, from src/third_party/timelib-2018.01alpha1/timelib_private.h:70, from src/third_party/timelib-2018.01alpha1/parse_zoneinfo.c:27: In function 'snprintf', inlined from 'read_tzfile' at src/third_party/timelib-2018.01alpha1/parse_zoneinfo.c:118:2, inlined from 'create_zone_index' at src/third_party/timelib-2018.01alpha1/parse_zoneinfo.c:280:27: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output 2 or more bytes (assuming 4097) into a destination of size 4096 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gcc -o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_scalbl.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -DUSE_COMPILER_F80_TYPE=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -Dlinux=1 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_scalbl.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C g++ -o build/fedora/mongo/s/client/shard_local.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/s/client/shard_local.cpp In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/db/curop.h:35, from src/mongo/s/client/shard_local.cpp:40: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/bson/timestamp.h:31, from src/mongo/db/repl/optime.h:33, from src/mongo/s/client/rs_local_client.h:32, from src/mongo/s/client/shard_local.h:32, from src/mongo/s/client/shard_local.cpp:35: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::repl::ReplSetTagPattern, mongo::StringMapTraits>': src/mongo/db/repl/repl_set_config.h:402:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::repl::ReplSetTagPattern; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::repl::ReplSetTagPattern; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::repl::ReplSetTagPattern; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::repl::ReplSetTagPattern; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/mongo/base/data_range_cursor.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/base/data_range_cursor.cpp In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call g++ -o build/fedora/mongo/db/ftdc/ftdc_server.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/ftdc/ftdc_server.cpp ar rcsTD build/fedora/mongo/s/client/libshard_local.a build/fedora/mongo/s/client/shard_local.o Skipping ranlib for thin archive build/fedora/mongo/s/client/libshard_local.a g++ -o build/fedora/mongo/client/sasl_client_authenticate.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/client/sasl_client_authenticate.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/db/ftdc/ftdc_server.h:34, from src/mongo/db/ftdc/ftdc_server.cpp:31: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/bson/bsonobj.h:44, from src/mongo/bson/bson_field.h:34, from src/mongo/bson/bsonobjbuilder.h:44, from src/mongo/db/ftdc/ftdc_server.h:33: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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 g++ -o build/fedora/mongo/db/startup_warnings_mongod.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/startup_warnings_mongod.cpp src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call g++ -o build/fedora/third_party/icu4c-57.1/source/common/utext.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/utext.cpp g++ -o build/fedora/third_party/icu4c-57.1/source/i18n/utf16collationiterator.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/utf16collationiterator.cpp g++ -o build/fedora/mongo/db/repl/scatter_gather_runner.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/repl/scatter_gather_runner.cpp g++ -o build/fedora/mongo/db/storage/mmap_v1/btree/btree_ondisk.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/storage/mmap_v1/btree/btree_ondisk.cpp gcc -o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_acosh.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -DUSE_COMPILER_F80_TYPE=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -Dlinux=1 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_acosh.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C g++ -o build/fedora/mongo/db/stats/timer_stats.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/stats/timer_stats.cpp g++ -o build/fedora/mongo/rpc/factory.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/rpc/factory.cpp g++ -o build/fedora/mongo/s/request_types/merge_chunk_request_type.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/s/request_types/merge_chunk_request_type.cpp ar rcsTD build/fedora/mongo/rpc/librpc.a build/fedora/mongo/rpc/factory.o Skipping ranlib for thin archive build/fedora/mongo/rpc/librpc.a gcc -o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_exception.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -DUSE_COMPILER_F80_TYPE=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -Dlinux=1 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_exception.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C g++ -o build/fedora/mongo/util/heap_profiler.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/asio-master/asio/include -Ibuild/fedora -Isrc src/mongo/util/heap_profiler.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/db/commands/server_status.h:33, from src/mongo/util/heap_profiler.cpp:36: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/bson/mutable/element.h:34, from src/mongo/db/auth/privilege.h:32, from src/mongo/db/commands.h:39: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/mongo/util/time_support.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/util/time_support.cpp src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from /usr/include/string.h:535, from /usr/include/c++/12/cstring:42, from src/mongo/base/string_data.h:33, from build/fedora/mongo/base/error_codes.h:35, from src/mongo/base/status.h:33, from src/mongo/base/status_with.h:36, from src/mongo/util/time_support.h:38, from src/mongo/util/time_support.cpp:30: In function 'memcpy', inlined from 'mongo::StringData::copyTo(char*, bool) const' at src/mongo/base/string_data.h:266:15, inlined from 'mongo::StringBuilderImpl::append(mongo::StringData)' at src/mongo/bson/util/builder.h:484:19, inlined from 'mongo::StringBuilderImpl::operator<<(mongo::StringData)' at src/mongo/bson/util/builder.h:441:15, inlined from 'mongo::(anonymous namespace)::parseTimeZoneFromToken(mongo::StringData, int*)' at src/mongo/util/time_support.cpp:298:80: /usr/include/bits/string_fortified.h:29:33: warning: 'memcpy' offset [0, 1] is out of the bounds [0, 0] [-Warray-bounds] 29 | return __builtin___memcpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 30 | __glibc_objsize0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'memcpy', inlined from 'mongo::StringData::copyTo(char*, bool) const' at src/mongo/base/string_data.h:266:15, inlined from 'mongo::StringBuilderImpl::append(mongo::StringData)' at src/mongo/bson/util/builder.h:484:19, inlined from 'mongo::StringBuilderImpl::operator<<(mongo::StringData)' at src/mongo/bson/util/builder.h:441:15, inlined from 'mongo::(anonymous namespace)::parseTimeZoneFromToken(mongo::StringData, int*)' at src/mongo/util/time_support.cpp:304:81: /usr/include/bits/string_fortified.h:29:33: warning: 'memcpy' offset 0 is out of the bounds [0, 0] [-Warray-bounds] 29 | return __builtin___memcpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 30 | __glibc_objsize0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'memcpy', inlined from 'mongo::StringData::copyTo(char*, bool) const' at src/mongo/base/string_data.h:266:15, inlined from 'mongo::StringBuilderImpl::append(mongo::StringData)' at src/mongo/bson/util/builder.h:484:19, inlined from 'mongo::StringBuilderImpl::operator<<(mongo::StringData)' at src/mongo/bson/util/builder.h:441:15, inlined from 'mongo::(anonymous namespace)::parseTimeZoneFromToken(mongo::StringData, int*)' at src/mongo/util/time_support.cpp:298:80: /usr/include/bits/string_fortified.h:29:33: warning: 'memcpy' offset [0, 461] is out of the bounds [0, 0] [-Warray-bounds] 29 | return __builtin___memcpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 30 | __glibc_objsize0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'memcpy', inlined from 'mongo::StringData::copyTo(char*, bool) const' at src/mongo/base/string_data.h:266:15, inlined from 'mongo::StringBuilderImpl::append(mongo::StringData)' at src/mongo/bson/util/builder.h:484:19, inlined from 'mongo::StringBuilderImpl::operator<<(mongo::StringData)' at src/mongo/bson/util/builder.h:441:15, inlined from 'mongo::(anonymous namespace)::parseTimeZoneFromToken(mongo::StringData, int*)' at src/mongo/util/time_support.cpp:304:81: /usr/include/bits/string_fortified.h:29:33: warning: 'memcpy' offset [0, 460] is out of the bounds [0, 0] [-Warray-bounds] 29 | return __builtin___memcpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 30 | __glibc_objsize0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'memcpy', inlined from 'mongo::StringData::copyTo(char*, bool) const' at src/mongo/base/string_data.h:266:15, inlined from 'mongo::StringBuilderImpl::append(mongo::StringData)' at src/mongo/bson/util/builder.h:484:19, inlined from 'mongo::StringBuilderImpl::operator<<(mongo::StringData)' at src/mongo/bson/util/builder.h:441:15, inlined from 'mongo::(anonymous namespace)::parseTimeZoneFromToken(mongo::StringData, int*)' at src/mongo/util/time_support.cpp:349:54: /usr/include/bits/string_fortified.h:29:33: warning: 'memcpy' offset 0 is out of the bounds [0, 0] [-Warray-bounds] 29 | return __builtin___memcpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 30 | __glibc_objsize0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -o build/fedora/mongo/db/pipeline/document_source_sample_from_random_cursor.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/pipeline/document_source_sample_from_random_cursor.cpp In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/bson/bsonobj.h:44, from src/mongo/bson/bsonobj_comparator_interface.h:32, from src/mongo/bson/simple_bsonobj_comparator.h:34, from src/mongo/db/pipeline/document_source.h:41, from src/mongo/db/pipeline/document_source_sample_from_random_cursor.h:31, from src/mongo/db/pipeline/document_source_sample_from_random_cursor.cpp:33: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/db/pipeline/document_source.h:44: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ ar rcsTD build/fedora/mongo/s/libasync_requests_sender.a build/fedora/mongo/s/async_requests_sender.o Skipping ranlib for thin archive build/fedora/mongo/s/libasync_requests_sender.a g++ -o build/fedora/mongo/db/auth/address_restriction_gen.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc build/fedora/mongo/db/auth/address_restriction_gen.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from build/fedora/mongo/db/auth/address_restriction_gen.cpp:16: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from build/fedora/mongo/db/auth/address_restriction_gen.h:16, from build/fedora/mongo/db/auth/address_restriction_gen.cpp:9: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call In file included from /usr/include/string.h:535, from /usr/include/c++/12/cstring:42, from src/mongo/base/data_range.h:30: In function 'memcpy', inlined from 'mongo::StringData::copyTo(char*, bool) const' at src/mongo/base/string_data.h:266:15, inlined from 'mongo::StringBuilderImpl::append(mongo::StringData)' at src/mongo/bson/util/builder.h:484:19, inlined from 'mongo::StringBuilderImpl::appendIntegral(int, int)mongo::StringBuilderImpl&' at src/mongo/bson/util/builder.h:518:19, inlined from 'mongo::StringBuilderImpl::appendIntegral(int, int)mongo::StringBuilderImpl&' at src/mongo/bson/util/builder.h:512:24, inlined from 'mongo::StringBuilderImpl::operator<<(int)' at src/mongo/bson/util/builder.h:402:30, inlined from 'mongo::BSONObjBuilder::numStr[abi:cxx11](int)' at src/mongo/bson/bsonobjbuilder.h:719:14, inlined from 'mongo::BSONObjBuilder::append, std::allocator > >(mongo::StringData, std::vector, std::allocator >, std::allocator, std::allocator > > > const&)mongo::BSONObjBuilder& [clone .isra.0]' at src/mongo/bson/bsonobjbuilder.h:958:26: /usr/include/bits/string_fortified.h:29:33: warning: 'memcpy' offset [0, 511] is out of the bounds [0, 0] [-Warray-bounds] 29 | return __builtin___memcpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 30 | __glibc_objsize0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -o build/fedora/third_party/wiredtiger/src/os_common/os_strtouq.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/fedora/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/fedora/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/fedora/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/os_common/os_strtouq.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C gcc -o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid_flag_operations.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -DUSE_COMPILER_F80_TYPE=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -Dlinux=1 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid_flag_operations.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C g++ -o build/fedora/mongo/db/storage/kv/kv_database_catalog_entry.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/storage/kv/kv_database_catalog_entry.cpp g++ -o build/fedora/mongo/s/request_types/remove_shard_from_zone_request_type.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/s/request_types/remove_shard_from_zone_request_type.cpp In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/bson/bsonobj.h:44, from src/mongo/bson/ordering.h:32, from src/mongo/db/catalog/index_catalog_entry.h:36, from src/mongo/db/storage/kv/kv_database_catalog_entry.cpp:33: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, bool, mongo::StringMapTraits>': src/mongo/db/fts/stop_words.h:62:21: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = bool; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = bool; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = bool; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = bool; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/mongo/db/pipeline/pipeline_d.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/pipeline/pipeline_d.cpp ar rcsTD build/fedora/mongo/db/storage/kv/libkv_engine.a build/fedora/mongo/db/storage/kv/kv_database_catalog_entry.o Skipping ranlib for thin archive build/fedora/mongo/db/storage/kv/libkv_engine.a g++ -o build/fedora/third_party/icu4c-57.1/source/i18n/funcrepl.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/funcrepl.cpp g++ -o build/fedora/mongo/db/catalog/document_validation.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/catalog/document_validation.cpp In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/bson/bsonobj.h:44, from src/mongo/db/pipeline/pipeline_d.h:34, from src/mongo/db/pipeline/pipeline_d.cpp:33: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/mongo_process_interface.h:42, from src/mongo/db/pipeline/mongo_process_common.h:34, from src/mongo/db/pipeline/pipeline_d.h:38: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36, from src/mongo/db/query/plan_cache.h:35, from src/mongo/db/query/query_solution.h:38, from src/mongo/db/query/plan_executor.h:37, from src/mongo/db/pipeline/pipeline_d.h:39: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/mongo/s/catalog/type_shard_collection.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/s/catalog/type_shard_collection.cpp src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, unsigned int, mongo::StringMapTraits>': src/mongo/db/op_observer.h:310:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long unsigned int, mongo::StringMapTraits>': src/mongo/db/views/view_graph.h:177:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/db/views/view_catalog.h:174:13: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Collection*, mongo::StringMapTraits>': src/mongo/db/catalog/database.h:165:38: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::vector, mongo::StringMapTraits>': src/mongo/db/catalog/uuid_catalog.h:234:44: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::vector; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::vector; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::vector; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::vector; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Top::CollectionData, mongo::StringMapTraits>': src/mongo/db/stats/top.h:150:14: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/s/catalog_cache.h:377:21: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/s/catalog_cache.h:379:24: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/s/catalog_cache.h:379:24: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/s/catalog_cache.h:379:24: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/db/pipeline/pipeline_d.cpp: In static member function 'static mongo::StatusWith > mongo::PipelineD::prepareExecutor(mongo::OperationContext*, mongo::Collection*, const mongo::NamespaceString&, mongo::Pipeline*, const boost::intrusive_ptr&, bool, const boost::intrusive_ptr&, const mongo::DepsTracker&, const mongo::BSONObj&, const mongo::AggregationRequest*, mongo::BSONObj*, mongo::BSONObj*)': src/mongo/db/pipeline/pipeline_d.cpp:443:29: warning: redundant move in return statement [-Wredundant-move] 443 | return std::move(exec); | ~~~~~~~~~^~~~~~ src/mongo/db/pipeline/pipeline_d.cpp:443:29: note: remove 'std::move' call gcc -o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_quantize.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -DUSE_COMPILER_F80_TYPE=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -Dlinux=1 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_quantize.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C g++ -o build/fedora/mongo/db/repl/drop_pending_collection_reaper.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/repl/drop_pending_collection_reaper.cpp In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/bson/timestamp.h:31, from src/mongo/db/repl/optime.h:33, from src/mongo/db/namespace_string.h:38, from src/mongo/db/repl/drop_pending_collection_reaper.h:37, from src/mongo/db/repl/drop_pending_collection_reaper.cpp:33: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/plan_cache.h:35, from src/mongo/db/catalog/collection_info_cache.h:33, from src/mongo/db/catalog/collection.h:41, from src/mongo/db/repl/storage_interface.h:40, from src/mongo/db/repl/drop_pending_collection_reaper.cpp:40: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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_type.h: In instantiation of 'std::unique_ptr mongo::TypeMatchExpressionBase::shallowClone() const [with T = mongo::TypeMatchExpression]': src/mongo/db/matcher/expression_type.h:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: 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: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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, unsigned int, mongo::StringMapTraits>': src/mongo/db/op_observer.h:310:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call ar rcsTD build/fedora/mongo/db/repl/libdrop_pending_collection_reaper.a build/fedora/mongo/db/repl/drop_pending_collection_reaper.o Skipping ranlib for thin archive build/fedora/mongo/db/repl/libdrop_pending_collection_reaper.a g++ -o build/fedora/mongo/db/pipeline/aggregation_request.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/pipeline/aggregation_request.cpp gcc -o build/fedora/third_party/wiredtiger/src/conn/api_strerror.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/fedora/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/fedora/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/fedora/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/conn/api_strerror.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/db/pipeline/aggregation_request.cpp:40: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ gcc -o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_tgamma.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -DUSE_COMPILER_F80_TYPE=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -Dlinux=1 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_tgamma.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/pipeline/aggregation_request.h:34, from src/mongo/db/pipeline/aggregation_request.cpp:31: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/mongo/base/secure_allocator.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/base/secure_allocator.cpp src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/db/pipeline/aggregation_request.cpp: In static member function 'static mongo::StatusWith > > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)': src/mongo/db/pipeline/aggregation_request.cpp:83:21: warning: redundant move in return statement [-Wredundant-move] 83 | return std::move(pipeline); | ~~~~~~~~~^~~~~~~~~~ src/mongo/db/pipeline/aggregation_request.cpp:83:21: note: remove 'std::move' call g++ -o build/fedora/third_party/icu4c-57.1/source/common/caniter.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/caniter.cpp gcc -o build/fedora/third_party/wiredtiger/src/btree/bt_page.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/fedora/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/fedora/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/fedora/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/btree/bt_page.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call g++ -o build/fedora/mongo/db/exec/fetch.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/exec/fetch.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/exec/fetch.h:35, from src/mongo/db/exec/fetch.cpp:31: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/db/exec/plan_stats.h:38, from src/mongo/db/exec/plan_stage.h:34, from src/mongo/db/exec/fetch.h:33: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36, from src/mongo/db/query/plan_cache.h:35, from src/mongo/db/catalog/collection_info_cache.h:33, from src/mongo/db/catalog/collection.h:41, from src/mongo/db/exec/fetch.cpp:33: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call ar rcsTD build/fedora/mongo/db/pipeline/libaggregation_request.a build/fedora/mongo/db/pipeline/aggregation_request.o Skipping ranlib for thin archive build/fedora/mongo/db/pipeline/libaggregation_request.a g++ -o build/fedora/mongo/db/query/internal_plans.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/query/internal_plans.cpp In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/query_solution.h:36, from src/mongo/db/query/plan_executor.h:37, from src/mongo/db/query/internal_plans.h:32, from src/mongo/db/query/internal_plans.cpp:31: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/bson/bsonobj.h:44, from src/mongo/bson/bsonobj_comparator_interface.h:32, from src/mongo/db/query/query_solution.h:33: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36, from src/mongo/db/query/plan_cache.h:35, from src/mongo/db/query/query_solution.h:38: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, unsigned int, mongo::StringMapTraits>': src/mongo/db/op_observer.h:310:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, unsigned int, mongo::StringMapTraits>': src/mongo/db/op_observer.h:310:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long unsigned int, mongo::StringMapTraits>': src/mongo/db/views/view_graph.h:177:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/db/views/view_catalog.h:174:13: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Collection*, mongo::StringMapTraits>': src/mongo/db/catalog/database.h:165:38: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/mongo/db/exec/sort.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/exec/sort.cpp In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/db/exec/plan_stats.h:38, from src/mongo/db/exec/plan_stage.h:34, from src/mongo/db/exec/sort.h:34, from src/mongo/db/exec/sort.cpp:31: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/plan_cache.h:35, from src/mongo/db/catalog/collection_info_cache.h:33, from src/mongo/db/catalog/collection.h:41, from src/mongo/db/exec/sort.cpp:35: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/mongo/db/query/plan_yield_policy.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/query/plan_yield_policy.cpp src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, unsigned int, mongo::StringMapTraits>': src/mongo/db/op_observer.h:310:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/bson/timestamp.h:31, from src/mongo/db/catalog/collection.h:39, from src/mongo/db/query/plan_yield_policy.h:31, from src/mongo/db/query/plan_yield_policy.cpp:31: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/plan_cache.h:35, from src/mongo/db/catalog/collection_info_cache.h:33, from src/mongo/db/catalog/collection.h:41: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, unsigned int, mongo::StringMapTraits>': src/mongo/db/op_observer.h:310:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/mongo/db/exec/queued_data_stage.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/exec/queued_data_stage.cpp In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call g++ -o build/fedora/mongo/db/exec/distinct_scan.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/exec/distinct_scan.cpp g++ -o build/fedora/mongo/db/exec/working_set_common.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/exec/working_set_common.cpp In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/db/exec/working_set.h:34, from src/mongo/db/exec/working_set_common.h:31, from src/mongo/db/exec/working_set_common.cpp:31: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/plan_cache.h:35, from src/mongo/db/catalog/collection_info_cache.h:33, from src/mongo/db/catalog/collection.h:41, from src/mongo/db/exec/working_set_common.cpp:34: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/exec/distinct_scan.h:35, from src/mongo/db/exec/distinct_scan.cpp:29: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/db/exec/plan_stats.h:38, from src/mongo/db/exec/plan_stage.h:34, from src/mongo/db/exec/distinct_scan.h:32: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/db/curop.h:35, from src/mongo/db/concurrency/write_conflict_exception.h:36, from src/mongo/db/exec/distinct_scan.cpp:32: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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: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_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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: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_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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: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_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, unsigned int, mongo::StringMapTraits>': src/mongo/db/op_observer.h:310:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call g++ -o build/fedora/mongo/db/exec/ensure_sorted.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/exec/ensure_sorted.cpp g++ -o build/fedora/mongo/db/exec/and_hash.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/exec/and_hash.cpp g++ -o build/fedora/mongo/db/query/plan_ranker.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/query/plan_ranker.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/exec/and_hash.h:35, from src/mongo/db/exec/and_hash.cpp:29: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/db/exec/plan_stats.h:38, from src/mongo/db/exec/plan_stage.h:34, from src/mongo/db/exec/and_hash.h:33: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/query_solution.h:36, from src/mongo/db/query/plan_ranker.h:39, from src/mongo/db/query/plan_ranker.cpp:38: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/db/exec/plan_stats.h:38, from src/mongo/db/exec/plan_stage.h:34, from src/mongo/db/query/plan_ranker.h:36: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36, from src/mongo/db/query/plan_cache.h:35, from src/mongo/db/query/query_solution.h:38: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/mongo/db/exec/text_match.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/exec/text_match.cpp src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/db/exec/plan_stats.h:38, from src/mongo/db/exec/plan_stage.h:34, from src/mongo/db/exec/text_match.h:33, from src/mongo/db/exec/text_match.cpp:29: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, bool, mongo::StringMapTraits>': src/mongo/db/fts/stop_words.h:62:21: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = bool; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = bool; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = bool; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = bool; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call g++ -o build/fedora/mongo/db/ops/parsed_delete.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/ops/parsed_delete.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/query_solution.h:36, from src/mongo/db/query/plan_executor.h:37, from src/mongo/db/ops/parsed_delete.h:33, from src/mongo/db/ops/parsed_delete.cpp:33: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/bson/bsonobj.h:44, from src/mongo/bson/bsonobj_comparator_interface.h:32, from src/mongo/db/query/query_solution.h:33: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36, from src/mongo/db/query/plan_cache.h:35, from src/mongo/db/query/query_solution.h:38: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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 g++ -o build/fedora/mongo/db/exec/subplan.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/exec/subplan.cpp src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/exec/subplan.h:39, from src/mongo/db/exec/subplan.cpp:33: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/db/exec/plan_stats.h:38, from src/mongo/db/exec/plan_stage.h:34, from src/mongo/db/exec/subplan.h:38: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, unsigned int, mongo::StringMapTraits>': src/mongo/db/op_observer.h:310:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long unsigned int, mongo::StringMapTraits>': src/mongo/db/views/view_graph.h:177:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/db/views/view_catalog.h:174:13: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Collection*, mongo::StringMapTraits>': src/mongo/db/catalog/database.h:165:38: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, unsigned int, mongo::StringMapTraits>': src/mongo/db/op_observer.h:310:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call g++ -o build/fedora/mongo/db/exec/shard_filter.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/exec/shard_filter.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/exec/filter.h:32, from src/mongo/db/exec/shard_filter.cpp:35: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/db/exec/plan_stats.h:38, from src/mongo/db/exec/plan_stage.h:34, from src/mongo/db/exec/shard_filter.h:31, from src/mongo/db/exec/shard_filter.cpp:33: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/mongo/db/exec/delete.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/exec/delete.cpp g++ -o build/fedora/mongo/db/exec/and_sorted.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/exec/and_sorted.cpp In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/db/exec/plan_stats.h:38, from src/mongo/db/exec/plan_stage.h:34, from src/mongo/db/exec/delete.h:31, from src/mongo/db/exec/delete.cpp:33: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/plan_cache.h:35, from src/mongo/db/catalog/collection_info_cache.h:33, from src/mongo/db/catalog/collection.h:41, from src/mongo/db/exec/delete.cpp:35: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/exec/and_sorted.h:36, from src/mongo/db/exec/and_sorted.cpp:29: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/db/exec/plan_stats.h:38, from src/mongo/db/exec/plan_stage.h:34, from src/mongo/db/exec/and_sorted.h:34: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/mongo/db/query/get_executor.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/query/get_executor.cpp src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, unsigned int, mongo::StringMapTraits>': src/mongo/db/op_observer.h:310:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/query_solution.h:36, from src/mongo/db/query/plan_executor.h:37, from src/mongo/db/ops/delete_request.h:36, from src/mongo/db/query/get_executor.h:29, from src/mongo/db/query/get_executor.cpp:33: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/db/ops/delete_request.h:34: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36, from src/mongo/db/query/plan_cache.h:35, from src/mongo/db/query/query_solution.h:38: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/mongo/db/exec/text.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/exec/text.cpp src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, unsigned int, mongo::StringMapTraits>': src/mongo/db/op_observer.h:310:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ProjectionExec*, mongo::StringMapTraits>': src/mongo/db/exec/projection_exec.h:149:14: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ProjectionExec*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ProjectionExec*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ProjectionExec*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ProjectionExec*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::MatchExpression*, mongo::StringMapTraits>': src/mongo/db/exec/projection_exec.h:162:14: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::MatchExpression*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::MatchExpression*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::MatchExpression*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::MatchExpression*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ProjectionExec::MetaProjection, mongo::StringMapTraits>': src/mongo/db/exec/projection_exec.h:173:13: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ProjectionExec::MetaProjection; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ProjectionExec::MetaProjection; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ProjectionExec::MetaProjection; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ProjectionExec::MetaProjection; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, bool, mongo::StringMapTraits>': src/mongo/db/exec/projection.h:134:14: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = bool; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = bool; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = bool; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = bool; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/db/exec/plan_stats.h:38, from src/mongo/db/exec/plan_stage.h:34, from src/mongo/db/exec/text.h:33, from src/mongo/db/exec/text.cpp:29: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, bool, mongo::StringMapTraits>': src/mongo/db/fts/stop_words.h:62:21: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = bool; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = bool; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = bool; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = bool; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/exec/fetch.h:35, from src/mongo/db/exec/text.cpp:33: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36, from src/mongo/db/query/plan_cache.h:35, from src/mongo/db/catalog/collection_info_cache.h:33, from src/mongo/db/catalog/collection.h:41, from src/mongo/db/exec/text_or.h:33, from src/mongo/db/exec/text.cpp:39: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, unsigned int, mongo::StringMapTraits>': src/mongo/db/op_observer.h:310:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call g++ -o build/fedora/mongo/db/exec/projection.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/exec/projection.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/exec/projection_exec.h:33, from src/mongo/db/exec/projection.h:33, from src/mongo/db/exec/projection.cpp:31: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/db/exec/plan_stats.h:38, from src/mongo/db/exec/plan_stage.h:34, from src/mongo/db/exec/projection.h:32: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:36, from src/mongo/db/exec/projection_exec.h:34: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ProjectionExec*, mongo::StringMapTraits>': src/mongo/db/exec/projection_exec.h:149:14: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ProjectionExec*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ProjectionExec*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ProjectionExec*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ProjectionExec*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::MatchExpression*, mongo::StringMapTraits>': src/mongo/db/exec/projection_exec.h:162:14: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::MatchExpression*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::MatchExpression*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::MatchExpression*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::MatchExpression*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ProjectionExec::MetaProjection, mongo::StringMapTraits>': src/mongo/db/exec/projection_exec.h:173:13: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ProjectionExec::MetaProjection; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ProjectionExec::MetaProjection; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ProjectionExec::MetaProjection; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ProjectionExec::MetaProjection; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, bool, mongo::StringMapTraits>': src/mongo/db/exec/projection.h:134:14: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = bool; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = bool; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = bool; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = bool; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/mongo/db/exec/update.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/exec/update.cpp In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/bson/timestamp.h:31, from src/mongo/db/catalog/collection.h:39, from src/mongo/db/exec/update.h:32, from src/mongo/db/exec/update.cpp:33: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/plan_cache.h:35, from src/mongo/db/catalog/collection_info_cache.h:33, from src/mongo/db/catalog/collection.h:41: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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 g++ -o build/fedora/mongo/db/query/query_yield.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/query/query_yield.cpp src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, unsigned int, mongo::StringMapTraits>': src/mongo/db/op_observer.h:310:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/db/curop.h:35, from src/mongo/db/query/query_yield.cpp:33: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/bson/timestamp.h:31, from src/mongo/db/repl/optime.h:33, from src/mongo/db/namespace_string.h:38, from src/mongo/db/query/query_yield.h:31, from src/mongo/db/query/query_yield.cpp:30: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call g++ -o build/fedora/mongo/db/exec/plan_stage.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/exec/plan_stage.cpp g++ -o build/fedora/mongo/db/exec/index_scan.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/exec/index_scan.cpp g++ -o build/fedora/mongo/db/exec/merge_sort.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/exec/merge_sort.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/exec/index_scan.h:35, from src/mongo/db/exec/index_scan.cpp:33: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/db/exec/plan_stats.h:38, from src/mongo/db/exec/plan_stage.h:34, from src/mongo/db/exec/index_scan.h:32: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/db/curop.h:35, from src/mongo/db/concurrency/write_conflict_exception.h:36, from src/mongo/db/exec/index_scan.cpp:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/mongo/db/exec/near.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/exec/near.cpp In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/bson/timestamp.h:31, from src/mongo/db/catalog/collection.h:39, from src/mongo/db/exec/near.h:37, from src/mongo/db/exec/near.cpp:31: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/plan_cache.h:35, from src/mongo/db/catalog/collection_info_cache.h:33, from src/mongo/db/catalog/collection.h:41: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/mongo/db/exec/collection_scan.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/exec/collection_scan.cpp src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, unsigned int, mongo::StringMapTraits>': src/mongo/db/op_observer.h:310:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/matcher/expression_leaf.h:34, from src/mongo/db/exec/collection_scan.h:35, from src/mongo/db/exec/collection_scan.cpp:31: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/bson/timestamp.h:31, from src/mongo/db/exec/collection_scan_common.h:31, from src/mongo/db/exec/collection_scan.h:33: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38, from src/mongo/db/query/plan_cache.h:35, from src/mongo/db/catalog/collection_info_cache.h:33, from src/mongo/db/catalog/collection.h:41, from src/mongo/db/exec/collection_scan.cpp:33: 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: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::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::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::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:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, unsigned int, mongo::StringMapTraits>': src/mongo/db/op_observer.h:310:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long unsigned int, mongo::StringMapTraits>': src/mongo/db/views/view_graph.h:177:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/db/views/view_catalog.h:174:13: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Collection*, mongo::StringMapTraits>': src/mongo/db/catalog/database.h:165:38: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/mongo/db/pipeline/document_source_cursor.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/pipeline/document_source_cursor.cpp In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/bson/timestamp.h:31, from src/mongo/db/catalog/collection.h:39, from src/mongo/db/catalog_raii.h:32, from src/mongo/db/db_raii.h:33, from src/mongo/db/pipeline/document_source_cursor.h:33, from src/mongo/db/pipeline/document_source_cursor.cpp:31: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/plan_cache.h:35, from src/mongo/db/catalog/collection_info_cache.h:33, from src/mongo/db/catalog/collection.h:41: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from /usr/include/string.h:535, from /usr/include/c++/12/cstring:42, from src/mongo/base/data_view.h:30, from src/mongo/bson/timestamp.h:30: In function 'memcpy', inlined from 'mongo::StringData::copyTo(char*, bool) const' at src/mongo/base/string_data.h:266:15, inlined from 'mongo::StringBuilderImpl::append(mongo::StringData)' at src/mongo/bson/util/builder.h:484:19, inlined from 'mongo::StringBuilderImpl::operator<<(mongo::StringData)' at src/mongo/bson/util/builder.h:441:15, inlined from 'mongo::StringBuilderImpl::operator<<(char const*)' at src/mongo/bson/util/builder.h:438:22, inlined from 'mongoutils::str::stream::operator<< (char const (&) [27])mongoutils::str::stream&' at src/mongo/util/mongoutils/str.h:66:12, inlined from 'mongo::CollectionScan::doWork(unsigned long*)' at src/mongo/db/exec/collection_scan.cpp:138:52: /usr/include/bits/string_fortified.h:29:33: warning: 'memcpy' offset [0, 25] is out of the bounds [0, 0] [-Warray-bounds] 29 | return __builtin___memcpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 30 | __glibc_objsize0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, unsigned int, mongo::StringMapTraits>': src/mongo/db/op_observer.h:310:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long unsigned int, mongo::StringMapTraits>': src/mongo/db/views/view_graph.h:177:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/db/views/view_catalog.h:174:13: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Collection*, mongo::StringMapTraits>': src/mongo/db/catalog/database.h:165:38: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/mongo/db/exec/sort_key_generator.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/exec/sort_key_generator.cpp src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Top::CollectionData, mongo::StringMapTraits>': src/mongo/db/stats/top.h:150:14: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/db/pipeline/document_source_cursor.cpp: In member function 'virtual mongo::DocumentSource::GetNextResult mongo::DocumentSourceCursor::getNext()': src/mongo/db/pipeline/document_source_cursor.cpp:63:21: warning: redundant move in return statement [-Wredundant-move] 63 | return std::move(out); | ~~~~~~~~~^~~~~ src/mongo/db/pipeline/document_source_cursor.cpp:63:21: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/bson/bsonobj.h:44, from src/mongo/db/exec/sort_key_generator.h:33, from src/mongo/db/exec/sort_key_generator.cpp:33: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/plan_cache.h:35, from src/mongo/db/catalog/collection_info_cache.h:33, from src/mongo/db/catalog/collection.h:41, from src/mongo/db/exec/sort_key_generator.cpp:38: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, unsigned int, mongo::StringMapTraits>': src/mongo/db/op_observer.h:310:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/mongo/db/clientcursor.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/clientcursor.cpp In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/query_solution.h:36, from src/mongo/db/query/plan_executor.h:37, from src/mongo/db/clientcursor.h:38, from src/mongo/db/clientcursor.cpp:31: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/client/connection_string.h:38, from src/mongo/client/dbclientinterface.h:34, from src/mongo/db/clientcursor.h:33: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36, from src/mongo/db/query/plan_cache.h:35, from src/mongo/db/query/query_solution.h:38: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, unsigned int, mongo::StringMapTraits>': src/mongo/db/op_observer.h:310:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/mongo/db/exec/or.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/exec/or.cpp src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/exec/or.h:33, from src/mongo/db/exec/or.cpp:29: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/db/exec/plan_stats.h:38, from src/mongo/db/exec/plan_stage.h:34, from src/mongo/db/exec/or.h:31: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call g++ -o build/fedora/mongo/db/exec/write_stage_common.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/exec/write_stage_common.cpp g++ -o build/fedora/mongo/db/exec/multi_plan.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/exec/multi_plan.cpp In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/db/exec/working_set.h:34, from src/mongo/db/exec/write_stage_common.h:34, from src/mongo/db/exec/write_stage_common.cpp:30: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/plan_cache.h:35, from src/mongo/db/catalog/collection_info_cache.h:33, from src/mongo/db/catalog/collection.h:41, from src/mongo/db/exec/write_stage_common.cpp:32: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/bson/timestamp.h:31, from src/mongo/db/catalog/collection.h:39, from src/mongo/db/exec/multi_plan.h:32, from src/mongo/db/exec/multi_plan.cpp:33: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ 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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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 In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/plan_cache.h:35, from src/mongo/db/catalog/collection_info_cache.h:33, from src/mongo/db/catalog/collection.h:41: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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: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_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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: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_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, unsigned int, mongo::StringMapTraits>': src/mongo/db/op_observer.h:310:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, unsigned int, mongo::StringMapTraits>': src/mongo/db/op_observer.h:310:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long unsigned int, mongo::StringMapTraits>': src/mongo/db/views/view_graph.h:177:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/db/views/view_catalog.h:174:13: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Collection*, mongo::StringMapTraits>': src/mongo/db/catalog/database.h:165:38: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call g++ -o build/fedora/mongo/db/exec/group.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/exec/group.cpp In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/bson/bsonobj.h:44, from src/mongo/bson/bsonobj_comparator_interface.h:32, from src/mongo/bson/simple_bsonobj_comparator.h:34, from src/mongo/db/exec/group.h:31, from src/mongo/db/exec/group.cpp:31: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/plan_cache.h:35, from src/mongo/db/catalog/collection_info_cache.h:33, from src/mongo/db/catalog/collection.h:41, from src/mongo/db/exec/group.cpp:35: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/mongo/db/ops/parsed_update.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/ops/parsed_update.cpp src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/matcher/expression_with_placeholder.h:35, from src/mongo/db/ops/parsed_update.h:33, from src/mongo/db/ops/parsed_update.cpp:31: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/bson/bsonobj.h:44, from src/mongo/db/matcher/expression.h:36: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, unsigned int, mongo::StringMapTraits>': src/mongo/db/op_observer.h:310:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36, from src/mongo/db/query/plan_cache.h:35, from src/mongo/db/query/query_solution.h:38, from src/mongo/db/query/plan_executor.h:37, from src/mongo/db/ops/parsed_update.h:35: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call g++ -o build/fedora/mongo/db/exec/multi_iterator.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/exec/multi_iterator.cpp g++ -o build/fedora/mongo/db/query/plan_executor.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/query/plan_executor.cpp In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/bson/timestamp.h:31, from src/mongo/db/catalog/collection.h:39, from src/mongo/db/exec/multi_iterator.h:34, from src/mongo/db/exec/multi_iterator.cpp:31: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/plan_cache.h:35, from src/mongo/db/catalog/collection_info_cache.h:33, from src/mongo/db/catalog/collection.h:41: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/query_solution.h:36, from src/mongo/db/query/plan_executor.h:37, from src/mongo/db/query/plan_executor.cpp:33: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/bson/bsonobj.h:44, from src/mongo/bson/bsonobj_comparator_interface.h:32, from src/mongo/db/query/query_solution.h:33: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36, from src/mongo/db/query/plan_cache.h:35, from src/mongo/db/query/query_solution.h:38: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ 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:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, unsigned int, mongo::StringMapTraits>': src/mongo/db/op_observer.h:310:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, unsigned int, mongo::StringMapTraits>': src/mongo/db/op_observer.h:310:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long unsigned int, mongo::StringMapTraits>': src/mongo/db/views/view_graph.h:177:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/db/views/view_catalog.h:174:13: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Collection*, mongo::StringMapTraits>': src/mongo/db/catalog/database.h:165:38: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/db/query/plan_executor.cpp: In static member function 'static mongo::StatusWith > mongo::PlanExecutor::make(mongo::OperationContext*, std::unique_ptr, std::unique_ptr, std::unique_ptr, std::unique_ptr, const mongo::Collection*, mongo::NamespaceString, YieldPolicy)': src/mongo/db/query/plan_executor.cpp:214:21: warning: redundant move in return statement [-Wredundant-move] 214 | return std::move(exec); | ~~~~~~~~~^~~~~~ src/mongo/db/query/plan_executor.cpp:214:21: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call g++ -o build/fedora/mongo/db/exec/cached_plan.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/exec/cached_plan.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/exec/cached_plan.h:37, from src/mongo/db/exec/cached_plan.cpp:33: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/db/exec/plan_stats.h:38, from src/mongo/db/exec/plan_stage.h:34, from src/mongo/db/exec/cached_plan.h:34: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/mongo/db/cursor_manager.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/cursor_manager.cpp src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, unsigned int, mongo::StringMapTraits>': src/mongo/db/op_observer.h:310:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/query_solution.h:36, from src/mongo/db/query/plan_executor.h:37, from src/mongo/db/clientcursor.h:38, from src/mongo/db/cursor_manager.h:34, from src/mongo/db/cursor_manager.cpp:33: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/client/connection_string.h:38, from src/mongo/client/dbclientinterface.h:34, from src/mongo/db/clientcursor.h:33: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36, from src/mongo/db/query/plan_cache.h:35, from src/mongo/db/query/query_solution.h:38: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, unsigned int, mongo::StringMapTraits>': src/mongo/db/op_observer.h:310:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long unsigned int, mongo::StringMapTraits>': src/mongo/db/views/view_graph.h:177:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/db/views/view_catalog.h:174:13: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Collection*, mongo::StringMapTraits>': src/mongo/db/catalog/database.h:165:38: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Top::CollectionData, mongo::StringMapTraits>': src/mongo/db/stats/top.h:150:14: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/mongo/db/exec/pipeline_proxy.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/exec/pipeline_proxy.cpp In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/bson/timestamp.h:31, from src/mongo/db/catalog/collection.h:39, from src/mongo/db/exec/pipeline_proxy.h:34, from src/mongo/db/exec/pipeline_proxy.cpp:31: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/plan_cache.h:35, from src/mongo/db/catalog/collection_info_cache.h:33, from src/mongo/db/catalog/collection.h:41: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, unsigned int, mongo::StringMapTraits>': src/mongo/db/op_observer.h:310:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call g++ -o build/fedora/mongo/db/query/stage_builder.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/query/stage_builder.cpp g++ -o build/fedora/mongo/db/ops/update_lifecycle_impl.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/ops/update_lifecycle_impl.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/query_solution.h:36, from src/mongo/db/query/stage_builder.h:33, from src/mongo/db/query/stage_builder.cpp:33: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/db/exec/plan_stats.h:38, from src/mongo/db/exec/plan_stage.h:34, from src/mongo/db/query/stage_builder.h:31: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36, from src/mongo/db/query/plan_cache.h:35, from src/mongo/db/query/query_solution.h:38: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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 In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/bson/timestamp.h:31, from src/mongo/db/repl/optime.h:33, from src/mongo/db/namespace_string.h:38, from src/mongo/db/ops/update_lifecycle_impl.h:32, from src/mongo/db/ops/update_lifecycle_impl.cpp:31: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ 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: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/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/plan_cache.h:35, from src/mongo/db/catalog/collection_info_cache.h:33, from src/mongo/db/catalog/collection.h:41, from src/mongo/db/ops/update_lifecycle_impl.cpp:33: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, unsigned int, mongo::StringMapTraits>': src/mongo/db/op_observer.h:310:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long unsigned int, mongo::StringMapTraits>': src/mongo/db/views/view_graph.h:177:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/db/views/view_catalog.h:174:13: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Collection*, mongo::StringMapTraits>': src/mongo/db/catalog/database.h:165:38: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ProjectionExec*, mongo::StringMapTraits>': src/mongo/db/exec/projection_exec.h:149:14: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ProjectionExec*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ProjectionExec*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ProjectionExec*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ProjectionExec*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::MatchExpression*, mongo::StringMapTraits>': src/mongo/db/exec/projection_exec.h:162:14: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::MatchExpression*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::MatchExpression*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::MatchExpression*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::MatchExpression*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ProjectionExec::MetaProjection, mongo::StringMapTraits>': src/mongo/db/exec/projection_exec.h:173:13: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ProjectionExec::MetaProjection; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ProjectionExec::MetaProjection; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ProjectionExec::MetaProjection; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ProjectionExec::MetaProjection; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, bool, mongo::StringMapTraits>': src/mongo/db/exec/projection.h:134:14: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = bool; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = bool; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = bool; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = bool; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, unsigned int, mongo::StringMapTraits>': src/mongo/db/op_observer.h:310:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call g++ -o build/fedora/mongo/db/exec/index_iterator.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/exec/index_iterator.cpp In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/db/exec/plan_stats.h:38, from src/mongo/db/exec/plan_stage.h:34, from src/mongo/db/exec/index_iterator.h:34, from src/mongo/db/exec/index_iterator.cpp:31: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/plan_cache.h:35, from src/mongo/db/catalog/collection_info_cache.h:33, from src/mongo/db/catalog/collection.h:41, from src/mongo/db/exec/index_iterator.cpp:33: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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 g++ -o build/fedora/mongo/db/exec/oplogstart.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/exec/oplogstart.cpp src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/matcher/expression_leaf.h:34, from src/mongo/db/exec/collection_scan.h:35, from src/mongo/db/exec/oplogstart.h:34, from src/mongo/db/exec/oplogstart.cpp:29: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/bson/timestamp.h:31, from src/mongo/db/exec/oplogstart.h:33: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, unsigned int, mongo::StringMapTraits>': src/mongo/db/op_observer.h:310:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38, from src/mongo/db/query/plan_cache.h:35, from src/mongo/db/catalog/collection_info_cache.h:33, from src/mongo/db/catalog/collection.h:41, from src/mongo/db/exec/oplogstart.cpp:31: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, unsigned int, mongo::StringMapTraits>': src/mongo/db/op_observer.h:310:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long unsigned int, mongo::StringMapTraits>': src/mongo/db/views/view_graph.h:177:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/db/views/view_catalog.h:174:13: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Collection*, mongo::StringMapTraits>': src/mongo/db/catalog/database.h:165:38: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/mongo/db/exec/eof.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/exec/eof.cpp In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call g++ -o build/fedora/third_party/icu4c-57.1/source/i18n/zrule.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/zrule.cpp g++ -o build/fedora/mongo/db/op_observer.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/op_observer.cpp In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/bson/bsonobj.h:44, from src/mongo/bson/bsonobj_comparator_interface.h:32, from src/mongo/bson/simple_bsonobj_comparator.h:34, from src/mongo/db/op_observer.h:34, from src/mongo/db/op_observer.cpp:31: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/plan_cache.h:35, from src/mongo/db/catalog/collection_info_cache.h:33, from src/mongo/db/catalog/collection.h:41, from src/mongo/db/op_observer.h:35: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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 ar rcsTD build/fedora/mongo/db/libquery_exec.a build/fedora/mongo/db/clientcursor.o build/fedora/mongo/db/cursor_manager.o build/fedora/mongo/db/exec/and_hash.o build/fedora/mongo/db/exec/and_sorted.o build/fedora/mongo/db/exec/cached_plan.o build/fedora/mongo/db/exec/collection_scan.o build/fedora/mongo/db/exec/count.o build/fedora/mongo/db/exec/count_scan.o build/fedora/mongo/db/exec/delete.o build/fedora/mongo/db/exec/distinct_scan.o build/fedora/mongo/db/exec/ensure_sorted.o build/fedora/mongo/db/exec/eof.o build/fedora/mongo/db/exec/fetch.o build/fedora/mongo/db/exec/geo_near.o build/fedora/mongo/db/exec/group.o build/fedora/mongo/db/exec/idhack.o build/fedora/mongo/db/exec/index_iterator.o build/fedora/mongo/db/exec/index_scan.o build/fedora/mongo/db/exec/keep_mutations.o build/fedora/mongo/db/exec/limit.o build/fedora/mongo/db/exec/merge_sort.o build/fedora/mongo/db/exec/multi_iterator.o build/fedora/mongo/db/exec/multi_plan.o build/fedora/mongo/db/exec/near.o build/fedora/mongo/db/exec/oplogstart.o build/fedora/mongo/db/exec/or.o build/fedora/mongo/db/exec/pipeline_proxy.o build/fedora/mongo/db/exec/plan_stage.o build/fedora/mongo/db/exec/projection.o build/fedora/mongo/db/exec/projection_exec.o build/fedora/mongo/db/exec/queued_data_stage.o build/fedora/mongo/db/exec/shard_filter.o build/fedora/mongo/db/exec/skip.o build/fedora/mongo/db/exec/sort.o build/fedora/mongo/db/exec/sort_key_generator.o build/fedora/mongo/db/exec/subplan.o build/fedora/mongo/db/exec/text.o build/fedora/mongo/db/exec/text_match.o build/fedora/mongo/db/exec/text_or.o build/fedora/mongo/db/exec/update.o build/fedora/mongo/db/exec/working_set_common.o build/fedora/mongo/db/exec/write_stage_common.o build/fedora/mongo/db/ops/parsed_delete.o build/fedora/mongo/db/ops/parsed_update.o build/fedora/mongo/db/ops/update_lifecycle_impl.o build/fedora/mongo/db/ops/update_result.o build/fedora/mongo/db/query/explain.o build/fedora/mongo/db/query/find.o build/fedora/mongo/db/pipeline/document_source_cursor.o build/fedora/mongo/db/pipeline/pipeline_d.o build/fedora/mongo/db/query/get_executor.o build/fedora/mongo/db/query/internal_plans.o build/fedora/mongo/db/query/plan_executor.o build/fedora/mongo/db/query/plan_ranker.o build/fedora/mongo/db/query/plan_yield_policy.o build/fedora/mongo/db/query/query_yield.o build/fedora/mongo/db/query/stage_builder.o Skipping ranlib for thin archive build/fedora/mongo/db/libquery_exec.a gcc -o build/fedora/third_party/wiredtiger/src/block/block_mgr.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/fedora/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/fedora/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/fedora/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/block/block_mgr.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ gcc -o build/fedora/third_party/icu4c-57.1/source/common/ucnvisci.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/ucnvisci.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C g++ -o build/fedora/mongo/db/ftdc/util.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/ftdc/util.cpp src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, unsigned int, mongo::StringMapTraits>': src/mongo/db/op_observer.h:310:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call ar rcsTD build/fedora/mongo/db/libop_observer.a build/fedora/mongo/db/op_observer.o Skipping ranlib for thin archive build/fedora/mongo/db/libop_observer.a g++ -o build/fedora/mongo/rpc/metadata/audit_metadata.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/rpc/metadata/audit_metadata.cpp g++ -o build/fedora/mongo/rpc/metadata/client_metadata_ismaster.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/rpc/metadata/client_metadata_ismaster.cpp g++ -o build/fedora/mongo/util/net/hostname_canonicalization.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/asio-master/asio/include -Ibuild/fedora -Isrc src/mongo/util/net/hostname_canonicalization.cpp g++ -o build/fedora/mongo/util/net/socket_utils.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/asio-master/asio/include -Ibuild/fedora -Isrc src/mongo/util/net/socket_utils.cpp g++ -o build/fedora/mongo/util/net/socket_exception.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/asio-master/asio/include -Ibuild/fedora -Isrc src/mongo/util/net/socket_exception.cpp In file included from /usr/include/string.h:535, from /usr/include/c++/12/cstring:42, from src/mongo/base/string_data.h:33, from build/fedora/mongo/base/error_codes.h:35, from src/mongo/base/status.h:33, from src/mongo/util/assert_util.h:34, from src/mongo/util/net/socket_exception.h:31, from src/mongo/util/net/socket_exception.cpp:31: In function 'memcpy', inlined from 'mongo::StringData::copyTo(char*, bool) const' at src/mongo/base/string_data.h:266:15, inlined from 'mongo::StringBuilderImpl::append(mongo::StringData)' at src/mongo/bson/util/builder.h:484:19, inlined from 'mongo::StringBuilderImpl::operator<<(mongo::StringData)' at src/mongo/bson/util/builder.h:441:15, inlined from 'mongo::makeSocketError(mongo::SocketErrorKind, std::__cxx11::basic_string, std::allocator > const&, std::__cxx11::basic_string, std::allocator > const&)' at src/mongo/util/net/socket_exception.cpp:64:53: /usr/include/bits/string_fortified.h:29:33: warning: 'memcpy' offset [0, 5] is out of the bounds [0, 0] [-Warray-bounds] 29 | return __builtin___memcpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 30 | __glibc_objsize0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -o build/fedora/mongo/util/net/hostandport.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/asio-master/asio/include -Ibuild/fedora -Isrc src/mongo/util/net/hostandport.cpp g++ -o build/fedora/mongo/db/geo/geoparser.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/geo/geoparser.cpp ar rcsTD build/fedora/mongo/util/net/libnetwork.a build/fedora/mongo/util/net/cidr.o build/fedora/mongo/util/net/hostandport.o build/fedora/mongo/util/net/hostname_canonicalization.o build/fedora/mongo/util/net/sockaddr.o build/fedora/mongo/util/net/socket_exception.o build/fedora/mongo/util/net/socket_utils.o build/fedora/mongo/util/net/hostandport_gen.o Skipping ranlib for thin archive build/fedora/mongo/util/net/libnetwork.a g++ -o build/fedora/mongo/util/options_parser/value.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/asio-master/asio/include -Ibuild/fedora -Isrc src/mongo/util/options_parser/value.cpp In file included from /usr/include/string.h:535, from /usr/include/c++/12/cstring:42, from src/mongo/base/string_data.h:33, from build/fedora/mongo/base/error_codes.h:35, from src/mongo/base/status.h:33, from src/mongo/util/options_parser/value.h:33, from src/mongo/util/options_parser/value.cpp:28: In function 'memcpy', inlined from 'mongo::StringData::copyTo(char*, bool) const' at src/mongo/base/string_data.h:266:15, inlined from 'mongo::StringBuilderImpl::append(mongo::StringData)' at src/mongo/bson/util/builder.h:484:19, inlined from 'mongo::StringBuilderImpl::appendIntegral(int, int)mongo::StringBuilderImpl&' at src/mongo/bson/util/builder.h:518:19, inlined from 'mongo::StringBuilderImpl::appendIntegral(int, int)mongo::StringBuilderImpl&' at src/mongo/bson/util/builder.h:512:24, inlined from 'mongo::StringBuilderImpl::operator<<(int)' at src/mongo/bson/util/builder.h:402:30, inlined from 'mongo::optionenvironment::Value::toString[abi:cxx11]() const' at src/mongo/util/options_parser/value.cpp:231:19: /usr/include/bits/string_fortified.h:29:33: warning: 'memcpy' offset [0, 511] is out of the bounds [0, 0] [-Warray-bounds] 29 | return __builtin___memcpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 30 | __glibc_objsize0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'memcpy', inlined from 'mongo::StringData::copyTo(char*, bool) const' at src/mongo/base/string_data.h:266:15, inlined from 'mongo::StringBuilderImpl::append(mongo::StringData)' at src/mongo/bson/util/builder.h:484:19, inlined from 'mongo::StringBuilderImpl::appendIntegral(long, int)mongo::StringBuilderImpl&' at src/mongo/bson/util/builder.h:518:19, inlined from 'mongo::StringBuilderImpl::appendIntegral(long, int)mongo::StringBuilderImpl&' at src/mongo/bson/util/builder.h:512:24, inlined from 'mongo::StringBuilderImpl::operator<<(long)' at src/mongo/bson/util/builder.h:408:30, inlined from 'mongo::optionenvironment::Value::toString[abi:cxx11]() const' at src/mongo/util/options_parser/value.cpp:234:19: /usr/include/bits/string_fortified.h:29:33: warning: 'memcpy' offset [0, 511] is out of the bounds [0, 0] [-Warray-bounds] 29 | return __builtin___memcpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 30 | __glibc_objsize0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -o build/fedora/mongo/s/client/parallel.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/s/client/parallel.cpp g++ -o build/fedora/mongo/s/client/shard_connection.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/s/client/shard_connection.cpp In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/client/connection_string.h:38, from src/mongo/client/dbclientinterface.h:34, from src/mongo/s/client/parallel.h:33, from src/mongo/s/client/parallel.cpp:33: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/s/catalog_cache.h:377:21: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/s/catalog_cache.h:379:24: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/s/catalog_cache.h:379:24: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/s/catalog_cache.h:379:24: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/mongo/s/client/version_manager.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/s/client/version_manager.cpp In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/client/connection_string.h:38, from src/mongo/client/dbclientinterface.h:34, from src/mongo/client/dbclient_rs.h:34, from src/mongo/s/client/version_manager.cpp:35: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/s/catalog_cache.h:377:21: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/s/catalog_cache.h:379:24: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/s/catalog_cache.h:379:24: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/s/catalog_cache.h:379:24: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ ar rcsTD build/fedora/mongo/db/repl/libreplication_consistency_markers_idl.a build/fedora/mongo/db/repl/replication_consistency_markers_gen.o Skipping ranlib for thin archive build/fedora/mongo/db/repl/libreplication_consistency_markers_idl.a g++ -o build/fedora/third_party/icu4c-57.1/source/common/ushape.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/ushape.cpp gcc -o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_ops.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -DUSE_COMPILER_F80_TYPE=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -Dlinux=1 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_ops.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C g++ -o build/fedora/mongo/db/catalog/database_holder.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/catalog/database_holder.cpp ar rcsTD build/fedora/mongo/s/libsharding_legacy_api.a build/fedora/mongo/s/client/parallel.o build/fedora/mongo/s/client/shard_connection.o build/fedora/mongo/s/client/version_manager.o Skipping ranlib for thin archive build/fedora/mongo/s/libsharding_legacy_api.a g++ -o build/fedora/mongo/util/periodic_runner.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/asio-master/asio/include -Ibuild/fedora -Isrc src/mongo/util/periodic_runner.cpp ar rcsTD build/fedora/mongo/db/catalog/libdatabase_holder.a build/fedora/mongo/db/catalog/database_holder.o Skipping ranlib for thin archive build/fedora/mongo/db/catalog/libdatabase_holder.a g++ -o build/fedora/mongo/db/query/query_planner.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/query/query_planner.cpp ar rcsTD build/fedora/mongo/util/libperiodic_runner.a build/fedora/mongo/util/periodic_runner.o Skipping ranlib for thin archive build/fedora/mongo/util/libperiodic_runner.a g++ -o build/fedora/mongo/db/catalog/index_key_validate.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/catalog/index_key_validate.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/query_planner.h:32, from src/mongo/db/query/query_planner.cpp:33: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/bson_validate.h:35, from src/mongo/db/dbmessage.h:34, from src/mongo/db/query/canonical_query.h:33: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/matcher/expression_parser.h:35, from src/mongo/db/catalog/index_key_validate.cpp:44: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/db/index/index_descriptor.h:37, from src/mongo/db/catalog/index_key_validate.h:33, from src/mongo/db/catalog/index_key_validate.cpp:31: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call gcc -o build/fedora/third_party/wiredtiger/src/btree/col_modify.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/fedora/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/fedora/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/fedora/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/btree/col_modify.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C g++ -o build/fedora/mongo/db/storage/write_unit_of_work.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/storage/write_unit_of_work.cpp ar rcsTD build/fedora/mongo/db/storage/libwrite_unit_of_work.a build/fedora/mongo/db/storage/write_unit_of_work.o Skipping ranlib for thin archive build/fedora/mongo/db/storage/libwrite_unit_of_work.a g++ -o build/fedora/mongo/db/commands/killcursors_common.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/commands/killcursors_common.cpp g++ -o build/fedora/mongo/db/commands/kill_op_cmd_base.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/commands/kill_op_cmd_base.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/db/commands/killcursors_common.h:29, from src/mongo/db/commands/killcursors_common.cpp:31: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/bson/mutable/element.h:34, from src/mongo/db/auth/privilege.h:32, from src/mongo/db/commands.h:39: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/db/commands/kill_op_cmd_base.h:29, from src/mongo/db/commands/kill_op_cmd_base.cpp:31: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/bson/mutable/element.h:34, from src/mongo/db/auth/privilege.h:32, from src/mongo/db/commands.h:39: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ 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: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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call gcc -o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_log2.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -DUSE_COMPILER_F80_TYPE=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -Dlinux=1 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_log2.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C g++ -o build/fedora/mongo/db/storage/mmap_v1/logfile.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/storage/mmap_v1/logfile.cpp ar rcsTD build/fedora/mongo/db/commands/libkill_common.a build/fedora/mongo/db/commands/killcursors_common.o build/fedora/mongo/db/commands/kill_op_cmd_base.o Skipping ranlib for thin archive build/fedora/mongo/db/commands/libkill_common.a g++ -o build/fedora/mongo/logger/message_log_domain.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/logger/message_log_domain.cpp g++ -o build/fedora/third_party/icu4c-57.1/source/common/ucnvbocu.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/ucnvbocu.cpp g++ -o build/fedora/third_party/icu4c-57.1/source/common/normlzr.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/normlzr.cpp gcc -o build/fedora/third_party/icu4c-57.1/source/i18n/utmscale.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/utmscale.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C g++ -o build/fedora/mongo/rpc/metadata/egress_metadata_hook_list.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/rpc/metadata/egress_metadata_hook_list.cpp gcc -o build/fedora/third_party/wiredtiger/src/cache/cache_las.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/fedora/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/fedora/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/fedora/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/cache/cache_las.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C gcc -o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_log1p.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -DUSE_COMPILER_F80_TYPE=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -Dlinux=1 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_log1p.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C g++ -o build/fedora/mongo/db/fts/fts_index_format.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/fts/fts_index_format.cpp g++ -o build/fedora/mongo/db/ftdc/controller.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/ftdc/controller.cpp In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/bson/bsonelement_comparator_interface.h:32, from src/mongo/db/bson/dotted_path_support.h:34, from src/mongo/db/fts/fts_index_format.cpp:36: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, bool, mongo::StringMapTraits>': src/mongo/db/fts/stop_words.h:62:21: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = bool; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = bool; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = bool; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = bool; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/mongo/db/pipeline/document_source_check_invalidate.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/pipeline/document_source_check_invalidate.cpp /usr/bin/python3 src/mongo/db/fts/unicode/gen_casefold_map.py src/third_party/unicode-8.0.0/CaseFolding.txt build/fedora/mongo/db/fts/unicode/codepoints_casefold.cpp g++ -o build/fedora/mongo/db/fts/unicode/codepoints_casefold.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc build/fedora/mongo/db/fts/unicode/codepoints_casefold.cpp g++ -o build/fedora/mongo/db/repl/scatter_gather_algorithm.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/repl/scatter_gather_algorithm.cpp In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/bson/bsonobj.h:44, from src/mongo/bson/bsonobj_comparator_interface.h:32, from src/mongo/bson/simple_bsonobj_comparator.h:34, from src/mongo/db/pipeline/document_source.h:41, from src/mongo/db/pipeline/document_source_change_stream.h:31, from src/mongo/db/pipeline/document_source_check_invalidate.cpp:33: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/db/pipeline/document_source.h:44: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/third_party/icu4c-57.1/source/common/filteredbrk.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/filteredbrk.cpp g++ -o build/fedora/mongo/db/pipeline/document_source_sort_by_count.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/pipeline/document_source_sort_by_count.cpp src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/bson/bsonobj.h:44, from src/mongo/bson/bsonobj_comparator_interface.h:32, from src/mongo/bson/simple_bsonobj_comparator.h:34, from src/mongo/db/pipeline/document_source.h:41, from src/mongo/db/pipeline/document_source_sort_by_count.h:31, from src/mongo/db/pipeline/document_source_sort_by_count.cpp:31: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/db/pipeline/document_source.h:44: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ gcc -o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid_decimal_globals.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -DUSE_COMPILER_F80_TYPE=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -Dlinux=1 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid_decimal_globals.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C gcc -o build/fedora/third_party/wiredtiger/src/support/pow.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/fedora/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/fedora/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/fedora/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/support/pow.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C g++ -o build/fedora/third_party/icu4c-57.1/source/i18n/vtzone.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/vtzone.cpp g++ -o build/fedora/mongo/util/ntservice.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/asio-master/asio/include -Ibuild/fedora -Isrc src/mongo/util/ntservice.cpp gcc -o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_nexttowardd.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -DUSE_COMPILER_F80_TYPE=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -Dlinux=1 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_nexttowardd.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C g++ -o build/fedora/mongo/util/system_clock_source.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/util/system_clock_source.cpp g++ -o build/fedora/third_party/icu4c-57.1/source/i18n/selfmt.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/selfmt.cpp In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call /usr/bin/python3 buildscripts/idl/idlc.py --include src --base_dir build/fedora --target_arch x86_64 --header build/fedora/mongo/s/request_types/clone_catalog_data_gen.h --output build/fedora/mongo/s/request_types/clone_catalog_data_gen.cpp src/mongo/s/request_types/clone_catalog_data.idl g++ -o build/fedora/mongo/db/s/clone_catalog_data_command.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/s/clone_catalog_data_command.cpp g++ -o build/fedora/mongo/db/query/index_entry.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/query/index_entry.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/index_entry.cpp:33: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/db/query/index_entry.h:35, from src/mongo/db/query/index_entry.cpp:31: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/db/s/clone_catalog_data_command.cpp:35: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/db/server_options.h:30, from src/mongo/base/secure_allocator.h:40, from src/mongo/db/auth/authorization_manager.h:35, from src/mongo/db/auth/authorization_session.h:38, from src/mongo/db/s/clone_catalog_data_command.cpp:32: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/mongo/db/client.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/client.cpp src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/db/s/config/namespace_serializer.h:73:40: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call gcc -o build/fedora/third_party/icu4c-57.1/source/common/ures_cnv.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/ures_cnv.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C /usr/bin/python3 buildscripts/idl/idlc.py --include src --base_dir build/fedora --target_arch x86_64 --header build/fedora/mongo/db/free_mon/free_mon_protocol_gen.h --output build/fedora/mongo/db/free_mon/free_mon_protocol_gen.cpp src/mongo/db/free_mon/free_mon_protocol.idl g++ -o build/fedora/mongo/db/free_mon/free_mon_controller.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/free_mon/free_mon_controller.cpp g++ -o build/fedora/mongo/db/free_mon/free_mon_queue.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/free_mon/free_mon_queue.cpp g++ -o build/fedora/mongo/db/free_mon/free_mon_protocol_gen.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc build/fedora/mongo/db/free_mon/free_mon_protocol_gen.cpp g++ -o build/fedora/mongo/db/free_mon/free_mon_op_observer.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/free_mon/free_mon_op_observer.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from build/fedora/mongo/db/free_mon/free_mon_protocol_gen.cpp:16: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from build/fedora/mongo/db/free_mon/free_mon_protocol_gen.h:16, from build/fedora/mongo/db/free_mon/free_mon_protocol_gen.cpp:9: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/bson/bsonobj.h:44, from src/mongo/bson/bsonobj_comparator_interface.h:32, from src/mongo/bson/simple_bsonobj_comparator.h:34, from src/mongo/db/op_observer.h:34, from src/mongo/db/free_mon/free_mon_op_observer.h:32, from src/mongo/db/free_mon/free_mon_op_observer.cpp:31: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/plan_cache.h:35, from src/mongo/db/catalog/collection_info_cache.h:33, from src/mongo/db/catalog/collection.h:41, from src/mongo/db/op_observer.h:35: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ 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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, unsigned int, mongo::StringMapTraits>': src/mongo/db/op_observer.h:310:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from /usr/include/string.h:535, from /usr/include/c++/12/cstring:42, from src/mongo/base/data_range.h:30: In function 'memcpy', inlined from 'mongo::StringData::copyTo(char*, bool) const' at src/mongo/base/string_data.h:266:15, inlined from 'mongo::StringBuilderImpl::append(mongo::StringData)' at src/mongo/bson/util/builder.h:484:19, inlined from 'mongo::StringBuilderImpl::appendIntegral(int, int)mongo::StringBuilderImpl&' at src/mongo/bson/util/builder.h:518:19, inlined from 'mongo::StringBuilderImpl::appendIntegral(int, int)mongo::StringBuilderImpl&' at src/mongo/bson/util/builder.h:512:24, inlined from 'mongo::StringBuilderImpl::operator<<(int)' at src/mongo/bson/util/builder.h:402:30, inlined from 'mongo::BSONObjBuilder::numStr[abi:cxx11](int)' at src/mongo/bson/bsonobjbuilder.h:719:14, inlined from 'mongo::BSONObjBuilder::append, std::allocator > >(mongo::StringData, std::vector, std::allocator >, std::allocator, std::allocator > > > const&)mongo::BSONObjBuilder& [clone .isra.0]' at src/mongo/bson/bsonobjbuilder.h:958:26: /usr/include/bits/string_fortified.h:29:33: warning: 'memcpy' offset [0, 511] is out of the bounds [0, 0] [-Warray-bounds] 29 | return __builtin___memcpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 30 | __glibc_objsize0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/bin/python3 buildscripts/idl/idlc.py --include src --base_dir build/fedora --target_arch x86_64 --header build/fedora/mongo/db/free_mon/free_mon_commands_gen.h --output build/fedora/mongo/db/free_mon/free_mon_commands_gen.cpp src/mongo/db/free_mon/free_mon_commands.idl g++ -o build/fedora/mongo/db/free_mon/free_mon_commands_gen.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc build/fedora/mongo/db/free_mon/free_mon_commands_gen.cpp In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from build/fedora/mongo/db/free_mon/free_mon_commands_gen.cpp:16: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from build/fedora/mongo/db/free_mon/free_mon_commands_gen.h:16, from build/fedora/mongo/db/free_mon/free_mon_commands_gen.cpp:9: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/mongo/db/free_mon/free_mon_storage_gen.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc build/fedora/mongo/db/free_mon/free_mon_storage_gen.cpp In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from build/fedora/mongo/db/free_mon/free_mon_storage_gen.cpp:16: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from build/fedora/mongo/db/free_mon/free_mon_storage_gen.h:16, from build/fedora/mongo/db/free_mon/free_mon_storage_gen.cpp:9: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/mongo/db/free_mon/free_mon_processor.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/free_mon/free_mon_processor.cpp In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call gcc -o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_nearbyintd.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -DUSE_COMPILER_F80_TYPE=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -Dlinux=1 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_nearbyintd.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C g++ -o build/fedora/mongo/db/repl/repl_set_get_status_cmd.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/repl/repl_set_get_status_cmd.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/db/repl/repl_set_command.h:33, from src/mongo/db/repl/repl_set_get_status_cmd.cpp:31: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/bson_extract.h:35, from src/mongo/db/repl/repl_set_get_status_cmd.cpp:29: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call ar rcsTD build/fedora/mongo/db/free_mon/libfree_mon.a build/fedora/mongo/db/free_mon/free_mon_processor.o build/fedora/mongo/db/free_mon/free_mon_queue.o build/fedora/mongo/db/free_mon/free_mon_op_observer.o build/fedora/mongo/db/free_mon/free_mon_storage.o build/fedora/mongo/db/free_mon/free_mon_controller.o build/fedora/mongo/db/free_mon/free_mon_protocol_gen.o build/fedora/mongo/db/free_mon/free_mon_commands_gen.o build/fedora/mongo/db/free_mon/free_mon_storage_gen.o Skipping ranlib for thin archive build/fedora/mongo/db/free_mon/libfree_mon.a gcc -o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_frexp.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -DUSE_COMPILER_F80_TYPE=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -Dlinux=1 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_frexp.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C g++ -o build/fedora/mongo/db/service_entry_point_common.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/service_entry_point_common.cpp g++ -o build/fedora/mongo/client/remote_command_targeter_factory_impl.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/client/remote_command_targeter_factory_impl.cpp g++ -o build/fedora/mongo/util/options_parser/environment.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/asio-master/asio/include -Ibuild/fedora -Isrc src/mongo/util/options_parser/environment.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/db/service_entry_point_common.h:34, from src/mongo/db/service_entry_point_common.cpp:33: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/bson_validate.h:35, from src/mongo/db/dbmessage.h:34, from src/mongo/transport/service_entry_point.h:32, from src/mongo/transport/service_entry_point_impl.h:37, from src/mongo/db/service_entry_point_common.h:31: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from /usr/include/string.h:535, from /usr/include/c++/12/cstring:42, from src/mongo/base/string_data.h:33, from build/fedora/mongo/base/error_codes.h:35, from src/mongo/base/status.h:33, from src/mongo/util/options_parser/environment.h:33, from src/mongo/util/options_parser/environment.cpp:28: In function 'memcpy', inlined from 'mongo::StringData::copyTo(char*, bool) const' at src/mongo/base/string_data.h:266:15, inlined from 'mongo::StringBuilderImpl::append(mongo::StringData)' at src/mongo/bson/util/builder.h:484:19, inlined from 'mongo::StringBuilderImpl::appendIntegral(int, int)mongo::StringBuilderImpl&' at src/mongo/bson/util/builder.h:518:19, inlined from 'mongo::StringBuilderImpl::appendIntegral(int, int)mongo::StringBuilderImpl&' at src/mongo/bson/util/builder.h:512:24, inlined from 'mongo::StringBuilderImpl::operator<<(int)' at src/mongo/bson/util/builder.h:402:30, inlined from 'mongo::BSONObjBuilder::numStr[abi:cxx11](int)' at src/mongo/bson/bsonobjbuilder.h:719:14, inlined from 'mongo::BSONObjBuilder::append, std::allocator > >(mongo::StringData, std::vector, std::allocator >, std::allocator, std::allocator > > > const&)mongo::BSONObjBuilder&' at src/mongo/bson/bsonobjbuilder.h:958:26, inlined from 'mongo::optionenvironment::(anonymous namespace)::valueMapToBSON(std::map, std::allocator >, mongo::optionenvironment::Value, std::less, std::allocator > >, std::allocator, std::allocator > const, mongo::optionenvironment::Value> > > const&, mongo::BSONObjBuilder*, std::__cxx11::basic_string, std::allocator > const&) [clone .constprop.0]' at src/mongo/util/options_parser/environment.cpp:345:28: /usr/include/bits/string_fortified.h:29:33: warning: 'memcpy' offset [0, 511] is out of the bounds [0, 0] [-Warray-bounds] 29 | return __builtin___memcpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 30 | __glibc_objsize0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ChunkVersion, mongo::StringMapTraits>': src/mongo/db/s/operation_sharding_state.h:184:29: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ChunkVersion; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ChunkVersion; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ChunkVersion; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ChunkVersion; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::DatabaseVersion, mongo::StringMapTraits>': src/mongo/db/s/operation_sharding_state.h:185:32: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::DatabaseVersion; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::DatabaseVersion; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::DatabaseVersion; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::DatabaseVersion; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Top::CollectionData, mongo::StringMapTraits>': src/mongo/db/stats/top.h:150:14: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, int, mongo::StringMapTraits>': src/mongo/db/service_entry_point_common.cpp:111:22: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/mongo/s/balancer_configuration.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/s/balancer_configuration.cpp In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call g++ -o build/fedora/mongo/db/query/canonical_query.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/query/canonical_query.cpp ar rcsTD build/fedora/mongo/db/libservice_entry_point_common.a build/fedora/mongo/db/service_entry_point_common.o Skipping ranlib for thin archive build/fedora/mongo/db/libservice_entry_point_common.a g++ -o build/fedora/mongo/executor/connection_pool_stats.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/executor/connection_pool_stats.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/canonical_query.cpp:33: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/bson_validate.h:35, from src/mongo/db/dbmessage.h:34, from src/mongo/db/query/canonical_query.h:33: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/query/canonical_query.cpp:36: src/mongo/db/matcher/expression_array.h: In member function 'virtual std::unique_ptr mongo::ElemMatchObjectMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_array.h:85:25: warning: redundant move in return statement [-Wredundant-move] 85 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_array.h:85:25: note: remove 'std::move' call src/mongo/db/matcher/expression_array.h: In member function 'virtual std::unique_ptr mongo::ElemMatchValueMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_array.h:140:25: warning: redundant move in return statement [-Wredundant-move] 140 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_array.h:140:25: note: remove 'std::move' call src/mongo/db/matcher/expression_array.h: In member function 'virtual std::unique_ptr mongo::SizeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_array.h:177:25: warning: redundant move in return statement [-Wredundant-move] 177 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_array.h:177:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/db/query/canonical_query.cpp: In static member function 'static mongo::StatusWith > mongo::CanonicalQuery::canonicalize(mongo::OperationContext*, std::unique_ptr, const boost::intrusive_ptr&, const mongo::ExtensionsCallback&, mongo::MatchExpressionParser::AllowedFeatureSet)': src/mongo/db/query/canonical_query.cpp:177:21: warning: redundant move in return statement [-Wredundant-move] 177 | return std::move(cq); | ~~~~~~~~~^~~~ src/mongo/db/query/canonical_query.cpp:177:21: note: remove 'std::move' call src/mongo/db/query/canonical_query.cpp: In static member function 'static mongo::StatusWith > mongo::CanonicalQuery::canonicalize(mongo::OperationContext*, const mongo::CanonicalQuery&, mongo::MatchExpression*)': src/mongo/db/query/canonical_query.cpp:212:21: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(cq); | ~~~~~~~~~^~~~ src/mongo/db/query/canonical_query.cpp:212:21: note: remove 'std::move' call g++ -o build/fedora/mongo/db/fts/fts_util.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/fts/fts_util.cpp g++ -o build/fedora/mongo/db/auth/restriction_environment.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/auth/restriction_environment.cpp In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call g++ -o build/fedora/mongo/bson/bson_comparator_interface_base.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/bson/bson_comparator_interface_base.cpp g++ -o build/fedora/mongo/s/request_types/clone_catalog_data_gen.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc build/fedora/mongo/s/request_types/clone_catalog_data_gen.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from build/fedora/mongo/s/request_types/clone_catalog_data_gen.cpp:16: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from build/fedora/mongo/s/request_types/clone_catalog_data_gen.h:16, from build/fedora/mongo/s/request_types/clone_catalog_data_gen.cpp:9: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call g++ -o build/fedora/mongo/db/repl/storage_interface.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/repl/storage_interface.cpp In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/bson/timestamp.h:31, from src/mongo/db/repl/optime.h:33, from src/mongo/db/namespace_string.h:38, from src/mongo/db/client.h:43, from src/mongo/db/repl/storage_interface.cpp:31: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/plan_cache.h:35, from src/mongo/db/catalog/collection_info_cache.h:33, from src/mongo/db/catalog/collection.h:41, from src/mongo/db/repl/storage_interface.h:40, from src/mongo/db/repl/storage_interface.cpp:33: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, unsigned int, mongo::StringMapTraits>': src/mongo/db/op_observer.h:310:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call g++ -o build/fedora/third_party/icu4c-57.1/source/common/punycode.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/punycode.cpp g++ -o build/fedora/mongo/db/system_index.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/system_index.cpp ar rcsTD build/fedora/mongo/db/repl/libstorage_interface.a build/fedora/mongo/db/repl/storage_interface.o Skipping ranlib for thin archive build/fedora/mongo/db/repl/libstorage_interface.a gcc -o build/fedora/third_party/wiredtiger/src/reconcile/rec_track.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/fedora/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/fedora/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/fedora/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/reconcile/rec_track.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C g++ -o build/fedora/mongo/db/commands/isself.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/commands/isself.cpp In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/client/index_spec.h:35, from src/mongo/db/system_index.cpp:37: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/plan_cache.h:35, from src/mongo/db/catalog/collection_info_cache.h:33, from src/mongo/db/catalog/collection.h:41, from src/mongo/db/system_index.cpp:40: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/db/commands/isself.cpp:34: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/bson/mutable/element.h:34, from src/mongo/db/auth/privilege.h:32, from src/mongo/db/commands.h:39: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ 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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ 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: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/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ 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: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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, unsigned int, mongo::StringMapTraits>': src/mongo/db/op_observer.h:310:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long unsigned int, mongo::StringMapTraits>': src/mongo/db/views/view_graph.h:177:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/db/views/view_catalog.h:174:13: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Collection*, mongo::StringMapTraits>': src/mongo/db/catalog/database.h:165:38: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Top::CollectionData, mongo::StringMapTraits>': src/mongo/db/stats/top.h:150:14: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call g++ -o build/fedora/mongo/db/pipeline/resume_token.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/pipeline/resume_token.cpp In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/resume_token.h:36, from src/mongo/db/pipeline/resume_token.cpp:31: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ g++ -o build/fedora/mongo/db/auth/user_name.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/auth/user_name.cpp gcc -o build/fedora/third_party/wiredtiger/src/txn/txn_ext.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/fedora/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/fedora/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/fedora/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/txn/txn_ext.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C ar rcsTD build/fedora/mongo/db/auth/libuser_name.a build/fedora/mongo/db/auth/user_name.o Skipping ranlib for thin archive build/fedora/mongo/db/auth/libuser_name.a g++ -o build/fedora/mongo/s/catalog/sharding_catalog_client.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/s/catalog/sharding_catalog_client.cpp g++ -o build/fedora/mongo/db/s/sharding_state_command.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/s/sharding_state_command.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/db/s/sharding_state_command.cpp:36: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/bson/mutable/element.h:34, from src/mongo/db/auth/privilege.h:32, from src/mongo/db/s/sharding_state_command.cpp:35: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ ar rcsTD build/fedora/mongo/s/catalog/libsharding_catalog_client.a build/fedora/mongo/s/catalog/sharding_catalog_client.o Skipping ranlib for thin archive build/fedora/mongo/s/catalog/libsharding_catalog_client.a gcc -o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_exp2.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -DUSE_COMPILER_F80_TYPE=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -Dlinux=1 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_exp2.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C g++ -o build/fedora/mongo/bson/simple_bsonobj_comparator.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/bson/simple_bsonobj_comparator.cpp src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/mongo/db/storage/mmap_v1/record_access_tracker.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/storage/mmap_v1/record_access_tracker.cpp In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call g++ -o build/fedora/mongo/db/storage/kv/kv_storage_engine.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/storage/kv/kv_storage_engine.cpp g++ -o build/fedora/third_party/icu4c-57.1/source/common/resbund.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/resbund.cpp g++ -o build/fedora/mongo/base/validate_locale.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/base/validate_locale.cpp gcc -o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_atan2.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -DUSE_COMPILER_F80_TYPE=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -Dlinux=1 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_atan2.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C g++ -o build/fedora/mongo/client/mongo_uri_connect.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/asio-master/asio/include -Ibuild/fedora -Isrc src/mongo/client/mongo_uri_connect.cpp ar rcsTD build/fedora/mongo/db/storage/kv/libkv_storage_engine.a build/fedora/mongo/db/storage/kv/kv_storage_engine.o Skipping ranlib for thin archive build/fedora/mongo/db/storage/kv/libkv_storage_engine.a g++ -o build/fedora/mongo/db/concurrency/write_conflict_exception.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/concurrency/write_conflict_exception.cpp g++ -o build/fedora/third_party/icu4c-57.1/source/i18n/pluralaffix.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/pluralaffix.cpp g++ -o build/fedora/mongo/db/s/merge_chunks_command.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/s/merge_chunks_command.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/db/curop.h:35, from src/mongo/db/concurrency/write_conflict_exception.h:36, from src/mongo/db/concurrency/write_conflict_exception.cpp:33: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/bson/mutable/element.h:34, from src/mongo/db/auth/privilege.h:32, from src/mongo/db/commands.h:39: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/db/server_options.h:30, from src/mongo/base/secure_allocator.h:40, from src/mongo/db/auth/authorization_manager.h:35, from src/mongo/db/auth/authorization_session.h:38, from src/mongo/db/s/merge_chunks_command.cpp:34: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/plan_cache.h:35, from src/mongo/db/catalog/collection_info_cache.h:33, from src/mongo/db/catalog/collection.h:41, from src/mongo/db/catalog_raii.h:32, from src/mongo/db/s/merge_chunks_command.cpp:36: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, unsigned int, mongo::StringMapTraits>': src/mongo/db/op_observer.h:310:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long unsigned int, mongo::StringMapTraits>': src/mongo/db/views/view_graph.h:177:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/db/views/view_catalog.h:174:13: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Collection*, mongo::StringMapTraits>': src/mongo/db/catalog/database.h:165:38: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/mongo/db/storage/mmap_v1/mmap_v1_options.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/storage/mmap_v1/mmap_v1_options.cpp g++ -o build/fedora/mongo/db/commands/end_sessions_gen.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc build/fedora/mongo/db/commands/end_sessions_gen.cpp In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from build/fedora/mongo/db/commands/end_sessions_gen.cpp:16: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from build/fedora/mongo/db/commands/end_sessions_gen.h:16, from build/fedora/mongo/db/commands/end_sessions_gen.cpp:9: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call gcc -o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_atan.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -DUSE_COMPILER_F80_TYPE=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -Dlinux=1 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_atan.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C gcc -o build/fedora/third_party/wiredtiger/src/os_common/os_errno.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/fedora/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/fedora/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/fedora/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/os_common/os_errno.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C g++ -o build/fedora/mongo/util/concurrency/thread_name.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/util/concurrency/thread_name.cpp g++ -o build/fedora/mongo/db/write_concern.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/write_concern.cpp g++ -o build/fedora/mongo/db/repl/repl_set_command.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/repl/repl_set_command.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/db/repl/repl_set_command.h:33, from src/mongo/db/repl/repl_set_command.cpp:31: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/bson/mutable/element.h:34, from src/mongo/db/auth/privilege.h:32, from src/mongo/db/commands.h:39: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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 ar rcsTD build/fedora/mongo/db/librw_concern_d.a build/fedora/mongo/db/read_concern.o build/fedora/mongo/db/write_concern.o Skipping ranlib for thin archive build/fedora/mongo/db/librw_concern_d.a g++ -o build/fedora/mongo/s/query/router_stage_pipeline.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/s/query/router_stage_pipeline.cpp src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/bson/bsonobj.h:44, from src/mongo/s/query/router_exec_stage.h:35, from src/mongo/s/query/router_stage_pipeline.h:31, from src/mongo/s/query/router_stage_pipeline.cpp:31: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/db/pipeline/document_source.h:44, from src/mongo/s/query/router_stage_pipeline.h:33: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ ar rcsTD build/fedora/mongo/db/repl/librepl_set_status_commands.a build/fedora/mongo/db/repl/repl_set_command.o build/fedora/mongo/db/repl/repl_set_get_status_cmd.o Skipping ranlib for thin archive build/fedora/mongo/db/repl/librepl_set_status_commands.a gcc -o build/fedora/third_party/wiredtiger/src/os_posix/os_thread.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/fedora/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/fedora/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/fedora/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/os_posix/os_thread.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C gcc -o build/fedora/third_party/wiredtiger/src/meta/meta_ckpt.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/fedora/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/fedora/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/fedora/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/meta/meta_ckpt.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C g++ -o build/fedora/mongo/db/pipeline/parsed_add_fields.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/pipeline/parsed_add_fields.cpp In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/pipeline/expression.h:40, from src/mongo/db/pipeline/parsed_add_fields.h:33, from src/mongo/db/pipeline/parsed_add_fields.cpp:31: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/bson/bsonmisc.h:32, from src/mongo/db/pipeline/value_internal.h:35: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/pipeline/expression.h:103:32: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/mongo/db/catalog/drop_collection.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/catalog/drop_collection.cpp In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/db/pipeline/document_source.h:44, from src/mongo/db/pipeline/document_source_single_document_transformation.h:31, from src/mongo/db/pipeline/parsed_aggregation_projection.h:37, from src/mongo/db/pipeline/parsed_add_fields.h:35: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, boost::intrusive_ptr, mongo::StringMapTraits>': src/mongo/db/pipeline/parsed_inclusion_projection.h:171:49: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = boost::intrusive_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = boost::intrusive_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = boost::intrusive_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = boost::intrusive_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/db/curop.h:35, from src/mongo/db/concurrency/write_conflict_exception.h:36, from src/mongo/db/catalog/drop_collection.cpp:38: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/bson/timestamp.h:31, from src/mongo/db/repl/optime.h:33, from src/mongo/db/namespace_string.h:38, from src/mongo/db/background.h:43, from src/mongo/db/catalog/drop_collection.cpp:35: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59:30: 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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: 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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, unsigned int, mongo::StringMapTraits>': src/mongo/db/op_observer.h:310:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long unsigned int, mongo::StringMapTraits>': src/mongo/db/views/view_graph.h:177:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/db/views/view_catalog.h:174:13: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Collection*, mongo::StringMapTraits>': src/mongo/db/catalog/database.h:165:38: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Top::CollectionData, mongo::StringMapTraits>': src/mongo/db/stats/top.h:150:14: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ gcc -o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_expm1.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -DUSE_COMPILER_F80_TYPE=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -Dlinux=1 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_expm1.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C g++ -o build/fedora/mongo/db/pipeline/parsed_aggregation_projection.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/pipeline/parsed_aggregation_projection.cpp In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/pipeline/parsed_aggregation_projection.h:36, from src/mongo/db/pipeline/parsed_aggregation_projection.cpp:31: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/db/pipeline/document_source.h:44, from src/mongo/db/pipeline/document_source_single_document_transformation.h:31, from src/mongo/db/pipeline/parsed_aggregation_projection.h:37: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, boost::intrusive_ptr, mongo::StringMapTraits>': src/mongo/db/pipeline/parsed_inclusion_projection.h:171:49: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = boost::intrusive_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = boost::intrusive_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = boost::intrusive_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = boost::intrusive_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/mongo/idl/idl_parser.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/idl/idl_parser.cpp In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call ar rcsTD build/fedora/mongo/idl/libidl_parser.a build/fedora/mongo/idl/idl_parser.o Skipping ranlib for thin archive build/fedora/mongo/idl/libidl_parser.a g++ -o build/fedora/mongo/db/repl/repl_settings.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/repl/repl_settings.cpp gcc -o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_2_str_tables.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -DUSE_COMPILER_F80_TYPE=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -Dlinux=1 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_2_str_tables.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C g++ -o build/fedora/mongo/db/stats/fill_locker_info.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/stats/fill_locker_info.cpp ar rcsTD build/fedora/mongo/db/repl/librepl_settings.a build/fedora/mongo/db/repl/repl_settings.o build/fedora/mongo/db/repl/repl_settings_init.o Skipping ranlib for thin archive build/fedora/mongo/db/repl/librepl_settings.a gcc -o build/fedora/third_party/icu4c-57.1/source/common/usc_impl.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/usc_impl.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C g++ -o build/fedora/third_party/icu4c-57.1/source/i18n/strrepl.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/strrepl.cpp g++ -o build/fedora/mongo/db/auth/authorization_manager_impl.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/auth/authorization_manager_impl.cpp ar rcsTD build/fedora/mongo/db/stats/libfill_locker_info.a build/fedora/mongo/db/stats/fill_locker_info.o Skipping ranlib for thin archive build/fedora/mongo/db/stats/libfill_locker_info.a g++ -o build/fedora/mongo/db/auth/authz_manager_external_state.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/auth/authz_manager_external_state.cpp g++ -o build/fedora/mongo/db/auth/user_set.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/auth/user_set.cpp g++ -o build/fedora/mongo/db/auth/authorization_session_impl.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/auth/authorization_session_impl.cpp g++ -o build/fedora/third_party/s2/s1angle.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -DDEBUG_MODE=false -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/third_party/s2/s1angle.cc gcc -o build/fedora/third_party/wiredtiger/src/cursor/cur_file.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/fedora/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/fedora/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/fedora/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/cursor/cur_file.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C g++ -o build/fedora/mongo/db/repl/rslog.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/repl/rslog.cpp g++ -o build/fedora/mongo/util/elapsed_tracker.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/asio-master/asio/include -Ibuild/fedora -Isrc src/mongo/util/elapsed_tracker.cpp g++ -o build/fedora/third_party/icu4c-57.1/source/common/filterednormalizer2.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/filterednormalizer2.cpp gcc -o build/fedora/third_party/wiredtiger/src/session/session_salvage.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/fedora/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/fedora/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/fedora/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/session/session_salvage.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C g++ -o build/fedora/mongo/db/commands.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/commands.cpp ar rcsTD build/fedora/mongo/db/auth/libauth_impl_internal.a build/fedora/mongo/db/auth/authorization_manager_impl.o build/fedora/mongo/db/auth/authorization_session_impl.o build/fedora/mongo/db/auth/authz_manager_external_state.o build/fedora/mongo/db/auth/authz_session_external_state.o build/fedora/mongo/db/auth/user_set.o Skipping ranlib for thin archive build/fedora/mongo/db/auth/libauth_impl_internal.a g++ -o build/fedora/third_party/icu4c-57.1/source/common/uvectr64.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/uvectr64.cpp gcc -o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_exp.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -DUSE_COMPILER_F80_TYPE=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -Dlinux=1 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_exp.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C g++ -o build/fedora/mongo/client/connection_string_connect.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/asio-master/asio/include -Ibuild/fedora -Isrc src/mongo/client/connection_string_connect.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/db/commands.cpp:33: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/bson/mutable/element.h:34, from src/mongo/db/auth/privilege.h:32, from src/mongo/db/commands.h:39: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/client/connection_string_connect.cpp: In member function 'std::unique_ptr mongo::ConnectionString::connect(mongo::StringData, std::string&, double, const mongo::MongoURI*) const': src/mongo/client/connection_string_connect.cpp:69:33: warning: redundant move in return statement [-Wredundant-move] 69 | return std::move(c); | ~~~~~~~~~^~~ src/mongo/client/connection_string_connect.cpp:69:33: note: remove 'std::move' call src/mongo/client/connection_string_connect.cpp:82:29: warning: redundant move in return statement [-Wredundant-move] 82 | return std::move(set); | ~~~~~~~~~^~~~~ src/mongo/client/connection_string_connect.cpp:82:29: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/mongo/db/repl/member_config.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/repl/member_config.cpp In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/bson/util/bson_check.h:33, from src/mongo/db/repl/member_config.cpp:35: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/net/hostandport.h:35, from src/mongo/db/repl/member_config.h:36, from src/mongo/db/repl/member_config.cpp:31: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/mongo/db/logical_clock.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/logical_clock.cpp src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, bool, mongo::StringMapTraits>': src/mongo/bson/util/bson_check.h:62:43: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = bool; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = bool; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = bool; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = bool; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call ar rcsTD build/fedora/mongo/db/liblogical_clock.a build/fedora/mongo/db/logical_clock.o Skipping ranlib for thin archive build/fedora/mongo/db/liblogical_clock.a g++ -o build/fedora/mongo/db/repl/oplogreader.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/repl/oplogreader.cpp g++ -o build/fedora/mongo/db/storage/oplog_hack.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/storage/oplog_hack.cpp ar rcsTD build/fedora/mongo/db/storage/liboplog_hack.a build/fedora/mongo/db/storage/oplog_hack.o Skipping ranlib for thin archive build/fedora/mongo/db/storage/liboplog_hack.a g++ -o build/fedora/mongo/db/storage/mmap_v1/file_allocator.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/storage/mmap_v1/file_allocator.cpp ar rcsTD build/fedora/mongo/db/repl/liboplogreader.a build/fedora/mongo/db/repl/oplogreader.o Skipping ranlib for thin archive build/fedora/mongo/db/repl/liboplogreader.a g++ -o build/fedora/mongo/util/options_parser/startup_option_init.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/asio-master/asio/include -Ibuild/fedora -Isrc src/mongo/util/options_parser/startup_option_init.cpp g++ -o build/fedora/mongo/util/options_parser/option_section.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/asio-master/asio/include -Ibuild/fedora -Isrc src/mongo/util/options_parser/option_section.cpp ar rcsTD build/fedora/mongo/db/storage/mmap_v1/libfile_allocator.a build/fedora/mongo/db/storage/mmap_v1/file_allocator.o Skipping ranlib for thin archive build/fedora/mongo/db/storage/mmap_v1/libfile_allocator.a g++ -o build/fedora/mongo/util/options_parser/constraints.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/asio-master/asio/include -Ibuild/fedora -Isrc src/mongo/util/options_parser/constraints.cpp g++ -o build/fedora/mongo/db/fts/stop_words.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/fts/stop_words.cpp In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/db/fts/fts_util.h:35, from src/mongo/db/fts/fts_language.h:37, from src/mongo/db/fts/stop_words.h:37, from src/mongo/db/fts/stop_words.cpp:34: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, bool, mongo::StringMapTraits>': src/mongo/db/fts/stop_words.h:62:21: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = bool; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = bool; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = bool; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = bool; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/db/fts/stop_words.cpp:46:39: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::set >, mongo::StringMapTraits>': src/mongo/db/fts/stop_words.cpp:67:38: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::set >; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::set >; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::set >; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::set >; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ ar rcsTD build/fedora/mongo/util/options_parser/liboptions_parser.a build/fedora/mongo/util/options_parser/environment.o build/fedora/mongo/util/options_parser/value.o build/fedora/mongo/util/options_parser/constraints.o build/fedora/mongo/util/options_parser/option_section.o build/fedora/mongo/util/options_parser/option_description.o build/fedora/mongo/util/options_parser/options_parser.o build/fedora/mongo/util/options_parser/startup_option_init.o build/fedora/mongo/util/options_parser/startup_options.o Skipping ranlib for thin archive build/fedora/mongo/util/options_parser/liboptions_parser.a g++ -o build/fedora/third_party/icu4c-57.1/source/i18n/uspoof_wsconf.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/uspoof_wsconf.cpp g++ -o build/fedora/mongo/transport/transport_layer_manager.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/asio-master/asio/include -Ibuild/fedora -Isrc src/mongo/transport/transport_layer_manager.cpp g++ -o build/fedora/third_party/icu4c-57.1/source/i18n/toupptrn.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/toupptrn.cpp g++ -o build/fedora/mongo/db/query/view_response_formatter.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/query/view_response_formatter.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/query_solution.h:36, from src/mongo/db/query/plan_executor.h:37, from src/mongo/db/clientcursor.h:38, from src/mongo/db/query/cursor_response.h:36, from src/mongo/db/query/view_response_formatter.cpp:36: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/bson/bsonobj.h:44, from src/mongo/db/query/view_response_formatter.h:31, from src/mongo/db/query/view_response_formatter.cpp:31: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36, from src/mongo/db/query/plan_cache.h:35, from src/mongo/db/query/query_solution.h:38: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call gcc -o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_rem.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -DUSE_COMPILER_F80_TYPE=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -Dlinux=1 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_rem.c 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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C 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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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 g++ -o build/fedora/mongo/db/storage/mmap_v1/record_store_v1_capped_iterator.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/storage/mmap_v1/record_store_v1_capped_iterator.cpp src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/db/storage/mmap_v1/diskloc.h:40, from src/mongo/db/storage/mmap_v1/record_store_v1_capped_iterator.h:31, from src/mongo/db/storage/mmap_v1/record_store_v1_capped_iterator.cpp:29: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/plan_cache.h:35, from src/mongo/db/catalog/collection_info_cache.h:33, from src/mongo/db/catalog/collection.h:41, from src/mongo/db/storage/mmap_v1/record_store_v1_capped_iterator.cpp:31: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/mongo/db/update/update_internal_node.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/update/update_internal_node.cpp src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, unsigned int, mongo::StringMapTraits>': src/mongo/db/op_observer.h:310:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/mongo/db/repl/dbcheck.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/repl/dbcheck.cpp In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/bson/bsonelement_comparator_interface.h:32, from src/mongo/bson/simple_bsonelement_comparator.h:31, from src/mongo/db/repl/dbcheck.cpp:31: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/plan_cache.h:35, from src/mongo/db/catalog/collection_info_cache.h:33, from src/mongo/db/catalog/collection.h:41, from src/mongo/db/catalog/database.h:38, from src/mongo/db/repl/dbcheck.cpp:33: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/mongo/db/repl/dbcheck_idl.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/repl/dbcheck_idl.cpp src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ gcc -o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_to_int8.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -DUSE_COMPILER_F80_TYPE=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -Dlinux=1 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_to_int8.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C g++ -o build/fedora/third_party/icu4c-57.1/source/i18n/csr2022.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/csr2022.cpp g++ -o build/fedora/third_party/icu4c-57.1/source/common/errorcode.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/errorcode.cpp src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, unsigned int, mongo::StringMapTraits>': src/mongo/db/op_observer.h:310:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/mongo/s/catalog/type_chunk.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/s/catalog/type_chunk.cpp src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long unsigned int, mongo::StringMapTraits>': src/mongo/db/views/view_graph.h:177:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/db/views/view_catalog.h:174:13: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Collection*, mongo::StringMapTraits>': src/mongo/db/catalog/database.h:165:38: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::vector, mongo::StringMapTraits>': src/mongo/db/catalog/uuid_catalog.h:234:44: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::vector; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::vector; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::vector; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::vector; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Top::CollectionData, mongo::StringMapTraits>': src/mongo/db/stats/top.h:150:14: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call In file included from /usr/include/string.h:535, from /usr/include/c++/12/cstring:42, from /usr/include/boost/container/detail/copy_move_algo.hpp:38, from /usr/include/boost/container/detail/advanced_insert_int.hpp:28, from /usr/include/boost/container/vector.hpp:32, from /usr/include/boost/container/detail/flat_tree.hpp:30, from /usr/include/boost/container/flat_set.hpp:29, from src/mongo/bson/bson_comparator_interface_base.h:31, from src/mongo/bson/bsonelement_comparator_interface.h:31: In function 'memcpy', inlined from 'mongo::StringData::copyTo(char*, bool) const' at src/mongo/base/string_data.h:266:15, inlined from 'mongo::StringBuilderImpl::append(mongo::StringData)' at src/mongo/bson/util/builder.h:484:19, inlined from 'mongo::StringBuilderImpl::appendIntegral(int, int)mongo::StringBuilderImpl&' at src/mongo/bson/util/builder.h:518:19, inlined from 'mongo::StringBuilderImpl::appendIntegral(int, int)mongo::StringBuilderImpl&' at src/mongo/bson/util/builder.h:512:24, inlined from 'mongo::StringBuilderImpl::operator<<(int)' at src/mongo/bson/util/builder.h:402:30, inlined from 'mongo::BSONObjBuilder::numStr[abi:cxx11](int)' at src/mongo/bson/bsonobjbuilder.h:719:14, inlined from 'mongo::BSONObjBuilder::append(mongo::StringData, std::vector > const&)mongo::BSONObjBuilder& [clone .isra.0]' at src/mongo/bson/bsonobjbuilder.h:958:26: /usr/include/bits/string_fortified.h:29:33: warning: 'memcpy' offset [0, 511] is out of the bounds [0, 0] [-Warray-bounds] 29 | return __builtin___memcpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 30 | __glibc_objsize0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -o build/fedora/mongo/db/unclean_shutdown.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/unclean_shutdown.cpp ar rcsTD build/fedora/mongo/db/repl/libdbcheck.a build/fedora/mongo/db/repl/dbcheck.o build/fedora/mongo/db/repl/dbcheck_idl.o build/fedora/mongo/db/repl/dbcheck_gen.o Skipping ranlib for thin archive build/fedora/mongo/db/repl/libdbcheck.a g++ -o build/fedora/third_party/icu4c-57.1/source/common/servlkf.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/servlkf.cpp g++ -o build/fedora/mongo/util/signal_handlers_synchronous.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/util/signal_handlers_synchronous.cpp g++ -o build/fedora/third_party/icu4c-57.1/source/i18n/nfsubs.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/nfsubs.cpp g++ -o build/fedora/third_party/icu4c-57.1/source/i18n/gregoimp.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/gregoimp.cpp g++ -o build/fedora/mongo/executor/task_executor.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/executor/task_executor.cpp g++ -o build/fedora/mongo/db/auth/impersonation_session.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/auth/impersonation_session.cpp g++ -o build/fedora/mongo/db/db_raii.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/db_raii.cpp In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/bson/timestamp.h:31, from src/mongo/db/catalog/collection.h:39, from src/mongo/db/catalog_raii.h:32, from src/mongo/db/db_raii.h:33, from src/mongo/db/db_raii.cpp:33: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/plan_cache.h:35, from src/mongo/db/catalog/collection_info_cache.h:33, from src/mongo/db/catalog/collection.h:41: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/mongo/db/repl/data_replicator_external_state_initial_sync.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/repl/data_replicator_external_state_initial_sync.cpp src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, unsigned int, mongo::StringMapTraits>': src/mongo/db/op_observer.h:310:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long unsigned int, mongo::StringMapTraits>': src/mongo/db/views/view_graph.h:177:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/db/repl/multiapplier.h:40, from src/mongo/db/repl/data_replicator_external_state.h:33, from src/mongo/db/repl/data_replicator_external_state_impl.h:31, from src/mongo/db/repl/data_replicator_external_state_initial_sync.h:31, from src/mongo/db/repl/data_replicator_external_state_initial_sync.cpp:31: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/db/views/view_catalog.h:174:13: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Collection*, mongo::StringMapTraits>': src/mongo/db/catalog/database.h:165:38: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/plan_cache.h:35, from src/mongo/db/catalog/collection_info_cache.h:33, from src/mongo/db/catalog/collection.h:41, from src/mongo/db/repl/storage_interface.h:40, from src/mongo/db/repl/oplog_applier.h:43, from src/mongo/db/repl/data_replicator_external_state.h:34: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Top::CollectionData, mongo::StringMapTraits>': src/mongo/db/stats/top.h:150:14: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, unsigned int, mongo::StringMapTraits>': src/mongo/db/op_observer.h:310:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::repl::ReplSetTagPattern, mongo::StringMapTraits>': src/mongo/db/repl/repl_set_config.h:402:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::repl::ReplSetTagPattern; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::repl::ReplSetTagPattern; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::repl::ReplSetTagPattern; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::repl::ReplSetTagPattern; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call g++ -o build/fedora/third_party/icu4c-57.1/source/i18n/rbt_rule.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/rbt_rule.cpp ar rcsTD build/fedora/mongo/db/repl/liboplog_buffer_collection.a build/fedora/mongo/db/repl/oplog_buffer_collection.o Skipping ranlib for thin archive build/fedora/mongo/db/repl/liboplog_buffer_collection.a ar rcsTD build/fedora/mongo/rpc/libaudit_metadata.a build/fedora/mongo/rpc/metadata/audit_metadata.o Skipping ranlib for thin archive build/fedora/mongo/rpc/libaudit_metadata.a g++ -o build/fedora/mongo/db/pipeline/document_source_sample.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/pipeline/document_source_sample.cpp ar rcsTD build/fedora/mongo/db/repl/libdata_replicator_external_state_initial_sync.a build/fedora/mongo/db/repl/data_replicator_external_state_initial_sync.o Skipping ranlib for thin archive build/fedora/mongo/db/repl/libdata_replicator_external_state_initial_sync.a g++ -o build/fedora/third_party/icu4c-57.1/source/common/locutil.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/locutil.cpp gcc -o build/fedora/third_party/wiredtiger/src/txn/txn.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/fedora/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/fedora/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/fedora/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/txn/txn.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C g++ -o build/fedora/mongo/db/index_names.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/index_names.cpp In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/bson/bsonobj.h:44, from src/mongo/bson/bsonobj_comparator_interface.h:32, from src/mongo/bson/simple_bsonobj_comparator.h:34, from src/mongo/db/pipeline/document_source.h:41, from src/mongo/db/pipeline/document_source_sample.h:31, from src/mongo/db/pipeline/document_source_sample.cpp:31: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/db/pipeline/document_source.h:44: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ gcc -o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_logb.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -DUSE_COMPILER_F80_TYPE=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -Dlinux=1 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_logb.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C g++ -o build/fedora/third_party/icu4c-57.1/source/common/rbbidata.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/rbbidata.cpp src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ gcc -o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_pow.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -DUSE_COMPILER_F80_TYPE=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -Dlinux=1 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_pow.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C gcc -o build/fedora/third_party/wiredtiger/src/cursor/cur_join.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/fedora/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/fedora/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/fedora/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/cursor/cur_join.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C gcc -o build/fedora/third_party/wiredtiger/src/btree/bt_ovfl.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/fedora/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/fedora/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/fedora/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/btree/bt_ovfl.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C gcc -o build/fedora/third_party/wiredtiger/src/async/async_op.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/fedora/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/fedora/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/fedora/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/async/async_op.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call gcc -o build/fedora/third_party/wiredtiger/src/schema/schema_drop.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/fedora/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/fedora/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/fedora/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/schema/schema_drop.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C gcc -o build/fedora/third_party/wiredtiger/src/cursor/cur_index.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/fedora/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/fedora/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/fedora/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/cursor/cur_index.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C gcc -o build/fedora/third_party/wiredtiger/src/support/global.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/fedora/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/fedora/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/fedora/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/support/global.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C gcc -o build/fedora/third_party/wiredtiger/src/btree/bt_delete.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/fedora/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/fedora/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/fedora/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/btree/bt_delete.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C gcc -o build/fedora/third_party/wiredtiger/src/async/async_worker.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/fedora/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/fedora/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/fedora/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/async/async_worker.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C gcc -o build/fedora/third_party/wiredtiger/src/os_common/os_fs_inmemory.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/fedora/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/fedora/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/fedora/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/os_common/os_fs_inmemory.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C gcc -o build/fedora/third_party/wiredtiger/src/btree/bt_cursor.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/fedora/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/fedora/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/fedora/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/btree/bt_cursor.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C gcc -o build/fedora/third_party/wiredtiger/src/packing/pack_impl.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/fedora/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/fedora/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/fedora/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/packing/pack_impl.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C gcc -o build/fedora/third_party/wiredtiger/src/cursor/cur_stat.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/fedora/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/fedora/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/fedora/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/cursor/cur_stat.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C gcc -o build/fedora/third_party/wiredtiger/src/os_posix/os_getenv.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/fedora/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/fedora/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/fedora/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/os_posix/os_getenv.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C gcc -o build/fedora/third_party/wiredtiger/src/txn/txn_ckpt.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/fedora/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/fedora/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/fedora/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/txn/txn_ckpt.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C gcc -o build/fedora/third_party/wiredtiger/src/cursor/cur_metadata.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/fedora/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/fedora/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/fedora/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/cursor/cur_metadata.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C gcc -o build/fedora/third_party/wiredtiger/src/btree/row_srch.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/fedora/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/fedora/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/fedora/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/btree/row_srch.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C gcc -o build/fedora/third_party/wiredtiger/src/support/huffman.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/fedora/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/fedora/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/fedora/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/support/huffman.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C gcc -o build/fedora/third_party/wiredtiger/src/block/block_write.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/fedora/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/fedora/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/fedora/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/block/block_write.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C gcc -o build/fedora/third_party/wiredtiger/src/conn/conn_dhandle.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/fedora/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/fedora/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/fedora/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/conn/conn_dhandle.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C gcc -o build/fedora/third_party/wiredtiger/src/lsm/lsm_stat.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/fedora/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/fedora/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/fedora/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/lsm/lsm_stat.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C gcc -o build/fedora/third_party/wiredtiger/src/meta/meta_turtle.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/fedora/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/fedora/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/fedora/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/meta/meta_turtle.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C gcc -o build/fedora/third_party/wiredtiger/src/schema/schema_list.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/fedora/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/fedora/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/fedora/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/schema/schema_list.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C gcc -o build/fedora/third_party/wiredtiger/src/btree/bt_rebalance.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/fedora/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/fedora/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/fedora/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/btree/bt_rebalance.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C gcc -o build/fedora/third_party/wiredtiger/src/block/block_compact.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/fedora/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/fedora/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/fedora/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/block/block_compact.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C gcc -o build/fedora/third_party/wiredtiger/src/support/hash_fnv.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/fedora/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/fedora/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/fedora/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/support/hash_fnv.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C gcc -o build/fedora/third_party/wiredtiger/src/support/mtx_rw.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/fedora/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/fedora/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/fedora/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/support/mtx_rw.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C gcc -o build/fedora/third_party/wiredtiger/src/txn/txn_timestamp.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/fedora/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/fedora/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/fedora/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/txn/txn_timestamp.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C gcc -o build/fedora/third_party/wiredtiger/src/btree/bt_split.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/fedora/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/fedora/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/fedora/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/btree/bt_split.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C gcc -o build/fedora/third_party/wiredtiger/src/conn/conn_cache.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/fedora/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/fedora/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/fedora/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/conn/conn_cache.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C gcc -o build/fedora/third_party/wiredtiger/src/btree/row_key.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/fedora/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/fedora/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/fedora/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/btree/row_key.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C gcc -o build/fedora/third_party/wiredtiger/src/support/crypto.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/fedora/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/fedora/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/fedora/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/support/crypto.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C gcc -o build/fedora/third_party/wiredtiger/src/btree/bt_debug.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/fedora/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/fedora/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/fedora/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/btree/bt_debug.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C gcc -o build/fedora/third_party/wiredtiger/src/cursor/cur_config.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/fedora/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/fedora/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/fedora/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/cursor/cur_config.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C gcc -o build/fedora/third_party/wiredtiger/src/btree/bt_misc.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/fedora/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/fedora/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/fedora/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/btree/bt_misc.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C gcc -o build/fedora/third_party/wiredtiger/src/session/session_dhandle.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/fedora/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/fedora/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/fedora/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/session/session_dhandle.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C gcc -o build/fedora/third_party/wiredtiger/src/btree/bt_stat.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/fedora/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/fedora/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/fedora/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/btree/bt_stat.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C gcc -o build/fedora/third_party/wiredtiger/src/bloom/bloom.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/fedora/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/fedora/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/fedora/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/bloom/bloom.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C gcc -o build/fedora/third_party/wiredtiger/src/os_common/os_fstream.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/fedora/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/fedora/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/fedora/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/os_common/os_fstream.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C gcc -o build/fedora/third_party/wiredtiger/src/support/hex.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/fedora/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/fedora/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/fedora/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/support/hex.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C gcc -o build/fedora/third_party/wiredtiger/src/session/session_api.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/fedora/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/fedora/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/fedora/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/session/session_api.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C gcc -o build/fedora/third_party/wiredtiger/src/log/log.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/fedora/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/fedora/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/fedora/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/log/log.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C gcc -o build/fedora/third_party/wiredtiger/src/schema/schema_open.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/fedora/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/fedora/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/fedora/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/schema/schema_open.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C gcc -o build/fedora/third_party/wiredtiger/src/meta/meta_table.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/fedora/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/fedora/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/fedora/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/meta/meta_table.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C gcc -o build/fedora/third_party/wiredtiger/src/lsm/lsm_work_unit.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/fedora/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/fedora/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/fedora/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/lsm/lsm_work_unit.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C gcc -o build/fedora/third_party/wiredtiger/src/conn/conn_open.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/fedora/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/fedora/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/fedora/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/conn/conn_open.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C gcc -o build/fedora/third_party/wiredtiger/src/os_posix/os_map.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/fedora/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/fedora/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/fedora/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/os_posix/os_map.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C gcc -o build/fedora/third_party/wiredtiger/src/lsm/lsm_meta.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/fedora/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/fedora/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/fedora/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/lsm/lsm_meta.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C gcc -o build/fedora/third_party/wiredtiger/src/meta/meta_track.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/fedora/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/fedora/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/fedora/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/meta/meta_track.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C gcc -o build/fedora/third_party/wiredtiger/src/config/config_api.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/fedora/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/fedora/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/fedora/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/config/config_api.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C gcc -o build/fedora/third_party/wiredtiger/src/support/generation.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/fedora/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/fedora/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/fedora/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/support/generation.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C gcc -o build/fedora/third_party/wiredtiger/src/block/block_map.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/fedora/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/fedora/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/fedora/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/block/block_map.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C gcc -o build/fedora/third_party/wiredtiger/src/support/time.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/fedora/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/fedora/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/fedora/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/support/time.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C gcc -o build/fedora/third_party/wiredtiger/src/btree/bt_io.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/fedora/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/fedora/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/fedora/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/btree/bt_io.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C gcc -o build/fedora/third_party/wiredtiger/src/schema/schema_worker.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/fedora/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/fedora/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/fedora/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/schema/schema_worker.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C gcc -o build/fedora/third_party/wiredtiger/src/packing/pack_api.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/fedora/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/fedora/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/fedora/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/packing/pack_api.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C gcc -o build/fedora/third_party/wiredtiger/src/config/config_check.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/fedora/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/fedora/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/fedora/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/config/config_check.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C gcc -o build/fedora/third_party/wiredtiger/src/schema/schema_util.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/fedora/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/fedora/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/fedora/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/schema/schema_util.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C gcc -o build/fedora/third_party/wiredtiger/src/block/block_addr.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/fedora/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/fedora/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/fedora/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/block/block_addr.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C gcc -o build/fedora/third_party/wiredtiger/src/txn/txn_rollback_to_stable.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/fedora/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/fedora/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/fedora/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/txn/txn_rollback_to_stable.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C gcc -o build/fedora/third_party/wiredtiger/src/btree/col_srch.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/fedora/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/fedora/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/fedora/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/btree/col_srch.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C gcc -o build/fedora/third_party/wiredtiger/src/btree/bt_read.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/fedora/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/fedora/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/fedora/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/btree/bt_read.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C gcc -o build/fedora/third_party/wiredtiger/src/log/log_auto.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/fedora/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/fedora/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/fedora/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/log/log_auto.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C gcc -o build/fedora/third_party/wiredtiger/src/evict/evict_lru.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/fedora/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/fedora/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/fedora/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/evict/evict_lru.c gcc -o build/fedora/third_party/wiredtiger/src/btree/bt_ret.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/fedora/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/fedora/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/fedora/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/btree/bt_ret.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C gcc -o build/fedora/third_party/wiredtiger/src/os_posix/os_dlopen.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/fedora/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/fedora/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/fedora/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/os_posix/os_dlopen.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C gcc -o build/fedora/third_party/wiredtiger/src/txn/txn_nsnap.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/fedora/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/fedora/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/fedora/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/txn/txn_nsnap.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C In file included from src/third_party/wiredtiger/src/include/wt_internal.h:327, from src/third_party/wiredtiger/src/evict/evict_lru.c:9: In function '__wt_atomic_subi32', inlined from '__evict_walk' at src/third_party/wiredtiger/src/evict/evict_lru.c:1518:9, inlined from '__evict_lru_walk' at src/third_party/wiredtiger/src/evict/evict_lru.c:1244:13, inlined from '__evict_pass' at src/third_party/wiredtiger/src/evict/evict_lru.c:714:4, inlined from '__evict_server' at src/third_party/wiredtiger/src/evict/evict_lru.c:384:2, inlined from '__wt_evict_thread_run' at src/third_party/wiredtiger/src/evict/evict_lru.c:290:9: src/third_party/wiredtiger/src/include/gcc.h:154:17: warning: '__sync_sub_and_fetch_4' writing 4 bytes into a region of size 0 overflows the destination [-Wstringop-overflow=] 154 | return (__sync_sub_and_fetch(vp, v)); \ | ^~~~~~~~~~~~~~~~~~~~ gcc -o build/fedora/third_party/wiredtiger/src/support/cond_auto.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/fedora/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/fedora/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/fedora/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/support/cond_auto.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C gcc -o build/fedora/third_party/wiredtiger/src/os_common/os_getopt.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/fedora/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/fedora/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/fedora/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/os_common/os_getopt.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C gcc -o build/fedora/third_party/wiredtiger/src/checksum/x86/crc32-x86.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/fedora/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/fedora/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/fedora/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/checksum/x86/crc32-x86.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C gcc -o build/fedora/third_party/wiredtiger/src/session/session_compact.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/fedora/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/fedora/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/fedora/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/session/session_compact.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C gcc -o build/fedora/third_party/wiredtiger/src/block/block_read.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/fedora/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/fedora/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/fedora/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/block/block_read.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C gcc -o build/fedora/third_party/wiredtiger/src/reconcile/rec_write.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/fedora/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/fedora/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/fedora/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/reconcile/rec_write.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C gcc -o build/fedora/third_party/wiredtiger/src/lsm/lsm_tree.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/fedora/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/fedora/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/fedora/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/lsm/lsm_tree.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C gcc -o build/fedora/third_party/wiredtiger/src/lsm/lsm_cursor_bulk.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/fedora/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/fedora/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/fedora/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/lsm/lsm_cursor_bulk.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C gcc -o build/fedora/third_party/wiredtiger/src/config/config_upgrade.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/fedora/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/fedora/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/fedora/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/config/config_upgrade.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C gcc -o build/fedora/third_party/wiredtiger/src/block/block_slvg.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/fedora/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/fedora/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/fedora/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/block/block_slvg.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C gcc -o build/fedora/third_party/wiredtiger/src/btree/bt_sync.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/fedora/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/fedora/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/fedora/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/btree/bt_sync.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C gcc -o build/fedora/third_party/wiredtiger/src/txn/txn_recover.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/fedora/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/fedora/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/fedora/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/txn/txn_recover.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C gcc -o build/fedora/third_party/wiredtiger/src/meta/meta_ext.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/fedora/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/fedora/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/fedora/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/meta/meta_ext.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C gcc -o build/fedora/third_party/wiredtiger/src/txn/txn_log.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/fedora/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/fedora/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/fedora/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/txn/txn_log.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C gcc -o build/fedora/third_party/wiredtiger/src/os_posix/os_path.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/fedora/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/fedora/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/fedora/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/os_posix/os_path.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C gcc -o build/fedora/third_party/wiredtiger/src/block/block_ext.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/fedora/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/fedora/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/fedora/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/block/block_ext.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C gcc -o build/fedora/third_party/wiredtiger/src/config/config.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/fedora/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/fedora/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/fedora/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/config/config.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C gcc -o build/fedora/third_party/wiredtiger/src/os_posix/os_sleep.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/fedora/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/fedora/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/fedora/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/os_posix/os_sleep.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C gcc -o build/fedora/third_party/wiredtiger/src/config/config_collapse.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/fedora/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/fedora/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/fedora/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/config/config_collapse.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C gcc -o build/fedora/third_party/wiredtiger/src/packing/pack_stream.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/fedora/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/fedora/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/fedora/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/packing/pack_stream.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C gcc -o build/fedora/third_party/wiredtiger/src/conn/conn_reconfig.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/fedora/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/fedora/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/fedora/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/conn/conn_reconfig.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C gcc -o build/fedora/third_party/wiredtiger/src/os_posix/os_mtx_cond.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/fedora/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/fedora/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/fedora/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/os_posix/os_mtx_cond.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C gcc -o build/fedora/third_party/wiredtiger/src/conn/conn_api.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/fedora/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/fedora/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/fedora/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/conn/conn_api.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C gcc -o build/fedora/third_party/wiredtiger/src/optrack/optrack.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/fedora/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/fedora/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/fedora/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/optrack/optrack.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C gcc -o build/fedora/third_party/wiredtiger/src/btree/bt_huffman.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/fedora/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/fedora/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/fedora/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/btree/bt_huffman.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C gcc -o build/fedora/third_party/wiredtiger/src/cursor/cur_dump.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/fedora/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/fedora/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/fedora/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/cursor/cur_dump.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C gcc -o build/fedora/third_party/wiredtiger/src/os_common/os_fhandle.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/fedora/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/fedora/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/fedora/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/os_common/os_fhandle.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C gcc -o build/fedora/third_party/wiredtiger/src/os_common/filename.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/fedora/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/fedora/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/fedora/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/os_common/filename.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C gcc -o build/fedora/third_party/wiredtiger/src/os_posix/os_dir.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/fedora/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/fedora/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/fedora/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/os_posix/os_dir.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C gcc -o build/fedora/third_party/wiredtiger/src/evict/evict_page.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/fedora/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/fedora/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/fedora/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/evict/evict_page.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C gcc -o build/fedora/third_party/wiredtiger/src/btree/bt_vrfy_dsk.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/fedora/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/fedora/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/fedora/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/btree/bt_vrfy_dsk.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C gcc -o build/fedora/third_party/wiredtiger/src/support/err.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/fedora/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/fedora/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/fedora/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/support/err.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C gcc -o build/fedora/third_party/wiredtiger/src/log/log_sys.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/fedora/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/fedora/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/fedora/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/log/log_sys.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C gcc -o build/fedora/third_party/wiredtiger/src/conn/conn_handle.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/fedora/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/fedora/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/fedora/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/conn/conn_handle.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C gcc -o build/fedora/third_party/wiredtiger/src/block/block_vrfy.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/fedora/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/fedora/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/fedora/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/block/block_vrfy.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C gcc -o build/fedora/third_party/wiredtiger/src/support/thread_group.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/fedora/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/fedora/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/fedora/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/support/thread_group.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C gcc -o build/fedora/third_party/wiredtiger/src/async/async_api.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/fedora/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/fedora/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/fedora/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/async/async_api.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C gcc -o build/fedora/third_party/wiredtiger/src/conn/conn_ckpt.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/fedora/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/fedora/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/fedora/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/conn/conn_ckpt.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C gcc -o build/fedora/third_party/wiredtiger/src/evict/evict_stat.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/fedora/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/fedora/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/fedora/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/evict/evict_stat.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C gcc -o build/fedora/third_party/wiredtiger/src/support/scratch.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/fedora/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/fedora/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/fedora/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/support/scratch.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C gcc -o build/fedora/third_party/wiredtiger/src/log/log_slot.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/fedora/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/fedora/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/fedora/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/log/log_slot.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C gcc -o build/fedora/third_party/wiredtiger/src/checksum/software/checksum.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/fedora/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/fedora/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/fedora/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/checksum/software/checksum.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C gcc -o build/fedora/third_party/wiredtiger/src/conn/conn_log.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/fedora/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/fedora/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/fedora/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/conn/conn_log.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C gcc -o build/fedora/third_party/wiredtiger/src/os_posix/os_fs.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/fedora/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/fedora/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/fedora/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/os_posix/os_fs.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C gcc -o build/fedora/third_party/wiredtiger/src/os_posix/os_once.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/fedora/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/fedora/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/fedora/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/os_posix/os_once.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C gcc -o build/fedora/third_party/wiredtiger/src/lsm/lsm_merge.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/fedora/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/fedora/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/fedora/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/lsm/lsm_merge.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C gcc -o build/fedora/third_party/wiredtiger/src/os_posix/os_fallocate.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/fedora/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/fedora/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/fedora/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/os_posix/os_fallocate.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C gcc -o build/fedora/third_party/wiredtiger/src/config/config_ext.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/fedora/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/fedora/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/fedora/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/config/config_ext.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C gcc -o build/fedora/third_party/wiredtiger/src/support/modify.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/fedora/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/fedora/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/fedora/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/support/modify.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C gcc -o build/fedora/third_party/wiredtiger/src/conn/api_version.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/fedora/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/fedora/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/fedora/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/conn/api_version.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C gcc -o build/fedora/third_party/wiredtiger/src/conn/conn_cache_pool.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/fedora/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/fedora/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/fedora/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/conn/conn_cache_pool.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C gcc -o build/fedora/third_party/wiredtiger/src/schema/schema_plan.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/fedora/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/fedora/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/fedora/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/schema/schema_plan.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C gcc -o build/fedora/third_party/wiredtiger/src/btree/bt_upgrade.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/fedora/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/fedora/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/fedora/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/btree/bt_upgrade.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C gcc -o build/fedora/third_party/wiredtiger/src/cursor/cur_log.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/fedora/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/fedora/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/fedora/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/cursor/cur_log.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C gcc -o build/fedora/third_party/wiredtiger/src/os_common/os_alloc.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/fedora/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/fedora/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/fedora/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/os_common/os_alloc.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C gcc -o build/fedora/third_party/wiredtiger/src/schema/schema_truncate.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/fedora/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/fedora/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/fedora/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/schema/schema_truncate.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C gcc -o build/fedora/third_party/wiredtiger/src/block/block_open.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/fedora/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/fedora/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/fedora/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/block/block_open.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C gcc -o build/fedora/third_party/wiredtiger/src/os_posix/os_time.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/fedora/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/fedora/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/fedora/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/os_posix/os_time.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C gcc -o build/fedora/third_party/wiredtiger/src/conn/conn_sweep.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/fedora/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/fedora/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/fedora/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/conn/conn_sweep.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C gcc -o build/fedora/third_party/wiredtiger/src/conn/conn_stat.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/fedora/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/fedora/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/fedora/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/conn/conn_stat.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C gcc -o build/fedora/third_party/wiredtiger/src/schema/schema_alter.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/fedora/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/fedora/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/fedora/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/schema/schema_alter.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C gcc -o build/fedora/third_party/wiredtiger/src/btree/bt_random.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/fedora/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/fedora/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/fedora/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/btree/bt_random.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C gcc -o build/fedora/third_party/wiredtiger/src/meta/meta_apply.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/fedora/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/fedora/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/fedora/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/meta/meta_apply.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C gcc -o build/fedora/third_party/wiredtiger/src/os_posix/os_pagesize.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/fedora/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/fedora/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/fedora/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/os_posix/os_pagesize.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C gcc -o build/fedora/third_party/wiredtiger/src/lsm/lsm_cursor.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/fedora/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/fedora/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/fedora/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/lsm/lsm_cursor.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C g++ -o build/fedora/third_party/s2/util/coding/coder.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Isrc/third_party/s2 -Isrc/third_party/gflags-2.0/src -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/third_party/s2/util/coding/coder.cc ar rcsTD build/fedora/third_party/s2/util/coding/libcoding.a build/fedora/third_party/s2/util/coding/coder.o build/fedora/third_party/s2/util/coding/varint.o Skipping ranlib for thin archive build/fedora/third_party/s2/util/coding/libcoding.a g++ -o build/fedora/mongo/util/net/ssl_manager.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/asio-master/asio/include -Ibuild/fedora -Isrc src/mongo/util/net/ssl_manager.cpp Using tempfile /tmp/tmpsmzjm8ti.lnk for command line: ar rcsTD build/fedora/third_party/wiredtiger/libwiredtiger.a build/fedora/third_party/wiredtiger/src/async/async_api.o build/fedora/third_party/wiredtiger/src/async/async_op.o build/fedora/third_party/wiredtiger/src/async/async_worker.o build/fedora/third_party/wiredtiger/src/block/block_addr.o build/fedora/third_party/wiredtiger/src/block/block_ckpt.o build/fedora/third_party/wiredtiger/src/block/block_compact.o build/fedora/third_party/wiredtiger/src/block/block_ext.o build/fedora/third_party/wiredtiger/src/block/block_map.o build/fedora/third_party/wiredtiger/src/block/block_mgr.o build/fedora/third_party/wiredtiger/src/block/block_open.o build/fedora/third_party/wiredtiger/src/block/block_read.o build/fedora/third_party/wiredtiger/src/block/block_session.o build/fedora/third_party/wiredtiger/src/block/block_slvg.o build/fedora/third_party/wiredtiger/src/block/block_vrfy.o build/fedora/third_party/wiredtiger/src/block/block_write.o build/fedora/third_party/wiredtiger/src/bloom/bloom.o build/fedora/third_party/wiredtiger/src/btree/bt_compact.o build/fedora/third_party/wiredtiger/src/btree/bt_curnext.o build/fedora/third_party/wiredtiger/src/btree/bt_curprev.o build/fedora/third_party/wiredtiger/src/btree/bt_cursor.o build/fedora/third_party/wiredtiger/src/btree/bt_debug.o build/fedora/third_party/wiredtiger/src/btree/bt_delete.o build/fedora/third_party/wiredtiger/src/btree/bt_discard.o build/fedora/third_party/wiredtiger/src/btree/bt_handle.o build/fedora/third_party/wiredtiger/src/btree/bt_huffman.o build/fedora/third_party/wiredtiger/src/btree/bt_io.o build/fedora/third_party/wiredtiger/src/btree/bt_misc.o build/fedora/third_party/wiredtiger/src/btree/bt_ovfl.o build/fedora/third_party/wiredtiger/src/btree/bt_page.o build/fedora/third_party/wiredtiger/src/btree/bt_random.o build/fedora/third_party/wiredtiger/src/btree/bt_read.o build/fedora/third_party/wiredtiger/src/btree/bt_rebalance.o build/fedora/third_party/wiredtiger/src/btree/bt_ret.o build/fedora/third_party/wiredtiger/src/btree/bt_slvg.o build/fedora/third_party/wiredtiger/src/btree/bt_split.o build/fedora/third_party/wiredtiger/src/btree/bt_stat.o build/fedora/third_party/wiredtiger/src/btree/bt_sync.o build/fedora/third_party/wiredtiger/src/btree/bt_upgrade.o build/fedora/third_party/wiredtiger/src/btree/bt_vrfy.o build/fedora/third_party/wiredtiger/src/btree/bt_vrfy_dsk.o build/fedora/third_party/wiredtiger/src/btree/bt_walk.o build/fedora/third_party/wiredtiger/src/btree/col_modify.o build/fedora/third_party/wiredtiger/src/btree/col_srch.o build/fedora/third_party/wiredtiger/src/btree/row_key.o build/fedora/third_party/wiredtiger/src/btree/row_modify.o build/fedora/third_party/wiredtiger/src/btree/row_srch.o build/fedora/third_party/wiredtiger/src/cache/cache_las.o build/fedora/third_party/wiredtiger/src/checksum/software/checksum.o build/fedora/third_party/wiredtiger/src/checksum/x86/crc32-x86.o build/fedora/third_party/wiredtiger/src/config/config.o build/fedora/third_party/wiredtiger/src/config/config_api.o build/fedora/third_party/wiredtiger/src/config/config_check.o build/fedora/third_party/wiredtiger/src/config/config_collapse.o build/fedora/third_party/wiredtiger/src/config/config_def.o build/fedora/third_party/wiredtiger/src/config/config_ext.o build/fedora/third_party/wiredtiger/src/config/config_upgrade.o build/fedora/third_party/wiredtiger/src/conn/api_strerror.o build/fedora/third_party/wiredtiger/src/conn/api_version.o build/fedora/third_party/wiredtiger/src/conn/conn_api.o build/fedora/third_party/wiredtiger/src/conn/conn_cache.o build/fedora/third_party/wiredtiger/src/conn/conn_cache_pool.o build/fedora/third_party/wiredtiger/src/conn/conn_ckpt.o build/fedora/third_party/wiredtiger/src/conn/conn_dhandle.o build/fedora/third_party/wiredtiger/src/conn/conn_handle.o build/fedora/third_party/wiredtiger/src/conn/conn_log.o build/fedora/third_party/wiredtiger/src/conn/conn_open.o build/fedora/third_party/wiredtiger/src/conn/conn_reconfig.o build/fedora/third_party/wiredtiger/src/conn/conn_stat.o build/fedora/third_party/wiredtiger/src/conn/conn_sweep.o build/fedora/third_party/wiredtiger/src/cursor/cur_backup.o build/fedora/third_party/wiredtiger/src/cursor/cur_bulk.o build/fedora/third_party/wiredtiger/src/cursor/cur_config.o build/fedora/third_party/wiredtiger/src/cursor/cur_ds.o build/fedora/third_party/wiredtiger/src/cursor/cur_dump.o build/fedora/third_party/wiredtiger/src/cursor/cur_file.o build/fedora/third_party/wiredtiger/src/cursor/cur_index.o build/fedora/third_party/wiredtiger/src/cursor/cur_join.o build/fedora/third_party/wiredtiger/src/cursor/cur_json.o build/fedora/third_party/wiredtiger/src/cursor/cur_log.o build/fedora/third_party/wiredtiger/src/cursor/cur_metadata.o build/fedora/third_party/wiredtiger/src/cursor/cur_stat.o build/fedora/third_party/wiredtiger/src/cursor/cur_std.o build/fedora/third_party/wiredtiger/src/cursor/cur_table.o build/fedora/third_party/wiredtiger/src/evict/evict_file.o build/fedora/third_party/wiredtiger/src/evict/evict_lru.o build/fedora/third_party/wiredtiger/src/evict/evict_page.o build/fedora/third_party/wiredtiger/src/evict/evict_stat.o build/fedora/third_party/wiredtiger/src/log/log.o build/fedora/third_party/wiredtiger/src/log/log_auto.o build/fedora/third_party/wiredtiger/src/log/log_slot.o build/fedora/third_party/wiredtiger/src/log/log_sys.o build/fedora/third_party/wiredtiger/src/lsm/lsm_cursor.o build/fedora/third_party/wiredtiger/src/lsm/lsm_cursor_bulk.o build/fedora/third_party/wiredtiger/src/lsm/lsm_manager.o build/fedora/third_party/wiredtiger/src/lsm/lsm_merge.o build/fedora/third_party/wiredtiger/src/lsm/lsm_meta.o build/fedora/third_party/wiredtiger/src/lsm/lsm_stat.o build/fedora/third_party/wiredtiger/src/lsm/lsm_tree.o build/fedora/third_party/wiredtiger/src/lsm/lsm_work_unit.o build/fedora/third_party/wiredtiger/src/lsm/lsm_worker.o build/fedora/third_party/wiredtiger/src/meta/meta_apply.o build/fedora/third_party/wiredtiger/src/meta/meta_ckpt.o build/fedora/third_party/wiredtiger/src/meta/meta_ext.o build/fedora/third_party/wiredtiger/src/meta/meta_table.o build/fedora/third_party/wiredtiger/src/meta/meta_track.o build/fedora/third_party/wiredtiger/src/meta/meta_turtle.o build/fedora/third_party/wiredtiger/src/optrack/optrack.o build/fedora/third_party/wiredtiger/src/os_common/filename.o build/fedora/third_party/wiredtiger/src/os_common/os_abort.o build/fedora/third_party/wiredtiger/src/os_common/os_alloc.o build/fedora/third_party/wiredtiger/src/os_common/os_errno.o build/fedora/third_party/wiredtiger/src/os_common/os_fhandle.o build/fedora/third_party/wiredtiger/src/os_common/os_fs_inmemory.o build/fedora/third_party/wiredtiger/src/os_common/os_fstream.o build/fedora/third_party/wiredtiger/src/os_common/os_fstream_stdio.o build/fedora/third_party/wiredtiger/src/os_common/os_getopt.o build/fedora/third_party/wiredtiger/src/os_common/os_strtouq.o build/fedora/third_party/wiredtiger/src/os_posix/os_dir.o build/fedora/third_party/wiredtiger/src/os_posix/os_dlopen.o build/fedora/third_party/wiredtiger/src/os_posix/os_fallocate.o build/fedora/third_party/wiredtiger/src/os_posix/os_fs.o build/fedora/third_party/wiredtiger/src/os_posix/os_getenv.o build/fedora/third_party/wiredtiger/src/os_posix/os_map.o build/fedora/third_party/wiredtiger/src/os_posix/os_mtx_cond.o build/fedora/third_party/wiredtiger/src/os_posix/os_once.o build/fedora/third_party/wiredtiger/src/os_posix/os_pagesize.o build/fedora/third_party/wiredtiger/src/os_posix/os_path.o build/fedora/third_party/wiredtiger/src/os_posix/os_priv.o build/fedora/third_party/wiredtiger/src/os_posix/os_setvbuf.o build/fedora/third_party/wiredtiger/src/os_posix/os_sleep.o build/fedora/third_party/wiredtiger/src/os_posix/os_snprintf.o build/fedora/third_party/wiredtiger/src/os_posix/os_thread.o build/fedora/third_party/wiredtiger/src/os_posix/os_time.o build/fedora/third_party/wiredtiger/src/os_posix/os_yield.o build/fedora/third_party/wiredtiger/src/packing/pack_api.o build/fedora/third_party/wiredtiger/src/packing/pack_impl.o build/fedora/third_party/wiredtiger/src/packing/pack_stream.o build/fedora/third_party/wiredtiger/src/reconcile/rec_track.o build/fedora/third_party/wiredtiger/src/reconcile/rec_write.o build/fedora/third_party/wiredtiger/src/schema/schema_alter.o build/fedora/third_party/wiredtiger/src/schema/schema_create.o build/fedora/third_party/wiredtiger/src/schema/schema_drop.o build/fedora/third_party/wiredtiger/src/schema/schema_list.o build/fedora/third_party/wiredtiger/src/schema/schema_open.o build/fedora/third_party/wiredtiger/src/schema/schema_plan.o build/fedora/third_party/wiredtiger/src/schema/schema_project.o build/fedora/third_party/wiredtiger/src/schema/schema_rename.o build/fedora/third_party/wiredtiger/src/schema/schema_stat.o build/fedora/third_party/wiredtiger/src/schema/schema_truncate.o build/fedora/third_party/wiredtiger/src/schema/schema_util.o build/fedora/third_party/wiredtiger/src/schema/schema_worker.o build/fedora/third_party/wiredtiger/src/session/session_api.o build/fedora/third_party/wiredtiger/src/session/session_compact.o build/fedora/third_party/wiredtiger/src/session/session_dhandle.o build/fedora/third_party/wiredtiger/src/session/session_salvage.o build/fedora/third_party/wiredtiger/src/support/cond_auto.o build/fedora/third_party/wiredtiger/src/support/crypto.o build/fedora/third_party/wiredtiger/src/support/err.o build/fedora/third_party/wiredtiger/src/support/generation.o build/fedora/third_party/wiredtiger/src/support/global.o build/fedora/third_party/wiredtiger/src/support/hash_city.o build/fedora/third_party/wiredtiger/src/support/hash_fnv.o build/fedora/third_party/wiredtiger/src/support/hazard.o build/fedora/third_party/wiredtiger/src/support/hex.o build/fedora/third_party/wiredtiger/src/support/huffman.o build/fedora/third_party/wiredtiger/src/support/modify.o build/fedora/third_party/wiredtiger/src/support/mtx_rw.o build/fedora/third_party/wiredtiger/src/support/pow.o build/fedora/third_party/wiredtiger/src/support/rand.o build/fedora/third_party/wiredtiger/src/support/scratch.o build/fedora/third_party/wiredtiger/src/support/stat.o build/fedora/third_party/wiredtiger/src/support/thread_group.o build/fedora/third_party/wiredtiger/src/support/time.o build/fedora/third_party/wiredtiger/src/txn/txn.o build/fedora/third_party/wiredtiger/src/txn/txn_ckpt.o build/fedora/third_party/wiredtiger/src/txn/txn_ext.o build/fedora/third_party/wiredtiger/src/txn/txn_log.o build/fedora/third_party/wiredtiger/src/txn/txn_nsnap.o build/fedora/third_party/wiredtiger/src/txn/txn_recover.o build/fedora/third_party/wiredtiger/src/txn/txn_rollback_to_stable.o build/fedora/third_party/wiredtiger/src/txn/txn_timestamp.o build/fedora/third_party/wiredtiger/ext/compressors/zlib/zlib_compress.o build/fedora/third_party/wiredtiger/ext/compressors/snappy/snappy_compress.o ar @/tmp/tmpsmzjm8ti.lnk Skipping ranlib for thin archive build/fedora/third_party/wiredtiger/libwiredtiger.a g++ -o build/fedora/mongo/bson/bsontypes.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/bson/bsontypes.cpp In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/bsontypes.cpp:30: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::BSONType, mongo::StringMapTraits>': src/mongo/bson/bsontypes.cpp:96:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::BSONType; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::BSONType; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::BSONType; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::BSONType; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/mongo/db/commands/fsync.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/commands/fsync.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/db/commands/server_status.h:33, from src/mongo/util/net/ssl_manager.cpp:42: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/bson/bsonobj.h:44, from src/mongo/util/net/ssl_manager.h:40, from src/mongo/util/net/ssl_manager.cpp:33: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/db/commands/fsync.cpp:45: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/bson/bsonobj.h:44, from src/mongo/db/commands/fsync.cpp:37: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call ar rcsTD build/fedora/mongo/db/commands/libmongod_fsync.a build/fedora/mongo/db/commands/fsync.o Skipping ranlib for thin archive build/fedora/mongo/db/commands/libmongod_fsync.a g++ -o build/fedora/third_party/s2/s2cell.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -DDEBUG_MODE=false -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/third_party/s2/s2cell.cc g++ -o build/fedora/mongo/client/dbclient_rs.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/asio-master/asio/include -Ibuild/fedora -Isrc src/mongo/client/dbclient_rs.cpp g++ -o build/fedora/mongo/db/pipeline/document_source_bucket_auto.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/pipeline/document_source_bucket_auto.cpp In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/client/connection_string.h:38, from src/mongo/client/dbclientinterface.h:34, from src/mongo/client/dbclient_rs.h:34, from src/mongo/client/dbclient_rs.cpp:32: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::weak_ptr, mongo::StringMapTraits>': src/mongo/client/replica_set_monitor_manager.h:101:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::weak_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::weak_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::weak_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::weak_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/pipeline/expression.h:40, from src/mongo/db/pipeline/accumulator.h:39, from src/mongo/db/pipeline/accumulation_statement.h:34, from src/mongo/db/pipeline/document_source_bucket_auto.h:31, from src/mongo/db/pipeline/document_source_bucket_auto.cpp:31: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/pipeline/accumulation_statement.h:33: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/pipeline/expression.h:103:32: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/db/pipeline/document_source.h:44, from src/mongo/db/pipeline/document_source_bucket_auto.h:33: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call gcc -o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_acos.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -DUSE_COMPILER_F80_TYPE=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -Dlinux=1 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_acos.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C g++ -o build/fedora/third_party/icu4c-57.1/source/i18n/measunit.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/measunit.cpp gcc -o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_tan.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -DUSE_COMPILER_F80_TYPE=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -Dlinux=1 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_tan.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C g++ -o build/fedora/third_party/icu4c-57.1/source/common/ustr_titlecase_brkiter.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/ustr_titlecase_brkiter.cpp g++ -o build/fedora/mongo/platform/random.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/platform/random.cpp g++ -o build/fedora/third_party/icu4c-57.1/source/i18n/collationdatabuilder.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/collationdatabuilder.cpp g++ -o build/fedora/mongo/db/index_rebuilder.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/index_rebuilder.cpp In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/db/server_options.h:30, from src/mongo/base/secure_allocator.h:40, from src/mongo/db/auth/authorization_manager.h:35, from src/mongo/db/auth/authorization_session.h:38, from src/mongo/db/index_rebuilder.cpp:38: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/plan_cache.h:35, from src/mongo/db/catalog/collection_info_cache.h:33, from src/mongo/db/catalog/collection.h:41, from src/mongo/db/index_rebuilder.cpp:40: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/mongo/db/storage/wiredtiger/wiredtiger_extensions.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/storage/wiredtiger/wiredtiger_extensions.cpp src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, unsigned int, mongo::StringMapTraits>': src/mongo/db/op_observer.h:310:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long unsigned int, mongo::StringMapTraits>': src/mongo/db/views/view_graph.h:177:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/db/views/view_catalog.h:174:13: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Collection*, mongo::StringMapTraits>': src/mongo/db/catalog/database.h:165:38: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Top::CollectionData, mongo::StringMapTraits>': src/mongo/db/stats/top.h:150:14: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from /usr/include/string.h:535, from /usr/include/c++/12/cstring:42, from src/mongo/base/string_data.h:33, from src/mongo/db/storage/wiredtiger/wiredtiger_extensions.cpp:34: In function 'memcpy', inlined from 'mongo::StringData::copyTo(char*, bool) const' at src/mongo/base/string_data.h:266:15, inlined from 'mongo::StringBuilderImpl::append(mongo::StringData)' at src/mongo/bson/util/builder.h:484:19, inlined from 'mongo::StringBuilderImpl::operator<<(mongo::StringData)' at src/mongo/bson/util/builder.h:441:15, inlined from 'mongo::StringBuilderImpl::operator<<(char const*)' at src/mongo/bson/util/builder.h:438:22, inlined from 'mongo::WiredTigerExtensions::getOpenExtensionsConfig[abi:cxx11]() const' at src/mongo/db/storage/wiredtiger/wiredtiger_extensions.cpp:58:19: /usr/include/bits/string_fortified.h:29:33: warning: 'memcpy' offset [0, 1] is out of the bounds [0, 0] [-Warray-bounds] 29 | return __builtin___memcpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 30 | __glibc_objsize0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ ar rcsTD build/fedora/mongo/db/storage/wiredtiger/libstorage_wiredtiger_customization_hooks.a build/fedora/mongo/db/storage/wiredtiger/wiredtiger_customization_hooks.o build/fedora/mongo/db/storage/wiredtiger/wiredtiger_extensions.o Skipping ranlib for thin archive build/fedora/mongo/db/storage/wiredtiger/libstorage_wiredtiger_customization_hooks.a gcc -o build/fedora/third_party/icu4c-57.1/source/common/ucnv_set.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/ucnv_set.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C ar rcsTD build/fedora/mongo/db/storage/mmap_v1/librepair_database_interface.a build/fedora/mongo/db/storage/mmap_v1/repair_database_interface.o Skipping ranlib for thin archive build/fedora/mongo/db/storage/mmap_v1/librepair_database_interface.a g++ -o build/fedora/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src19.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -Wno-non-virtual-dtor -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -include js-confdefs.h -Wno-invalid-offsetof -fPIE -DIMPL_MFBT -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=1 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora/third_party/mozjs-45/extract/js/src -Isrc/third_party/mozjs-45/extract/js/src -Ibuild/fedora/third_party/mozjs-45/extract/mfbt -Isrc/third_party/mozjs-45/extract/mfbt -Ibuild/fedora/third_party/mozjs-45/extract/intl/icu/source/common -Isrc/third_party/mozjs-45/extract/intl/icu/source/common -Ibuild/fedora/third_party/mozjs-45/include -Isrc/third_party/mozjs-45/include -Ibuild/fedora/third_party/mozjs-45/mongo_sources -Isrc/third_party/mozjs-45/mongo_sources -Ibuild/fedora/third_party/mozjs-45/platform/x86_64/linux/build -Isrc/third_party/mozjs-45/platform/x86_64/linux/build -Ibuild/fedora/third_party/mozjs-45/platform/x86_64/linux/include -Isrc/third_party/mozjs-45/platform/x86_64/linux/include src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src19.cpp In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/jsfun.h:15, from src/third_party/mozjs-45/extract/js/src/jit/JitFrameIterator.h:10, from src/third_party/mozjs-45/extract/js/src/jit/Bailouts.h:12, from src/third_party/mozjs-45/extract/js/src/jit/x64/Bailouts-x64.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src19.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1040:19: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 1040 | memcpy(&elements_[dstStart], src, count * sizeof(HeapSlot)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsobj.h:21, from src/third_party/mozjs-45/extract/js/src/jsfun.h:14: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here 650 | class HeapSlot : public WriteBarrieredBase | ^~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1048:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 1048 | memcpy(&elements_[dstStart], src, count * sizeof(HeapSlot)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here 650 | class HeapSlot : public WriteBarrieredBase | ^~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1082:20: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 1082 | memmove(elements_ + dstStart, elements_ + srcStart, count * sizeof(HeapSlot)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here 650 | class HeapSlot : public WriteBarrieredBase | ^~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1094:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 1094 | memmove(elements_ + dstStart, elements_ + srcStart, count * sizeof(Value)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here 650 | class HeapSlot : public WriteBarrieredBase | ^~~~~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/CallArgs.h:38, from src/third_party/mozjs-45/include/js/CallNonGenericMethod.h:12, from src/third_party/mozjs-45/extract/js/src/NamespaceImports.h:15, from src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:10: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': src/third_party/mozjs-45/include/js/MemoryMetrics.h:40:34: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/gc/StoreBuffer.h:18, from src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:13: src/third_party/mozjs-45/include/js/MemoryMetrics.h:31:8: note: 'struct JS::TabSizes' declared here 31 | struct TabSizes | ^~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::ServoSizes]': src/third_party/mozjs-45/include/js/MemoryMetrics.h:71:36: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::ServoSizes'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/MemoryMetrics.h:59:8: note: 'struct JS::ServoSizes' declared here 59 | struct ServoSizes | ^~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::PreliminaryObjectArray]': src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:808:25: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::PreliminaryObjectArray'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/ObjectGroup.h:16, from src/third_party/mozjs-45/extract/js/src/vm/Shape.h:31, from src/third_party/mozjs-45/extract/js/src/jsobj.h:27: src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:796:7: note: 'class js::PreliminaryObjectArray' declared here 796 | class PreliminaryObjectArray | ^~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::TypeNewScript]': src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:939:39: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::TypeNewScript' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:886:7: note: 'class js::TypeNewScript' declared here 886 | class TypeNewScript | ^~~~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JSSubString]': src/third_party/mozjs-45/extract/js/src/jsstr.h:73:37: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JSSubString'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/String.h:16, from src/third_party/mozjs-45/extract/js/src/vm/Shape.h:32: src/third_party/mozjs-45/extract/js/src/jsstr.h:68:8: note: 'struct JSSubString' declared here 68 | struct JSSubString { | ^~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': src/third_party/mozjs-45/extract/js/src/vm/String.h:1092:25: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/String.h:1074:7: note: 'class js::StaticStrings' declared here 1074 | class StaticStrings | ^~~~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': src/third_party/mozjs-45/extract/js/src/vm/Shape.h:392:25: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/Shape.h:323:7: note: 'class js::BaseShape' declared here 323 | class BaseShape : public gc::TenuredCell | ^~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:699:25: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:24: src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:686:8: note: 'struct js::jit::IonScriptCounts' declared here 686 | struct IonScriptCounts | ^~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:293:40: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jit/JitFrames.h:12, from src/third_party/mozjs-45/extract/js/src/jit/Bailouts.h:13: src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:244:7: note: 'class js::NewObjectCache' declared here 244 | class NewObjectCache | ^~~~~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::Address]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:290:33: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::Address'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/Safepoints.h:12, from src/third_party/mozjs-45/extract/js/src/jit/JitFrames.h:16: src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:282:8: note: 'struct js::jit::Address' declared here 282 | struct Address | ^~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::BaseIndex]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:306:35: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::BaseIndex'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:295:8: note: 'struct js::jit::BaseIndex' declared here 295 | struct BaseIndex | ^~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::CodeOffsetJump]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:513:25: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::jit::CodeOffsetJump'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:491:7: note: 'class js::jit::CodeOffsetJump' declared here 491 | class CodeOffsetJump | ^~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/include/js/TracingAPI.h:12, from src/third_party/mozjs-45/include/js/TraceableVector.h:13, from src/third_party/mozjs-45/extract/js/src/NamespaceImports.h:16: src/third_party/mozjs-45/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': src/third_party/mozjs-45/include/js/HashTable.h:186:67: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' src/third_party/mozjs-45/extract/js/src/vm/SPSProfiler.h:256:18: required from here src/third_party/mozjs-45/include/js/HashTable.h:1550:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] 1550 | memset(table, 0, sizeof(*table) * capacity()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/HashTable.h:722:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here 722 | class HashTableEntry | ^~~~~~~~~~~~~~ g++ -o build/fedora/third_party/icu4c-57.1/source/common/rbbisetb.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/rbbisetb.cpp g++ -o build/fedora/third_party/icu4c-57.1/source/i18n/tridpars.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/tridpars.cpp g++ -o build/fedora/mongo/logger/rotatable_file_manager.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/logger/rotatable_file_manager.cpp In file included from src/third_party/mozjs-45/extract/js/src/jit/BitSet.h:12, from src/third_party/mozjs-45/extract/js/src/jit/Safepoints.h:10: src/third_party/mozjs-45/extract/js/src/jit/JitAllocPolicy.h: In instantiation of 'T* js::jit::JitAllocPolicy::maybe_pod_calloc(size_t) [with T = js::detail::HashTableEntry >; size_t = long unsigned int]': src/third_party/mozjs-45/include/js/HashTable.h:1144:54: required from 'static js::detail::HashTable::Entry* js::detail::HashTable::createTable(AllocPolicy&, uint32_t, FailureBehavior) [with T = js::HashMapEntry; HashPolicy = js::HashMap::MapHashPolicy; AllocPolicy = js::jit::JitAllocPolicy; Entry = js::detail::HashTableEntry >; uint32_t = unsigned int]' src/third_party/mozjs-45/include/js/HashTable.h:1212:28: required from 'bool js::detail::HashTable::init(uint32_t) [with T = js::HashMapEntry; HashPolicy = js::HashMap::MapHashPolicy; AllocPolicy = js::jit::JitAllocPolicy; uint32_t = unsigned int]' src/third_party/mozjs-45/include/js/HashTable.h:79:73: required from 'bool js::HashMap::init(uint32_t) [with Key = JS::Value; Value = unsigned int; HashPolicy = js::jit::LIRGraph::ValueHasher; AllocPolicy = js::jit::JitAllocPolicy; uint32_t = unsigned int]' src/third_party/mozjs-45/extract/js/src/jit/LIR.h:1696:37: required from here src/third_party/mozjs-45/extract/js/src/jit/JitAllocPolicy.h:92:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::detail::HashTableEntry >' with no trivial copy-assignment [-Wclass-memaccess] 92 | memset(p, 0, numElems * sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/HashTable.h:722:7: note: 'class js::detail::HashTableEntry >' declared here 722 | class HashTableEntry | ^~~~~~~~~~~~~~ g++ -o build/fedora/third_party/icu4c-57.1/source/i18n/esctrn.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/esctrn.cpp ar rcsTD build/fedora/mongo/crypto/libsha1_block.a build/fedora/mongo/crypto/sha1_block.o Skipping ranlib for thin archive build/fedora/mongo/crypto/libsha1_block.a g++ -o build/fedora/mongo/util/concurrency/spin_lock.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/asio-master/asio/include -Ibuild/fedora -Isrc src/mongo/util/concurrency/spin_lock.cpp g++ -o build/fedora/mongo/logger/logstream_builder.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/logger/logstream_builder.cpp g++ -o build/fedora/mongo/db/curop_metrics.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/curop_metrics.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/db/curop.h:35, from src/mongo/db/curop_metrics.cpp:33: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/db/commands/server_status_metric.h:35, from src/mongo/db/curop_metrics.cpp:32: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/third_party/icu4c-57.1/source/common/unistr_case_locale.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/unistr_case_locale.cpp /usr/bin/python3 src/mongo/db/fts/unicode/gen_delimiter_list.py src/third_party/unicode-8.0.0/PropList.txt build/fedora/mongo/db/fts/unicode/codepoints_delimiter_list.cpp g++ -o build/fedora/mongo/db/fts/unicode/codepoints_delimiter_list.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc build/fedora/mongo/db/fts/unicode/codepoints_delimiter_list.cpp g++ -o build/fedora/mongo/db/field_parser.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/field_parser.cpp In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call g++ -o build/fedora/third_party/icu4c-57.1/source/i18n/collationdata.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/collationdata.cpp gcc -o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_asinh.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -DUSE_COMPILER_F80_TYPE=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -Dlinux=1 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_asinh.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C g++ -o build/fedora/third_party/icu4c-57.1/source/common/locresdata.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/locresdata.cpp g++ -o build/fedora/mongo/client/connection_pool.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/client/connection_pool.cpp g++ -o build/fedora/third_party/icu4c-57.1/source/common/util_props.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/util_props.cpp g++ -o build/fedora/mongo/s/request_types/move_primary_gen.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc build/fedora/mongo/s/request_types/move_primary_gen.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from build/fedora/mongo/s/request_types/move_primary_gen.cpp:16: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from build/fedora/mongo/s/request_types/move_primary_gen.h:16, from build/fedora/mongo/s/request_types/move_primary_gen.cpp:9: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ gcc -o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_lrintd.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -DUSE_COMPILER_F80_TYPE=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -Dlinux=1 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_lrintd.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C gcc -o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_asinh.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -DUSE_COMPILER_F80_TYPE=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -Dlinux=1 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_asinh.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C gcc -o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_modf.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -DUSE_COMPILER_F80_TYPE=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -Dlinux=1 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_modf.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C g++ -o build/fedora/mongo/util/concurrency/ticketholder.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/asio-master/asio/include -Ibuild/fedora -Isrc src/mongo/util/concurrency/ticketholder.cpp In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call g++ -o build/fedora/third_party/icu4c-57.1/source/i18n/ucsdet.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/ucsdet.cpp ar rcsTD build/fedora/mongo/util/concurrency/libticketholder.a build/fedora/mongo/util/concurrency/ticketholder.o Skipping ranlib for thin archive build/fedora/mongo/util/concurrency/libticketholder.a g++ -o build/fedora/third_party/icu4c-57.1/source/i18n/decimalformatpattern.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/decimalformatpattern.cpp gcc -o build/fedora/third_party/icu4c-57.1/source/common/udataswp.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/udataswp.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C ar rcsTD build/fedora/mongo/db/libdb_raii.a build/fedora/mongo/db/db_raii.o Skipping ranlib for thin archive build/fedora/mongo/db/libdb_raii.a g++ -o build/fedora/mongo/rpc/legacy_reply.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/rpc/legacy_reply.cpp g++ -o build/fedora/mongo/rpc/legacy_reply_builder.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/rpc/legacy_reply_builder.cpp g++ -o build/fedora/mongo/db/s/sharding_state.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/s/sharding_state.cpp ar rcsTD build/fedora/mongo/rpc/liblegacy_reply.a build/fedora/mongo/rpc/legacy_reply.o build/fedora/mongo/rpc/legacy_reply_builder.o Skipping ranlib for thin archive build/fedora/mongo/rpc/liblegacy_reply.a g++ -o build/fedora/mongo/s/query/document_source_router_adapter.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/s/query/document_source_router_adapter.cpp In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/oid.h:34, from src/mongo/db/s/sharding_state.h:34, from src/mongo/db/s/sharding_state.cpp:33: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ChunkVersion, mongo::StringMapTraits>': src/mongo/db/s/operation_sharding_state.h:184:29: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ChunkVersion; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ChunkVersion; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ChunkVersion; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ChunkVersion; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::DatabaseVersion, mongo::StringMapTraits>': src/mongo/db/s/operation_sharding_state.h:185:32: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::DatabaseVersion; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::DatabaseVersion; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::DatabaseVersion; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::DatabaseVersion; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/bson/bsonobj.h:44, from src/mongo/s/query/router_exec_stage.h:35, from src/mongo/s/query/document_source_router_adapter.h:31, from src/mongo/s/query/document_source_router_adapter.cpp:31: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/db/pipeline/document_source.h:44, from src/mongo/s/query/document_source_router_adapter.h:33: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call g++ -o build/fedora/third_party/shim_boost.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS src/third_party/shim_boost.cpp 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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call ar rcsTD build/fedora/third_party/libshim_boost.a build/fedora/third_party/shim_boost.o 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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ Skipping ranlib for thin archive build/fedora/third_party/libshim_boost.a src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call g++ -o build/fedora/mongo/db/pipeline/tee_buffer.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/pipeline/tee_buffer.cpp 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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/tee_buffer.h:35, from src/mongo/db/pipeline/tee_buffer.cpp:31: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/bson/bsonmisc.h:32, from src/mongo/db/pipeline/value_internal.h:35: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/db/pipeline/document_source.h:44, from src/mongo/db/pipeline/tee_buffer.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ gcc -o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_to_int16.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -DUSE_COMPILER_F80_TYPE=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -Dlinux=1 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_to_int16.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C g++ -o build/fedora/mongo/db/storage/index_entry_comparison.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/storage/index_entry_comparison.cpp In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call g++ -o build/fedora/mongo/db/catalog/collection_options.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/catalog/collection_options.cpp g++ -o build/fedora/third_party/icu4c-57.1/source/i18n/curramt.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/curramt.cpp g++ -o build/fedora/third_party/icu4c-57.1/source/common/ustrenum.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/ustrenum.cpp g++ -o build/fedora/mongo/transport/service_entry_point_impl.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/transport/service_entry_point_impl.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/db/catalog/collection_options.cpp:37: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/db/catalog/collection_options.h:36, from src/mongo/db/catalog/collection_options.cpp:31: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/mongo/transport/service_state_machine.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/transport/service_state_machine.cpp In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call In file included from /usr/include/string.h:535, from /usr/include/c++/12/cstring:42, from src/mongo/base/string_data.h:33, from build/fedora/mongo/base/error_codes.h:35, from src/mongo/base/status.h:33, from src/mongo/db/catalog/collection_options.h:35: In function 'memcpy', inlined from 'mongo::StringData::copyTo(char*, bool) const' at src/mongo/base/string_data.h:266:15, inlined from 'mongo::StringBuilderImpl::append(mongo::StringData)' at src/mongo/bson/util/builder.h:484:19, inlined from 'mongo::StringBuilderImpl::appendIntegral(int, int)mongo::StringBuilderImpl&' at src/mongo/bson/util/builder.h:518:19, inlined from 'mongo::StringBuilderImpl::appendIntegral(int, int)mongo::StringBuilderImpl&' at src/mongo/bson/util/builder.h:512:24, inlined from 'mongo::StringBuilderImpl::operator<<(int)' at src/mongo/bson/util/builder.h:402:30, inlined from 'mongo::BSONObjBuilder::numStr[abi:cxx11](int)' at src/mongo/bson/bsonobjbuilder.h:719:14, inlined from 'mongo::BSONObjBuilder::append(mongo::StringData, std::vector > const&)mongo::BSONObjBuilder&' at src/mongo/bson/bsonobjbuilder.h:958:26, inlined from 'mongo::CollectionOptions::appendBSON(mongo::BSONObjBuilder*) const' at src/mongo/db/catalog/collection_options.cpp:301:24: /usr/include/bits/string_fortified.h:29:33: warning: 'memcpy' offset [0, 511] is out of the bounds [0, 0] [-Warray-bounds] 29 | return __builtin___memcpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 30 | __glibc_objsize0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ ar rcsTD build/fedora/mongo/db/catalog/libcollection_options.a build/fedora/mongo/db/catalog/collection_options.o Skipping ranlib for thin archive build/fedora/mongo/db/catalog/libcollection_options.a g++ -o build/fedora/third_party/icu4c-57.1/source/i18n/japancal.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/japancal.cpp g++ -o build/fedora/third_party/icu4c-57.1/source/i18n/stsearch.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/stsearch.cpp ar rcsTD build/fedora/mongo/transport/libservice_entry_point.a build/fedora/mongo/transport/service_entry_point_impl.o build/fedora/mongo/transport/service_state_machine.o ar rcsTD build/fedora/mongo/db/libmongod_options.a build/fedora/mongo/db/mongod_options.o Skipping ranlib for thin archive build/fedora/mongo/db/libmongod_options.a Skipping ranlib for thin archive build/fedora/mongo/transport/libservice_entry_point.a g++ -o build/fedora/mongo/s/stale_exception.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/s/stale_exception.cpp g++ -o build/fedora/mongo/util/net/ssl_parameters.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/asio-master/asio/include -Ibuild/fedora -Isrc src/mongo/util/net/ssl_parameters.cpp g++ -o build/fedora/mongo/util/fail_point_service.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/asio-master/asio/include -Ibuild/fedora -Isrc src/mongo/util/fail_point_service.cpp g++ -o build/fedora/mongo/rpc/metadata/logical_time_metadata.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/rpc/metadata/logical_time_metadata.cpp ar rcsTD build/fedora/mongo/executor/libthread_pool_task_executor.a build/fedora/mongo/executor/thread_pool_task_executor.o Skipping ranlib for thin archive build/fedora/mongo/executor/libthread_pool_task_executor.a gcc -o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_hypot.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -DUSE_COMPILER_F80_TYPE=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -Dlinux=1 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_hypot.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C g++ -o build/fedora/mongo/db/kill_sessions.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/kill_sessions.cpp g++ -o build/fedora/mongo/util/net/private/ssl_expiration.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/asio-master/asio/include -Ibuild/fedora -Isrc src/mongo/util/net/private/ssl_expiration.cpp gcc -o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_log1p.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -DUSE_COMPILER_F80_TYPE=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -Dlinux=1 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_log1p.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C g++ -o build/fedora/mongo/db/field_ref.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/field_ref.cpp g++ -o build/fedora/third_party/icu4c-57.1/source/i18n/name2uni.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/name2uni.cpp g++ -o build/fedora/mongo/logger/log_component_settings.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/logger/log_component_settings.cpp g++ -o build/fedora/mongo/util/fail_point_registry.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/asio-master/asio/include -Ibuild/fedora -Isrc src/mongo/util/fail_point_registry.cpp gcc -o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_inv_trig.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -DUSE_COMPILER_F80_TYPE=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -Dlinux=1 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_inv_trig.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C g++ -o build/fedora/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src13.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -Wno-non-virtual-dtor -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -include js-confdefs.h -Wno-invalid-offsetof -fPIE -DIMPL_MFBT -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=1 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora/third_party/mozjs-45/extract/js/src -Isrc/third_party/mozjs-45/extract/js/src -Ibuild/fedora/third_party/mozjs-45/extract/mfbt -Isrc/third_party/mozjs-45/extract/mfbt -Ibuild/fedora/third_party/mozjs-45/extract/intl/icu/source/common -Isrc/third_party/mozjs-45/extract/intl/icu/source/common -Ibuild/fedora/third_party/mozjs-45/include -Isrc/third_party/mozjs-45/include -Ibuild/fedora/third_party/mozjs-45/mongo_sources -Isrc/third_party/mozjs-45/mongo_sources -Ibuild/fedora/third_party/mozjs-45/platform/x86_64/linux/build -Isrc/third_party/mozjs-45/platform/x86_64/linux/build -Ibuild/fedora/third_party/mozjs-45/platform/x86_64/linux/include -Isrc/third_party/mozjs-45/platform/x86_64/linux/include src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src13.cpp In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jsweakcache.h:10, from src/third_party/mozjs-45/extract/js/src/jit/JitCompartment.h:13, from src/third_party/mozjs-45/extract/js/src/jit/IonCaches.h:19, from src/third_party/mozjs-45/extract/js/src/jit/IonCaches.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src13.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1040:19: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 1040 | memcpy(&elements_[dstStart], src, count * sizeof(HeapSlot)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:22: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here 650 | class HeapSlot : public WriteBarrieredBase | ^~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1048:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 1048 | memcpy(&elements_[dstStart], src, count * sizeof(HeapSlot)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here 650 | class HeapSlot : public WriteBarrieredBase | ^~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1082:20: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 1082 | memmove(elements_ + dstStart, elements_ + srcStart, count * sizeof(HeapSlot)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here 650 | class HeapSlot : public WriteBarrieredBase | ^~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1094:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 1094 | memmove(elements_ + dstStart, elements_ + srcStart, count * sizeof(Value)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here 650 | class HeapSlot : public WriteBarrieredBase | ^~~~~~~~ ar rcsTD build/fedora/mongo/executor/libconnection_pool_executor.a build/fedora/mongo/executor/connection_pool.o Skipping ranlib for thin archive build/fedora/mongo/executor/libconnection_pool_executor.a gcc -o build/fedora/third_party/icu4c-57.1/source/common/cmemory.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/cmemory.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C g++ -o build/fedora/third_party/mozjs-45/extract/js/src/vm/Initialization.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -Wno-non-virtual-dtor -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -include js-confdefs.h -Wno-invalid-offsetof -fPIE -DIMPL_MFBT -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=1 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora/third_party/mozjs-45/extract/js/src -Isrc/third_party/mozjs-45/extract/js/src -Ibuild/fedora/third_party/mozjs-45/extract/mfbt -Isrc/third_party/mozjs-45/extract/mfbt -Ibuild/fedora/third_party/mozjs-45/extract/intl/icu/source/common -Isrc/third_party/mozjs-45/extract/intl/icu/source/common -Ibuild/fedora/third_party/mozjs-45/include -Isrc/third_party/mozjs-45/include -Ibuild/fedora/third_party/mozjs-45/mongo_sources -Isrc/third_party/mozjs-45/mongo_sources -Ibuild/fedora/third_party/mozjs-45/platform/x86_64/linux/build -Isrc/third_party/mozjs-45/platform/x86_64/linux/build -Ibuild/fedora/third_party/mozjs-45/platform/x86_64/linux/include -Isrc/third_party/mozjs-45/platform/x86_64/linux/include src/third_party/mozjs-45/extract/js/src/vm/Initialization.cpp In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jit/Ion.h:12, from src/third_party/mozjs-45/extract/js/src/vm/Initialization.cpp:19: src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1040:19: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 1040 | memcpy(&elements_[dstStart], src, count * sizeof(HeapSlot)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsobj.h:21, from src/third_party/mozjs-45/extract/js/src/builtin/AtomicsObject.h:11, from src/third_party/mozjs-45/extract/js/src/vm/Initialization.cpp:17: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here 650 | class HeapSlot : public WriteBarrieredBase | ^~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1048:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 1048 | memcpy(&elements_[dstStart], src, count * sizeof(HeapSlot)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here 650 | class HeapSlot : public WriteBarrieredBase | ^~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1082:20: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 1082 | memmove(elements_ + dstStart, elements_ + srcStart, count * sizeof(HeapSlot)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here 650 | class HeapSlot : public WriteBarrieredBase | ^~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1094:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 1094 | memmove(elements_ + dstStart, elements_ + srcStart, count * sizeof(Value)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here 650 | class HeapSlot : public WriteBarrieredBase | ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/CallArgs.h:38, from src/third_party/mozjs-45/include/js/CallNonGenericMethod.h:12, from src/third_party/mozjs-45/extract/js/src/NamespaceImports.h:15, from src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:10: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': src/third_party/mozjs-45/include/js/MemoryMetrics.h:40:34: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/gc/StoreBuffer.h:18, from src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:13: src/third_party/mozjs-45/include/js/MemoryMetrics.h:31:8: note: 'struct JS::TabSizes' declared here 31 | struct TabSizes | ^~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::ServoSizes]': src/third_party/mozjs-45/include/js/MemoryMetrics.h:71:36: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::ServoSizes'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/MemoryMetrics.h:59:8: note: 'struct JS::ServoSizes' declared here 59 | struct ServoSizes | ^~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::PreliminaryObjectArray]': src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:808:25: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::PreliminaryObjectArray'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/ObjectGroup.h:16, from src/third_party/mozjs-45/extract/js/src/vm/Shape.h:31, from src/third_party/mozjs-45/extract/js/src/jsobj.h:27: src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:796:7: note: 'class js::PreliminaryObjectArray' declared here 796 | class PreliminaryObjectArray | ^~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::TypeNewScript]': src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:939:39: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::TypeNewScript' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:886:7: note: 'class js::TypeNewScript' declared here 886 | class TypeNewScript | ^~~~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JSSubString]': src/third_party/mozjs-45/extract/js/src/jsstr.h:73:37: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JSSubString'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/String.h:16, from src/third_party/mozjs-45/extract/js/src/vm/Shape.h:32: src/third_party/mozjs-45/extract/js/src/jsstr.h:68:8: note: 'struct JSSubString' declared here 68 | struct JSSubString { | ^~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': src/third_party/mozjs-45/extract/js/src/vm/String.h:1092:25: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/String.h:1074:7: note: 'class js::StaticStrings' declared here 1074 | class StaticStrings | ^~~~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': src/third_party/mozjs-45/extract/js/src/vm/Shape.h:392:25: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/Shape.h:323:7: note: 'class js::BaseShape' declared here 323 | class BaseShape : public gc::TenuredCell | ^~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:699:25: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:24: src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:686:8: note: 'struct js::jit::IonScriptCounts' declared here 686 | struct IonScriptCounts | ^~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:293:40: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:244:7: note: 'class js::NewObjectCache' declared here 244 | class NewObjectCache | ^~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/include/js/TracingAPI.h:12, from src/third_party/mozjs-45/include/js/TraceableVector.h:13, from src/third_party/mozjs-45/extract/js/src/NamespaceImports.h:16: src/third_party/mozjs-45/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': src/third_party/mozjs-45/include/js/HashTable.h:186:67: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' src/third_party/mozjs-45/extract/js/src/vm/SPSProfiler.h:256:18: required from here src/third_party/mozjs-45/include/js/HashTable.h:1550:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] 1550 | memset(table, 0, sizeof(*table) * capacity()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/HashTable.h:722:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here 722 | class HashTableEntry | ^~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/Interpreter-inl.h:20, from src/third_party/mozjs-45/extract/js/src/jit/IonCaches.cpp:31: src/third_party/mozjs-45/extract/js/src/jsobjinlines.h: In static member function 'static JSObject* JSObject::create(js::ExclusiveContext*, js::gc::AllocKind, js::gc::InitialHeap, js::HandleShape, js::HandleObjectGroup)': src/third_party/mozjs-45/extract/js/src/jsobjinlines.h:355:15: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::HeapSlot'; use assignment instead [-Wclass-memaccess] 355 | memset(obj->as().fixedSlots(), 0, size - sizeof(js::NativeObject)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here 650 | class HeapSlot : public WriteBarrieredBase | ^~~~~~~~ ar rcsTD build/fedora/mongo/db/storage/mmap_v1/libmmap.a build/fedora/mongo/db/storage/mmap_v1/mmap.o build/fedora/mongo/db/storage/mmap_v1/mmap_posix.o Skipping ranlib for thin archive build/fedora/mongo/db/storage/mmap_v1/libmmap.a g++ -o build/fedora/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src27.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -Wno-non-virtual-dtor -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -include js-confdefs.h -Wno-invalid-offsetof -fPIE -DIMPL_MFBT -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=1 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora/third_party/mozjs-45/extract/js/src -Isrc/third_party/mozjs-45/extract/js/src -Ibuild/fedora/third_party/mozjs-45/extract/mfbt -Isrc/third_party/mozjs-45/extract/mfbt -Ibuild/fedora/third_party/mozjs-45/extract/intl/icu/source/common -Isrc/third_party/mozjs-45/extract/intl/icu/source/common -Ibuild/fedora/third_party/mozjs-45/include -Isrc/third_party/mozjs-45/include -Ibuild/fedora/third_party/mozjs-45/mongo_sources -Isrc/third_party/mozjs-45/mongo_sources -Ibuild/fedora/third_party/mozjs-45/platform/x86_64/linux/build -Isrc/third_party/mozjs-45/platform/x86_64/linux/build -Ibuild/fedora/third_party/mozjs-45/platform/x86_64/linux/include -Isrc/third_party/mozjs-45/platform/x86_64/linux/include src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src27.cpp In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/TraceableVector.h:12, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:14: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': src/third_party/mozjs-45/include/js/MemoryMetrics.h:40:34: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/gc/StoreBuffer.h:18, from src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:13: src/third_party/mozjs-45/include/js/MemoryMetrics.h:31:8: note: 'struct JS::TabSizes' declared here 31 | struct TabSizes | ^~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::ServoSizes]': src/third_party/mozjs-45/include/js/MemoryMetrics.h:71:36: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::ServoSizes'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/MemoryMetrics.h:59:8: note: 'struct JS::ServoSizes' declared here 59 | struct ServoSizes | ^~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JSSubString]': src/third_party/mozjs-45/extract/js/src/jsstr.h:73:37: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JSSubString'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/TraceLoggingTypes.h:11, from src/third_party/mozjs-45/extract/js/src/vm/TraceLoggingGraph.h:15, from src/third_party/mozjs-45/extract/js/src/vm/TraceLogging.h:19, from src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:22, from src/third_party/mozjs-45/extract/js/src/jsscript.h:24: src/third_party/mozjs-45/extract/js/src/jsstr.h:68:8: note: 'struct JSSubString' declared here 68 | struct JSSubString { | ^~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::PreliminaryObjectArray]': src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:808:25: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::PreliminaryObjectArray'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:23: src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:796:7: note: 'class js::PreliminaryObjectArray' declared here 796 | class PreliminaryObjectArray | ^~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::TypeNewScript]': src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:939:39: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::TypeNewScript' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:886:7: note: 'class js::TypeNewScript' declared here 886 | class TypeNewScript | ^~~~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:699:25: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:686:8: note: 'struct js::jit::IonScriptCounts' declared here 686 | struct IonScriptCounts | ^~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': src/third_party/mozjs-45/extract/js/src/vm/String.h:1092:25: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/Shape.h:32, from src/third_party/mozjs-45/extract/js/src/jsobj.h:27, from src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:16: src/third_party/mozjs-45/extract/js/src/vm/String.h:1074:7: note: 'class js::StaticStrings' declared here 1074 | class StaticStrings | ^~~~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': src/third_party/mozjs-45/extract/js/src/vm/Shape.h:392:25: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/Shape.h:323:7: note: 'class js::BaseShape' declared here 323 | class BaseShape : public gc::TenuredCell | ^~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:293:40: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:244:7: note: 'class js::NewObjectCache' declared here 244 | class NewObjectCache | ^~~~~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::Address]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:290:33: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::Address'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/Safepoints.h:12, from src/third_party/mozjs-45/extract/js/src/jit/JitFrames.h:16, from src/third_party/mozjs-45/extract/js/src/jit/CompileInfo.h:13, from src/third_party/mozjs-45/extract/js/src/jit/JitCompartment.h:16: src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:282:8: note: 'struct js::jit::Address' declared here 282 | struct Address | ^~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::BaseIndex]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:306:35: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::BaseIndex'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:295:8: note: 'struct js::jit::BaseIndex' declared here 295 | struct BaseIndex | ^~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::CodeOffsetJump]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:513:25: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::jit::CodeOffsetJump'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:491:7: note: 'class js::jit::CodeOffsetJump' declared here 491 | class CodeOffsetJump | ^~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/include/js/TracingAPI.h:12, from src/third_party/mozjs-45/include/js/TraceableVector.h:13: src/third_party/mozjs-45/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': src/third_party/mozjs-45/include/js/HashTable.h:186:67: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' src/third_party/mozjs-45/extract/js/src/vm/SPSProfiler.h:256:18: required from here src/third_party/mozjs-45/include/js/HashTable.h:1550:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] 1550 | memset(table, 0, sizeof(*table) * capacity()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/HashTable.h:722:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here 722 | class HashTableEntry | ^~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/proxy/ScriptedIndirectProxyHandler.cpp:11, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src27.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1040:19: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 1040 | memcpy(&elements_[dstStart], src, count * sizeof(HeapSlot)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:22: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here 650 | class HeapSlot : public WriteBarrieredBase | ^~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1048:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 1048 | memcpy(&elements_[dstStart], src, count * sizeof(HeapSlot)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here 650 | class HeapSlot : public WriteBarrieredBase | ^~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1082:20: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 1082 | memmove(elements_ + dstStart, elements_ + srcStart, count * sizeof(HeapSlot)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here 650 | class HeapSlot : public WriteBarrieredBase | ^~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1094:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 1094 | memmove(elements_ + dstStart, elements_ + srcStart, count * sizeof(Value)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here 650 | class HeapSlot : public WriteBarrieredBase | ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/CompileInfo.h:12: src/third_party/mozjs-45/extract/js/src/jit/JitAllocPolicy.h: In instantiation of 'T* js::jit::JitAllocPolicy::maybe_pod_calloc(size_t) [with T = js::detail::HashTableEntry >; size_t = long unsigned int]': src/third_party/mozjs-45/include/js/HashTable.h:1144:54: required from 'static js::detail::HashTable::Entry* js::detail::HashTable::createTable(AllocPolicy&, uint32_t, FailureBehavior) [with T = js::HashMapEntry; HashPolicy = js::HashMap::MapHashPolicy; AllocPolicy = js::jit::JitAllocPolicy; Entry = js::detail::HashTableEntry >; uint32_t = unsigned int]' src/third_party/mozjs-45/include/js/HashTable.h:1212:28: required from 'bool js::detail::HashTable::init(uint32_t) [with T = js::HashMapEntry; HashPolicy = js::HashMap::MapHashPolicy; AllocPolicy = js::jit::JitAllocPolicy; uint32_t = unsigned int]' src/third_party/mozjs-45/include/js/HashTable.h:79:73: required from 'bool js::HashMap::init(uint32_t) [with Key = JS::Value; Value = unsigned int; HashPolicy = js::jit::LIRGraph::ValueHasher; AllocPolicy = js::jit::JitAllocPolicy; uint32_t = unsigned int]' src/third_party/mozjs-45/extract/js/src/jit/LIR.h:1696:37: required from here src/third_party/mozjs-45/extract/js/src/jit/JitAllocPolicy.h:92:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::detail::HashTableEntry >' with no trivial copy-assignment [-Wclass-memaccess] 92 | memset(p, 0, numElems * sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/HashTable.h:722:7: note: 'class js::detail::HashTableEntry >' declared here 722 | class HashTableEntry | ^~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/proxy/ScriptedIndirectProxyHandler.cpp:14: src/third_party/mozjs-45/extract/js/src/jsobjinlines.h: In static member function 'static JSObject* JSObject::create(js::ExclusiveContext*, js::gc::AllocKind, js::gc::InitialHeap, js::HandleShape, js::HandleObjectGroup)': src/third_party/mozjs-45/extract/js/src/jsobjinlines.h:355:15: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::HeapSlot'; use assignment instead [-Wclass-memaccess] 355 | memset(obj->as().fixedSlots(), 0, size - sizeof(js::NativeObject)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here 650 | class HeapSlot : public WriteBarrieredBase | ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/extract/js/src/jsapi.h:25, from src/third_party/mozjs-45/extract/js/src/jsfriendapi.h:15, from src/third_party/mozjs-45/include/js/Proxy.h:12, from src/third_party/mozjs-45/extract/js/src/proxy/ScriptedIndirectProxyHandler.h:10, from src/third_party/mozjs-45/extract/js/src/proxy/ScriptedIndirectProxyHandler.cpp:8: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': src/third_party/mozjs-45/include/js/MemoryMetrics.h:40:34: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/gc/StoreBuffer.h:18, from src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:13: src/third_party/mozjs-45/include/js/MemoryMetrics.h:31:8: note: 'struct JS::TabSizes' declared here 31 | struct TabSizes | ^~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::ServoSizes]': src/third_party/mozjs-45/include/js/MemoryMetrics.h:71:36: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::ServoSizes'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/MemoryMetrics.h:59:8: note: 'struct JS::ServoSizes' declared here 59 | struct ServoSizes | ^~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JSSubString]': src/third_party/mozjs-45/extract/js/src/jsstr.h:73:37: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JSSubString'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/TraceLoggingTypes.h:11, from src/third_party/mozjs-45/extract/js/src/vm/TraceLoggingGraph.h:15, from src/third_party/mozjs-45/extract/js/src/vm/TraceLogging.h:19, from src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:22, from src/third_party/mozjs-45/extract/js/src/jsscript.h:24: src/third_party/mozjs-45/extract/js/src/jsstr.h:68:8: note: 'struct JSSubString' declared here 68 | struct JSSubString { | ^~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::PreliminaryObjectArray]': src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:808:25: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::PreliminaryObjectArray'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:23: src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:796:7: note: 'class js::PreliminaryObjectArray' declared here 796 | class PreliminaryObjectArray | ^~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::TypeNewScript]': src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:939:39: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::TypeNewScript' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:886:7: note: 'class js::TypeNewScript' declared here 886 | class TypeNewScript | ^~~~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:699:25: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:686:8: note: 'struct js::jit::IonScriptCounts' declared here 686 | struct IonScriptCounts | ^~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': src/third_party/mozjs-45/extract/js/src/vm/String.h:1092:25: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/Shape.h:32, from src/third_party/mozjs-45/extract/js/src/jsobj.h:27, from src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:16: src/third_party/mozjs-45/extract/js/src/vm/String.h:1074:7: note: 'class js::StaticStrings' declared here 1074 | class StaticStrings | ^~~~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': src/third_party/mozjs-45/extract/js/src/vm/Shape.h:392:25: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/Shape.h:323:7: note: 'class js::BaseShape' declared here 323 | class BaseShape : public gc::TenuredCell | ^~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:293:40: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:244:7: note: 'class js::NewObjectCache' declared here 244 | class NewObjectCache | ^~~~~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::Address]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:290:33: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::Address'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/Safepoints.h:12, from src/third_party/mozjs-45/extract/js/src/jit/JitFrames.h:16, from src/third_party/mozjs-45/extract/js/src/jscntxtinlines.h:16, from src/third_party/mozjs-45/extract/js/src/proxy/ScriptedIndirectProxyHandler.cpp:13: src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:282:8: note: 'struct js::jit::Address' declared here 282 | struct Address | ^~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::BaseIndex]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:306:35: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::BaseIndex'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:295:8: note: 'struct js::jit::BaseIndex' declared here 295 | struct BaseIndex | ^~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::CodeOffsetJump]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:513:25: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::jit::CodeOffsetJump'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:491:7: note: 'class js::jit::CodeOffsetJump' declared here 491 | class CodeOffsetJump | ^~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src27.cpp:29: src/third_party/mozjs-45/extract/js/src/vm/ArgumentsObject.cpp: In instantiation of 'static js::ArgumentsObject* js::ArgumentsObject::create(JSContext*, JS::HandleFunction, unsigned int, CopyArgs&) [with CopyArgs = CopyFrameArgs; JS::HandleFunction = JS::Handle]': src/third_party/mozjs-45/extract/js/src/vm/ArgumentsObject.cpp:283:38: required from here src/third_party/mozjs-45/extract/js/src/vm/ArgumentsObject.cpp:254:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::HeapValue' {aka 'class js::HeapPtr'} with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 254 | memset(data->args, 0, numArgs * sizeof(Value)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:438:7: note: 'js::HeapValue' {aka 'class js::HeapPtr'} declared here 438 | class HeapPtr : public WriteBarrieredBase | ^~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/ArgumentsObject.cpp: In instantiation of 'static js::ArgumentsObject* js::ArgumentsObject::create(JSContext*, JS::HandleFunction, unsigned int, CopyArgs&) [with CopyArgs = CopyScriptFrameIterArgs; JS::HandleFunction = JS::Handle]': src/third_party/mozjs-45/extract/js/src/vm/ArgumentsObject.cpp:296:18: required from here src/third_party/mozjs-45/extract/js/src/vm/ArgumentsObject.cpp:254:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::HeapValue' {aka 'class js::HeapPtr'} with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 254 | memset(data->args, 0, numArgs * sizeof(Value)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:438:7: note: 'js::HeapValue' {aka 'class js::HeapPtr'} declared here 438 | class HeapPtr : public WriteBarrieredBase | ^~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/ArgumentsObject.cpp: In instantiation of 'static js::ArgumentsObject* js::ArgumentsObject::create(JSContext*, JS::HandleFunction, unsigned int, CopyArgs&) [with CopyArgs = CopyJitFrameArgs; JS::HandleFunction = JS::Handle]': src/third_party/mozjs-45/extract/js/src/vm/ArgumentsObject.cpp:315:18: required from here src/third_party/mozjs-45/extract/js/src/vm/ArgumentsObject.cpp:254:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::HeapValue' {aka 'class js::HeapPtr'} with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 254 | memset(data->args, 0, numArgs * sizeof(Value)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:438:7: note: 'js::HeapValue' {aka 'class js::HeapPtr'} declared here 438 | class HeapPtr : public WriteBarrieredBase | ^~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::AsmJSModule::StaticLinkData::Pod]': src/third_party/mozjs-45/extract/js/src/asmjs/AsmJSModule.h:681:44: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::AsmJSModule::StaticLinkData::Pod'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/ArrayBufferObject.cpp:37, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src27.cpp:38: src/third_party/mozjs-45/extract/js/src/asmjs/AsmJSModule.h:683:16: note: 'struct js::AsmJSModule::StaticLinkData::Pod' declared here 683 | struct Pod { | ^~~ In file included from src/third_party/mozjs-45/extract/js/src/jsapi.h:29: src/third_party/mozjs-45/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': src/third_party/mozjs-45/include/js/HashTable.h:186:67: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' src/third_party/mozjs-45/extract/js/src/vm/SPSProfiler.h:256:18: required from here src/third_party/mozjs-45/include/js/HashTable.h:1550:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] 1550 | memset(table, 0, sizeof(*table) * capacity()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/HashTable.h:722:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here 722 | class HashTableEntry | ^~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/include/js/CallArgs.h:38, from src/third_party/mozjs-45/extract/js/src/jsapi.h:27: In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'CallSetter(JSContext*, JS::Handle, JS::Handle, bool (*)(JSContext*, JS::Handle, JS::Handle, JS::MutableHandle, JS::ObjectOpResult&), unsigned int, JS::Handle, JS::ObjectOpResult&)' at src/third_party/mozjs-45/extract/js/src/proxy/ScriptedIndirectProxyHandler.cpp:344:54, inlined from 'js::ScriptedIndirectProxyHandler::derivedSet(JSContext*, JS::Handle, JS::Handle, JS::Handle, JS::Handle, JS::ObjectOpResult&) const' at src/third_party/mozjs-45/extract/js/src/proxy/ScriptedIndirectProxyHandler.cpp:386:28: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'receiverObj' in 'MEM[(struct Rooted * *)cx_128(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/proxy/ScriptedIndirectProxyHandler.cpp: In member function 'js::ScriptedIndirectProxyHandler::derivedSet(JSContext*, JS::Handle, JS::Handle, JS::Handle, JS::Handle, JS::ObjectOpResult&) const': src/third_party/mozjs-45/extract/js/src/proxy/ScriptedIndirectProxyHandler.cpp:344:18: note: 'receiverObj' declared here 344 | RootedObject receiverObj(cx, &receiver.toObject()); | ^~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/proxy/ScriptedIndirectProxyHandler.cpp:344:18: note: 'cx_128(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::NativeObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::InitArrayBufferClass(JSContext*, JS::Handle)' at src/third_party/mozjs-45/extract/js/src/vm/ArrayBufferObject.cpp:1618:109: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'arrayBufferProto' in 'MEM[(struct Rooted * *)cx_154(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/ArrayBufferObject.cpp: In function 'js::InitArrayBufferClass(JSContext*, JS::Handle)': src/third_party/mozjs-45/extract/js/src/vm/ArrayBufferObject.cpp:1618:24: note: 'arrayBufferProto' declared here 1618 | RootedNativeObject arrayBufferProto(cx, global->createBlankPrototype(cx, &ArrayBufferObject::protoClass)); | ^~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/ArrayBufferObject.cpp:1618:24: note: 'cx_154(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:708:30, inlined from 'ArrayToIdVector(JSContext*, JS::Value const&, JS::AutoVectorRooter&) [clone .isra.0]' at src/third_party/mozjs-45/extract/js/src/proxy/ScriptedIndirectProxyHandler.cpp:96:21: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'v' in 'MEM[(struct Rooted * *)cx_4(D) + 104B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/proxy/ScriptedIndirectProxyHandler.cpp: In function 'ArrayToIdVector(JSContext*, JS::Value const&, JS::AutoVectorRooter&) [clone .isra.0]': src/third_party/mozjs-45/extract/js/src/proxy/ScriptedIndirectProxyHandler.cpp:96:17: note: 'v' declared here 96 | RootedValue v(cx); | ^ src/third_party/mozjs-45/extract/js/src/proxy/ScriptedIndirectProxyHandler.cpp:96:17: note: 'cx_4(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::proxy_createFunction(JSContext*, unsigned int, JS::Value*)' at src/third_party/mozjs-45/extract/js/src/proxy/ScriptedIndirectProxyHandler.cpp:526:56: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'handler' in 'MEM[(struct Rooted * *)cx_200(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/proxy/ScriptedIndirectProxyHandler.cpp: In function 'js::proxy_createFunction(JSContext*, unsigned int, JS::Value*)': src/third_party/mozjs-45/extract/js/src/proxy/ScriptedIndirectProxyHandler.cpp:526:18: note: 'handler' declared here 526 | RootedObject handler(cx, NonNullObject(cx, args[0])); | ^~~~~~~ src/third_party/mozjs-45/extract/js/src/proxy/ScriptedIndirectProxyHandler.cpp:526:18: note: 'cx_200(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::NativeObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::ArgumentsObject::createTemplateObject(JSContext*, bool)' at src/third_party/mozjs-45/extract/js/src/vm/ArgumentsObject.cpp:167:72: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'proto' in 'MEM[(struct Rooted * *)cx_101(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/ArgumentsObject.cpp: In function 'js::ArgumentsObject::createTemplateObject(JSContext*, bool)': src/third_party/mozjs-45/extract/js/src/vm/ArgumentsObject.cpp:167:18: note: 'proto' declared here 167 | RootedObject proto(cx, cx->global()->getOrCreateObjectPrototype(cx)); | ^~~~~ src/third_party/mozjs-45/extract/js/src/vm/ArgumentsObject.cpp:167:18: note: 'cx_101(D)' declared here gcc -o build/fedora/third_party/icu4c-57.1/source/common/wintz.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/wintz.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C g++ -o build/fedora/mongo/s/write_ops/write_error_detail.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/s/write_ops/write_error_detail.cpp In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::UnboxedExpandoObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::jit::GetPropertyIC::tryAttachUnboxedExpando(JSContext*, JS::Handle, js::jit::IonScript*, JS::Handle, JS::Handle, void*, bool*)' at src/third_party/mozjs-45/extract/js/src/jit/IonCaches.cpp:1555:91: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'expando' in 'MEM[(struct Rooted * *)cx_71(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jit/IonCaches.cpp: In member function 'js::jit::GetPropertyIC::tryAttachUnboxedExpando(JSContext*, JS::Handle, js::jit::IonScript*, JS::Handle, JS::Handle, void*, bool*)': src/third_party/mozjs-45/extract/js/src/jit/IonCaches.cpp:1555:35: note: 'expando' declared here 1555 | Rooted expando(cx, obj->as().maybeExpando()); | ^~~~~~~ src/third_party/mozjs-45/extract/js/src/jit/IonCaches.cpp:1555:35: note: 'cx_71(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::UnboxedExpandoObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'CanAttachSetUnboxedExpando(JSContext*, JS::Handle, JS::Handle, js::jit::ConstantOrRegister, bool, bool*, js::Shape**)' at src/third_party/mozjs-45/extract/js/src/jit/IonCaches.cpp:3412:91, inlined from 'js::jit::SetPropertyIC::tryAttachUnboxedExpando(JSContext*, JS::Handle, js::jit::IonScript*, JS::Handle, JS::Handle, bool*)' at src/third_party/mozjs-45/extract/js/src/jit/IonCaches.cpp:3573:36: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'expando' in 'MEM[(struct Rooted * *)cx_41(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jit/IonCaches.cpp: In member function 'js::jit::SetPropertyIC::tryAttachUnboxedExpando(JSContext*, JS::Handle, js::jit::IonScript*, JS::Handle, JS::Handle, bool*)': src/third_party/mozjs-45/extract/js/src/jit/IonCaches.cpp:3412:35: note: 'expando' declared here 3412 | Rooted expando(cx, obj->as().maybeExpando()); | ^~~~~~~ src/third_party/mozjs-45/extract/js/src/jit/IonCaches.cpp:3412:35: note: 'cx_41(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::UnboxedExpandoObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'CanAttachAddUnboxedExpando(JSContext*, JS::Handle, JS::Handle, JS::Handle, js::jit::ConstantOrRegister, bool, bool*)' at src/third_party/mozjs-45/extract/js/src/jit/IonCaches.cpp:3436:91, inlined from 'js::jit::SetPropertyIC::tryAttachAddSlot(JSContext*, JS::Handle, js::jit::IonScript*, JS::Handle, JS::Handle, JS::Handle, JS::Handle, bool, bool*)' at src/third_party/mozjs-45/extract/js/src/jit/IonCaches.cpp:3660:35: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'expando' in 'MEM[(struct Rooted * *)cx_23(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jit/IonCaches.cpp: In member function 'js::jit::SetPropertyIC::tryAttachAddSlot(JSContext*, JS::Handle, js::jit::IonScript*, JS::Handle, JS::Handle, JS::Handle, JS::Handle, bool, bool*)': src/third_party/mozjs-45/extract/js/src/jit/IonCaches.cpp:3436:35: note: 'expando' declared here 3436 | Rooted expando(cx, obj->as().maybeExpando()); | ^~~~~~~ src/third_party/mozjs-45/extract/js/src/jit/IonCaches.cpp:3436:35: note: 'cx_23(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:708:30, inlined from 'js::jit::GetPropertyIC::update(JSContext*, JS::Handle, unsigned long, JS::Handle, JS::Handle, JS::MutableHandle)' at src/third_party/mozjs-45/extract/js/src/jit/IonCaches.cpp:2270:31: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'script' in 'MEM[(struct Rooted * *)cx_185(D) + 80B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jit/IonCaches.cpp: In function 'js::jit::GetPropertyIC::update(JSContext*, JS::Handle, unsigned long, JS::Handle, JS::Handle, JS::MutableHandle)': src/third_party/mozjs-45/extract/js/src/jit/IonCaches.cpp:2270:22: note: 'script' declared here 2270 | RootedScript script(cx); | ^~~~~~ src/third_party/mozjs-45/extract/js/src/jit/IonCaches.cpp:2270:22: note: 'cx_185(D)' declared here gcc -o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_mod.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -DUSE_COMPILER_F80_TYPE=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -Dlinux=1 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_mod.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C g++ -o build/fedora/mongo/s/request_types/set_shard_version_request.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/s/request_types/set_shard_version_request.cpp g++ -o build/fedora/third_party/icu4c-57.1/source/i18n/sharedbreakiterator.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/sharedbreakiterator.cpp g++ -o build/fedora/mongo/db/update/array_culling_node.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/update/array_culling_node.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/document_comparator.h:32, from src/mongo/db/pipeline/expression_context.h:41, from src/mongo/db/update/update_leaf_node.h:31, from src/mongo/db/update/modifier_node.h:31, from src/mongo/db/update/array_culling_node.h:32, from src/mongo/db/update/array_culling_node.cpp:31: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/bson/bsonobj.h:44, from src/mongo/db/pipeline/expression_context.h:37: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/mongo/db/field_ref_set.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/field_ref_set.cpp src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/third_party/shim_intel_decimal128.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/shim_intel_decimal128.cpp ar rcsTD build/fedora/third_party/libshim_intel_decimal128.a build/fedora/third_party/shim_intel_decimal128.o Skipping ranlib for thin archive build/fedora/third_party/libshim_intel_decimal128.a g++ -o build/fedora/third_party/icu4c-57.1/source/i18n/numfmt.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/numfmt.cpp g++ -o build/fedora/mongo/db/log_process_details.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/log_process_details.cpp g++ -o build/fedora/mongo/db/storage/storage_options.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/storage/storage_options.cpp In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/client/connection_string.h:38, from src/mongo/db/repl/repl_set_config.h:36, from src/mongo/db/log_process_details.cpp:37: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::repl::ReplSetTagPattern, mongo::StringMapTraits>': src/mongo/db/repl/repl_set_config.h:402:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::repl::ReplSetTagPattern; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::repl::ReplSetTagPattern; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::repl::ReplSetTagPattern; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::repl::ReplSetTagPattern; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ ar rcsTD build/fedora/mongo/db/storage/libstorage_options.a build/fedora/mongo/db/storage/storage_options.o Skipping ranlib for thin archive build/fedora/mongo/db/storage/libstorage_options.a g++ -o build/fedora/third_party/icu4c-57.1/source/common/uniset_closure.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/uniset_closure.cpp g++ -o build/fedora/mongo/db/s/migration_chunk_cloner_source_legacy_commands.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/s/migration_chunk_cloner_source_legacy_commands.cpp g++ -o build/fedora/mongo/base/data_type.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/base/data_type.cpp g++ -o build/fedora/mongo/s/cannot_implicitly_create_collection_info.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/s/cannot_implicitly_create_collection_info.cpp In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/db/server_options.h:30, from src/mongo/base/secure_allocator.h:40, from src/mongo/db/auth/authorization_manager.h:35, from src/mongo/db/s/migration_chunk_cloner_source_legacy_commands.cpp:35: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/plan_cache.h:35, from src/mongo/db/catalog/collection_info_cache.h:33, from src/mongo/db/catalog/collection.h:41, from src/mongo/db/catalog_raii.h:32, from src/mongo/db/s/migration_chunk_cloner_source_legacy_commands.cpp:38: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/mongo/db/catalog/index_catalog_impl.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/catalog/index_catalog_impl.cpp src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, unsigned int, mongo::StringMapTraits>': src/mongo/db/op_observer.h:310:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long unsigned int, mongo::StringMapTraits>': src/mongo/db/views/view_graph.h:177:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/db/views/view_catalog.h:174:13: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Collection*, mongo::StringMapTraits>': src/mongo/db/catalog/database.h:165:38: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/bson/bsonobj.h:44, from src/mongo/bson/ordering.h:32, from src/mongo/db/catalog/index_catalog_entry.h:36, from src/mongo/db/catalog/index_catalog.h:36, from src/mongo/db/catalog/index_catalog_impl.h:33, from src/mongo/db/catalog/index_catalog_impl.cpp:33: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/plan_cache.h:35, from src/mongo/db/catalog/collection_info_cache.h:33, from src/mongo/db/catalog/collection.h:41, from src/mongo/db/catalog/index_catalog_impl.cpp:42: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, unsigned int, mongo::StringMapTraits>': src/mongo/db/op_observer.h:310:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/mongo/db/commands/server_status.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/commands/server_status.cpp In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/db/commands/server_status.cpp:34: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/db/server_options.h:30, from src/mongo/base/secure_allocator.h:40, from src/mongo/db/auth/authorization_manager.h:35, from src/mongo/db/auth/authorization_session.h:38, from src/mongo/db/commands/server_status.cpp:33: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call ar rcsTD build/fedora/mongo/db/commands/libserver_status.a build/fedora/mongo/db/commands/server_status.o Skipping ranlib for thin archive build/fedora/mongo/db/commands/libserver_status.a g++ -o build/fedora/mongo/db/free_mon/free_mon_mongod.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/free_mon/free_mon_mongod.cpp g++ -o build/fedora/mongo/db/storage/key_string.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/storage/key_string.cpp In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/bson/bsonobj.h:44, from src/mongo/bson/bsonobj_comparator_interface.h:32, from src/mongo/bson/simple_bsonobj_comparator.h:34, from src/mongo/db/op_observer.h:34, from src/mongo/db/op_observer_registry.h:35, from src/mongo/db/free_mon/free_mon_mongod.h:31, from src/mongo/db/free_mon/free_mon_mongod.cpp:33: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/plan_cache.h:35, from src/mongo/db/catalog/collection_info_cache.h:33, from src/mongo/db/catalog/collection.h:41, from src/mongo/db/op_observer.h:35: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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 /usr/include/string.h:535, from src/mongo/bson/bsonelement.h:34, from src/mongo/bson/bsonmisc.h:32, from src/mongo/db/storage/key_string.h:36, from src/mongo/db/storage/key_string.cpp:35: In function 'memcpy', inlined from 'mongo::StringData::copyTo(char*, bool) const' at src/mongo/base/string_data.h:266:15, inlined from 'mongo::StringBuilderImpl::append(mongo::StringData)' at src/mongo/bson/util/builder.h:484:19, inlined from 'mongo::StringBuilderImpl::appendIntegral(int, int)mongo::StringBuilderImpl&' at src/mongo/bson/util/builder.h:518:19, inlined from 'mongo::StringBuilderImpl::appendIntegral(int, int)mongo::StringBuilderImpl&' at src/mongo/bson/util/builder.h:512:24, inlined from 'mongo::StringBuilderImpl::operator<<(int)' at src/mongo/bson/util/builder.h:402:30, inlined from 'mongo::BSONObjBuilder::numStr[abi:cxx11](int)' at src/mongo/bson/bsonobjbuilder.h:719:14: /usr/include/bits/string_fortified.h:29:33: warning: 'memcpy' offset [0, 511] is out of the bounds [0, 0] [-Warray-bounds] 29 | return __builtin___memcpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 30 | __glibc_objsize0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/mongo/db/matcher/path_internal.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/matcher/path_internal.cpp src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, unsigned int, mongo::StringMapTraits>': src/mongo/db/op_observer.h:310:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long unsigned int, mongo::StringMapTraits>': src/mongo/db/views/view_graph.h:177:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/db/views/view_catalog.h:174:13: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Collection*, mongo::StringMapTraits>': src/mongo/db/catalog/database.h:165:38: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Top::CollectionData, mongo::StringMapTraits>': src/mongo/db/stats/top.h:150:14: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/third_party/s2/s2edgeindex.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -DDEBUG_MODE=false -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/third_party/s2/s2edgeindex.cc gcc -o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_div.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -DUSE_COMPILER_F80_TYPE=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -Dlinux=1 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_div.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call g++ -o build/fedora/third_party/icu4c-57.1/source/common/ucharstrieiterator.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/ucharstrieiterator.cpp g++ -o build/fedora/third_party/icu4c-57.1/source/i18n/dtitvfmt.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/dtitvfmt.cpp g++ -o build/fedora/mongo/client/sasl_client_authenticate_impl.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/client/sasl_client_authenticate_impl.cpp g++ -o build/fedora/third_party/icu4c-57.1/source/common/ucase.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/ucase.cpp g++ -o build/fedora/third_party/icu4c-57.1/source/i18n/umsg.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/umsg.cpp gcc -o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_noncomp.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -DUSE_COMPILER_F80_TYPE=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -Dlinux=1 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_noncomp.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C g++ -o build/fedora/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src23.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -Wno-non-virtual-dtor -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -include js-confdefs.h -Wno-invalid-offsetof -fPIE -DIMPL_MFBT -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=1 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora/third_party/mozjs-45/extract/js/src -Isrc/third_party/mozjs-45/extract/js/src -Ibuild/fedora/third_party/mozjs-45/extract/mfbt -Isrc/third_party/mozjs-45/extract/mfbt -Ibuild/fedora/third_party/mozjs-45/extract/intl/icu/source/common -Isrc/third_party/mozjs-45/extract/intl/icu/source/common -Ibuild/fedora/third_party/mozjs-45/include -Isrc/third_party/mozjs-45/include -Ibuild/fedora/third_party/mozjs-45/mongo_sources -Isrc/third_party/mozjs-45/mongo_sources -Ibuild/fedora/third_party/mozjs-45/platform/x86_64/linux/build -Isrc/third_party/mozjs-45/platform/x86_64/linux/build -Ibuild/fedora/third_party/mozjs-45/platform/x86_64/linux/include -Isrc/third_party/mozjs-45/platform/x86_64/linux/include src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src23.cpp g++ -o build/fedora/mongo/db/generic_cursor_gen.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc build/fedora/mongo/db/generic_cursor_gen.cpp In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jsexn.h:15, from src/third_party/mozjs-45/extract/js/src/jsexn.cpp:11, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src23.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1040:19: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 1040 | memcpy(&elements_[dstStart], src, count * sizeof(HeapSlot)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:22: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here 650 | class HeapSlot : public WriteBarrieredBase | ^~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1048:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 1048 | memcpy(&elements_[dstStart], src, count * sizeof(HeapSlot)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here 650 | class HeapSlot : public WriteBarrieredBase | ^~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1082:20: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 1082 | memmove(elements_ + dstStart, elements_ + srcStart, count * sizeof(HeapSlot)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here 650 | class HeapSlot : public WriteBarrieredBase | ^~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1094:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 1094 | memmove(elements_ + dstStart, elements_ + srcStart, count * sizeof(Value)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here 650 | class HeapSlot : public WriteBarrieredBase | ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsexn.cpp:35: src/third_party/mozjs-45/extract/js/src/jsobjinlines.h: In static member function 'static JSObject* JSObject::create(js::ExclusiveContext*, js::gc::AllocKind, js::gc::InitialHeap, js::HandleShape, js::HandleObjectGroup)': src/third_party/mozjs-45/extract/js/src/jsobjinlines.h:355:15: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::HeapSlot'; use assignment instead [-Wclass-memaccess] 355 | memset(obj->as().fixedSlots(), 0, size - sizeof(js::NativeObject)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here 650 | class HeapSlot : public WriteBarrieredBase | ^~~~~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from build/fedora/mongo/db/generic_cursor_gen.cpp:16: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from build/fedora/mongo/db/generic_cursor_gen.h:16, from build/fedora/mongo/db/generic_cursor_gen.cpp:9: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/extract/js/src/jsapi.h:25, from src/third_party/mozjs-45/extract/js/src/jsexn.h:14: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': src/third_party/mozjs-45/include/js/MemoryMetrics.h:40:34: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/gc/StoreBuffer.h:18, from src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:13: src/third_party/mozjs-45/include/js/MemoryMetrics.h:31:8: note: 'struct JS::TabSizes' declared here 31 | struct TabSizes | ^~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::ServoSizes]': src/third_party/mozjs-45/include/js/MemoryMetrics.h:71:36: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::ServoSizes'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/MemoryMetrics.h:59:8: note: 'struct JS::ServoSizes' declared here 59 | struct ServoSizes | ^~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JSSubString]': src/third_party/mozjs-45/extract/js/src/jsstr.h:73:37: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JSSubString'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/TraceLoggingTypes.h:11, from src/third_party/mozjs-45/extract/js/src/vm/TraceLoggingGraph.h:15, from src/third_party/mozjs-45/extract/js/src/vm/TraceLogging.h:19, from src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:22, from src/third_party/mozjs-45/extract/js/src/jsscript.h:24: src/third_party/mozjs-45/extract/js/src/jsstr.h:68:8: note: 'struct JSSubString' declared here 68 | struct JSSubString { | ^~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::PreliminaryObjectArray]': src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:808:25: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::PreliminaryObjectArray'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:23: src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:796:7: note: 'class js::PreliminaryObjectArray' declared here 796 | class PreliminaryObjectArray | ^~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::TypeNewScript]': src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:939:39: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::TypeNewScript' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:886:7: note: 'class js::TypeNewScript' declared here 886 | class TypeNewScript | ^~~~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:699:25: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:686:8: note: 'struct js::jit::IonScriptCounts' declared here 686 | struct IonScriptCounts | ^~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': src/third_party/mozjs-45/extract/js/src/vm/String.h:1092:25: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/Shape.h:32, from src/third_party/mozjs-45/extract/js/src/jsobj.h:27, from src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:16: src/third_party/mozjs-45/extract/js/src/vm/String.h:1074:7: note: 'class js::StaticStrings' declared here 1074 | class StaticStrings | ^~~~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': src/third_party/mozjs-45/extract/js/src/vm/Shape.h:392:25: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/Shape.h:323:7: note: 'class js::BaseShape' declared here 323 | class BaseShape : public gc::TenuredCell | ^~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:293:40: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:244:7: note: 'class js::NewObjectCache' declared here 244 | class NewObjectCache | ^~~~~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::Address]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:290:33: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::Address'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/Safepoints.h:12, from src/third_party/mozjs-45/extract/js/src/jit/JitFrames.h:16, from src/third_party/mozjs-45/extract/js/src/jscntxtinlines.h:16, from src/third_party/mozjs-45/extract/js/src/jscompartmentinlines.h:14, from src/third_party/mozjs-45/extract/js/src/jsobjinlines.h:29: src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:282:8: note: 'struct js::jit::Address' declared here 282 | struct Address | ^~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::BaseIndex]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:306:35: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::BaseIndex'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:295:8: note: 'struct js::jit::BaseIndex' declared here 295 | struct BaseIndex | ^~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::CodeOffsetJump]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:513:25: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::jit::CodeOffsetJump'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:491:7: note: 'class js::jit::CodeOffsetJump' declared here 491 | class CodeOffsetJump | ^~~~~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::gc::TenureCountCache]': src/third_party/mozjs-45/extract/js/src/gc/GCInternals.h:211:42: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::gc::TenureCountCache'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsgc.cpp:213, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src23.cpp:29: src/third_party/mozjs-45/extract/js/src/gc/GCInternals.h:207:8: note: 'struct js::gc::TenureCountCache' declared here 207 | struct TenureCountCache | ^~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NativeIterator]': src/third_party/mozjs-45/extract/js/src/jsiter.cpp:624:12: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'struct js::NativeIterator' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jscntxtinlines.h:13: src/third_party/mozjs-45/extract/js/src/jsiter.h:31:8: note: 'struct js::NativeIterator' declared here 31 | struct NativeIterator | ^~~~~~~~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsapi.h:29: src/third_party/mozjs-45/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': src/third_party/mozjs-45/include/js/HashTable.h:186:67: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' src/third_party/mozjs-45/extract/js/src/vm/SPSProfiler.h:256:18: required from here src/third_party/mozjs-45/include/js/HashTable.h:1550:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] 1550 | memset(table, 0, sizeof(*table) * capacity()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/HashTable.h:722:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here 722 | class HashTableEntry | ^~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': src/third_party/mozjs-45/include/js/HashTable.h:186:67: required from 'void js::HashMap::clear() [with Key = JS::Value*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' src/third_party/mozjs-45/extract/js/src/jsgc.cpp:1406:24: required from here src/third_party/mozjs-45/include/js/HashTable.h:1550:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] 1550 | memset(table, 0, sizeof(*table) * capacity()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/HashTable.h:722:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here 722 | class HashTableEntry | ^~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = const js::EvalCacheEntry; HashPolicy = js::HashSet::SetOps; AllocPolicy = js::SystemAllocPolicy]': src/third_party/mozjs-45/include/js/HashTable.h:424:67: required from 'void js::HashSet::clear() [with T = js::EvalCacheEntry; HashPolicy = js::EvalCacheHashPolicy; AllocPolicy = js::SystemAllocPolicy]' src/third_party/mozjs-45/extract/js/src/jsgc.cpp:3791:24: required from here src/third_party/mozjs-45/include/js/HashTable.h:1550:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable::SetOps, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry'} with no trivial copy-assignment [-Wclass-memaccess] 1550 | memset(table, 0, sizeof(*table) * capacity()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/HashTable.h:722:7: note: 'js::detail::HashTable::SetOps, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry'} declared here 722 | class HashTableEntry | ^~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = JS::Zone* const; HashPolicy = js::HashSet, js::SystemAllocPolicy>::SetOps; AllocPolicy = js::SystemAllocPolicy]': src/third_party/mozjs-45/include/js/HashTable.h:424:67: required from 'void js::HashSet::clear() [with T = JS::Zone*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' src/third_party/mozjs-45/extract/js/src/jsgc.cpp:4678:37: required from here src/third_party/mozjs-45/include/js/HashTable.h:1550:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::SystemAllocPolicy>::SetOps, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry'} with no trivial copy-assignment [-Wclass-memaccess] 1550 | memset(table, 0, sizeof(*table) * capacity()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/HashTable.h:722:7: note: 'js::detail::HashTable, js::SystemAllocPolicy>::SetOps, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry'} declared here 722 | class HashTableEntry | ^~~~~~~~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/BitSet.h:12, from src/third_party/mozjs-45/extract/js/src/jit/Safepoints.h:10: src/third_party/mozjs-45/extract/js/src/jit/JitAllocPolicy.h: In instantiation of 'T* js::jit::JitAllocPolicy::maybe_pod_calloc(size_t) [with T = js::detail::HashTableEntry >; size_t = long unsigned int]': src/third_party/mozjs-45/include/js/HashTable.h:1144:54: required from 'static js::detail::HashTable::Entry* js::detail::HashTable::createTable(AllocPolicy&, uint32_t, FailureBehavior) [with T = js::HashMapEntry; HashPolicy = js::HashMap::MapHashPolicy; AllocPolicy = js::jit::JitAllocPolicy; Entry = js::detail::HashTableEntry >; uint32_t = unsigned int]' src/third_party/mozjs-45/include/js/HashTable.h:1212:28: required from 'bool js::detail::HashTable::init(uint32_t) [with T = js::HashMapEntry; HashPolicy = js::HashMap::MapHashPolicy; AllocPolicy = js::jit::JitAllocPolicy; uint32_t = unsigned int]' src/third_party/mozjs-45/include/js/HashTable.h:79:73: required from 'bool js::HashMap::init(uint32_t) [with Key = JS::Value; Value = unsigned int; HashPolicy = js::jit::LIRGraph::ValueHasher; AllocPolicy = js::jit::JitAllocPolicy; uint32_t = unsigned int]' src/third_party/mozjs-45/extract/js/src/jit/LIR.h:1696:37: required from here src/third_party/mozjs-45/extract/js/src/jit/JitAllocPolicy.h:92:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::detail::HashTableEntry >' with no trivial copy-assignment [-Wclass-memaccess] 92 | memset(p, 0, numElems * sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/HashTable.h:722:7: note: 'class js::detail::HashTableEntry >' declared here 722 | class HashTableEntry | ^~~~~~~~~~~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call gcc -o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_log1p.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -DUSE_COMPILER_F80_TYPE=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -Dlinux=1 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_log1p.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C ar rcsTD build/fedora/mongo/util/libsecure_zero_memory.a build/fedora/mongo/util/secure_zero_memory.o Skipping ranlib for thin archive build/fedora/mongo/util/libsecure_zero_memory.a g++ -o build/fedora/mongo/db/audit.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/audit.cpp In file included from src/third_party/mozjs-45/include/js/CallArgs.h:38, from src/third_party/mozjs-45/extract/js/src/jsapi.h:27: In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:708:30, inlined from 'legacy_iterator_next_impl(JSContext*, JS::CallArgs const&)' at src/third_party/mozjs-45/extract/js/src/jsiter.cpp:1017:25: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'value' in 'MEM[(struct Rooted * *)cx_415(D) + 104B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src23.cpp:38: src/third_party/mozjs-45/extract/js/src/jsiter.cpp: In function 'legacy_iterator_next_impl(JSContext*, JS::CallArgs const&)': src/third_party/mozjs-45/extract/js/src/jsiter.cpp:1017:17: note: 'value' declared here 1017 | RootedValue value(cx); | ^~~~~ src/third_party/mozjs-45/extract/js/src/jsiter.cpp:1017:17: note: 'cx_415(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:708:30, inlined from 'Error(JSContext*, unsigned int, JS::Value*)' at src/third_party/mozjs-45/extract/js/src/jsexn.cpp:337:29: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'fileName' in 'MEM[(struct Rooted * *)cx_217(D) + 56B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jsexn.cpp: In function 'Error(JSContext*, unsigned int, JS::Value*)': src/third_party/mozjs-45/extract/js/src/jsexn.cpp:337:18: note: 'fileName' declared here 337 | RootedString fileName(cx); | ^~~~~~~~ src/third_party/mozjs-45/extract/js/src/jsexn.cpp:337:18: note: 'cx_217(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSAtom*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'DefineHelpProperty(JSContext*, JS::Handle, char const*, char const*)' at src/third_party/mozjs-45/extract/js/src/jsfriendapi.cpp:221:58: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'atom' in 'MEM[(struct Rooted * *)cx_31(D) + 56B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src23.cpp:11: src/third_party/mozjs-45/extract/js/src/jsfriendapi.cpp: In function 'DefineHelpProperty(JSContext*, JS::Handle, char const*, char const*)': src/third_party/mozjs-45/extract/js/src/jsfriendapi.cpp:221:16: note: 'atom' declared here 221 | RootedAtom atom(cx, Atomize(cx, value, strlen(value))); | ^~~~ src/third_party/mozjs-45/extract/js/src/jsfriendapi.cpp:221:16: note: 'cx_31(D)' declared here ar rcsTD build/fedora/mongo/db/libaudit.a build/fedora/mongo/db/audit.o Skipping ranlib for thin archive build/fedora/mongo/db/libaudit.a g++ -o build/fedora/mongo/db/s/migration_session_id.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/s/migration_session_id.cpp In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::ArgumentsObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'ArgumentsGetterImpl(JSContext*, JS::CallArgs const&)' at src/third_party/mozjs-45/extract/js/src/jsfun.cpp:161:85: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'argsobj' in 'MEM[(struct Rooted * *)cx_91(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src23.cpp:20: src/third_party/mozjs-45/extract/js/src/jsfun.cpp: In function 'ArgumentsGetterImpl(JSContext*, JS::CallArgs const&)': src/third_party/mozjs-45/extract/js/src/jsfun.cpp:161:30: note: 'argsobj' declared here 161 | Rooted argsobj(cx, ArgumentsObject::createUnexpected(cx, iter)); | ^~~~~~~ src/third_party/mozjs-45/extract/js/src/jsfun.cpp:161:30: note: 'cx_91(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::ErrorObject::createProto(JSContext*, JSProtoKey)' at src/third_party/mozjs-45/extract/js/src/jsexn.cpp:467:64: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'errorProto' in 'MEM[(struct Rooted * *)cx_134(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jsexn.cpp: In function 'js::ErrorObject::createProto(JSContext*, JSProtoKey)': src/third_party/mozjs-45/extract/js/src/jsexn.cpp:467:18: note: 'errorProto' declared here 467 | RootedObject errorProto(cx, GenericCreatePrototype(cx, key)); | ^~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jsexn.cpp:467:18: note: 'cx_134(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSString*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::ErrorReportToString(JSContext*, JSErrorReport*)' at src/third_party/mozjs-45/extract/js/src/jsexn.cpp:619:74: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'toAppend' in 'MEM[(struct Rooted * *)cx_84(D) + 56B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jsexn.cpp: In function 'js::ErrorReportToString(JSContext*, JSErrorReport*)': src/third_party/mozjs-45/extract/js/src/jsexn.cpp:619:18: note: 'toAppend' declared here 619 | RootedString toAppend(cx, JS_NewUCStringCopyN(cx, MOZ_UTF16(": "), 2)); | ^~~~~~~~ src/third_party/mozjs-45/extract/js/src/jsexn.cpp:619:18: note: 'cx_84(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSString*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::ErrorReport::init(JSContext*, JS::Handle)' at src/third_party/mozjs-45/extract/js/src/jsexn.cpp:811:63: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'colon' in 'MEM[(struct Rooted * *)cx_396(D) + 56B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jsexn.cpp: In member function 'js::ErrorReport::init(JSContext*, JS::Handle)': src/third_party/mozjs-45/extract/js/src/jsexn.cpp:811:26: note: 'colon' declared here 811 | RootedString colon(cx, JS_NewStringCopyZ(cx, ": ")); | ^~~~~ src/third_party/mozjs-45/extract/js/src/jsexn.cpp:811:26: note: 'cx_396(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'JS_NewObjectWithUniqueType(JSContext*, JSClass const*, JS::Handle)' at src/third_party/mozjs-45/extract/js/src/jsfriendapi.cpp:131:66: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'obj' in 'MEM[(struct Rooted * *)cx_32(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jsfriendapi.cpp: In function 'JS_NewObjectWithUniqueType(JSContext*, JSClass const*, JS::Handle)': src/third_party/mozjs-45/extract/js/src/jsfriendapi.cpp:130:18: note: 'obj' declared here 130 | RootedObject obj(cx, NewObjectWithGivenProto(cx, (const js::Class*)clasp, nullptr, | ^~~ src/third_party/mozjs-45/extract/js/src/jsfriendapi.cpp:130:18: note: 'cx_32(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSFunction*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::GetOutermostEnclosingFunctionOfScriptedCaller(JSContext*)' at src/third_party/mozjs-45/extract/js/src/jsfriendapi.cpp:403:44: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'curr' in 'MEM[(struct Rooted * *)cx_56(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jsfriendapi.cpp: In function 'js::GetOutermostEnclosingFunctionOfScriptedCaller(JSContext*)': src/third_party/mozjs-45/extract/js/src/jsfriendapi.cpp:403:20: note: 'curr' declared here 403 | RootedFunction curr(cx, iter.callee(cx)); | ^~~~ src/third_party/mozjs-45/extract/js/src/jsfriendapi.cpp:403:20: note: 'cx_56(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::GetTestingFunctions(JSContext*)' at src/third_party/mozjs-45/extract/js/src/jsfriendapi.cpp:1081:47: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'obj' in 'MEM[(struct Rooted * *)cx_30(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jsfriendapi.cpp: In function 'js::GetTestingFunctions(JSContext*)': src/third_party/mozjs-45/extract/js/src/jsfriendapi.cpp:1081:18: note: 'obj' declared here 1081 | RootedObject obj(cx, JS_NewPlainObject(cx)); | ^~~ src/third_party/mozjs-45/extract/js/src/jsfriendapi.cpp:1081:18: note: 'cx_30(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSAtom*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'JSFunction::createScriptForLazilyInterpretedFunction(JSContext*, JS::Handle)' at src/third_party/mozjs-45/extract/js/src/jsfun.cpp:1459:95: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'funAtom' in 'MEM[(struct Rooted * *)cx_288(D) + 56B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jsfun.cpp: In function 'JSFunction::createScriptForLazilyInterpretedFunction(JSContext*, JS::Handle)': src/third_party/mozjs-45/extract/js/src/jsfun.cpp:1459:16: note: 'funAtom' declared here 1459 | RootedAtom funAtom(cx, &fun->getExtendedSlot(LAZY_FUNCTION_NAME_SLOT).toString()->asAtom()); | ^~~~~~~ src/third_party/mozjs-45/extract/js/src/jsfun.cpp:1459:16: note: 'cx_288(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::PlainObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'ResolveInterpretedFunctionPrototype(JSContext*, JS::Handle, JS::Handle)' at src/third_party/mozjs-45/extract/js/src/jsfun.cpp:389:86, inlined from 'fun_resolve(JSContext*, JS::Handle, JS::Handle, bool*)' at src/third_party/mozjs-45/extract/js/src/jsfun.cpp:450:49: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'proto' in 'MEM[(struct Rooted * *)cx_119(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jsfun.cpp: In function 'fun_resolve(JSContext*, JS::Handle, JS::Handle, bool*)': src/third_party/mozjs-45/extract/js/src/jsfun.cpp:388:23: note: 'proto' declared here 388 | RootedPlainObject proto(cx, NewObjectWithGivenProto(cx, objProto, | ^~~~~ src/third_party/mozjs-45/extract/js/src/jsfun.cpp:388:23: note: 'cx_119(D)' declared here g++ -o build/fedora/third_party/murmurhash3/MurmurHash3.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc -Ibuild/fedora -Isrc src/third_party/murmurhash3/MurmurHash3.cpp ar rcsTD build/fedora/third_party/murmurhash3/libmurmurhash3.a build/fedora/third_party/murmurhash3/MurmurHash3.o Skipping ranlib for thin archive build/fedora/third_party/murmurhash3/libmurmurhash3.a gcc -o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_to_uint32.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -DUSE_COMPILER_F80_TYPE=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -Dlinux=1 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_to_uint32.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C gcc -o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_asinh.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -DUSE_COMPILER_F80_TYPE=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -Dlinux=1 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_asinh.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C g++ -o build/fedora/mongo/db/pipeline/document_source_current_op.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/pipeline/document_source_current_op.cpp In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::gc::NewMemoryInfoObject(JSContext*)' at src/third_party/mozjs-45/extract/js/src/jsgc.cpp:7767:55: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'zoneObj' in 'MEM[(struct Rooted * *)cx_114(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jsgc.cpp: In function 'js::gc::NewMemoryInfoObject(JSContext*)': src/third_party/mozjs-45/extract/js/src/jsgc.cpp:7767:18: note: 'zoneObj' declared here 7767 | RootedObject zoneObj(cx, JS_NewObject(cx, nullptr)); | ^~~~~~~ src/third_party/mozjs-45/extract/js/src/jsgc.cpp:7767:18: note: 'cx_114(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::NativeObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::CreateItrResultObject(JSContext*, JS::Handle, bool)' at src/third_party/mozjs-45/extract/js/src/jsiter.cpp:918:72: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'proto' in 'MEM[(struct Rooted * *)cx_93(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jsiter.cpp: In function 'js::CreateItrResultObject(JSContext*, JS::Handle, bool)': src/third_party/mozjs-45/extract/js/src/jsiter.cpp:918:18: note: 'proto' declared here 918 | RootedObject proto(cx, cx->global()->getOrCreateObjectPrototype(cx)); | ^~~~~ src/third_party/mozjs-45/extract/js/src/jsiter.cpp:918:18: note: 'cx_93(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSFlatString*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::SuppressDeletedProperty(JSContext*, JS::Handle, jsid)' at src/third_party/mozjs-45/extract/js/src/jsiter.cpp:1344:53: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'str' in 'MEM[(struct Rooted * *)cx_82(D) + 56B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jsiter.cpp: In function 'js::SuppressDeletedProperty(JSContext*, JS::Handle, jsid)': src/third_party/mozjs-45/extract/js/src/jsiter.cpp:1344:27: note: 'str' declared here 1344 | Rooted str(cx, IdToString(cx, id)); | ^~~ src/third_party/mozjs-45/extract/js/src/jsiter.cpp:1344:27: note: 'cx_82(D)' declared here In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/bson/bsonobj.h:44, from src/mongo/bson/bsonobj_comparator_interface.h:32, from src/mongo/bson/simple_bsonobj_comparator.h:34, from src/mongo/db/pipeline/document_source.h:41, from src/mongo/db/pipeline/document_source_current_op.h:31, from src/mongo/db/pipeline/document_source_current_op.cpp:31: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/db/pipeline/document_source.h:44: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'exn_toSource(JSContext*, unsigned int, JS::Value*)' at src/third_party/mozjs-45/extract/js/src/jsexn.cpp:394:52: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'obj' in 'MEM[(struct Rooted * *)cx_342(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jsexn.cpp: In function 'exn_toSource(JSContext*, unsigned int, JS::Value*)': src/third_party/mozjs-45/extract/js/src/jsexn.cpp:394:18: note: 'obj' declared here 394 | RootedObject obj(cx, ToObject(cx, args.thisv())); | ^~~ src/third_party/mozjs-45/extract/js/src/jsexn.cpp:394:18: note: 'cx_342(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSFlatString*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::FunctionToString(JSContext*, JS::Handle, bool)' at src/third_party/mozjs-45/extract/js/src/jsfun.cpp:974:61: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'src' in 'MEM[(struct Rooted * *)cx_305(D) + 56B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jsfun.cpp: In function 'js::FunctionToString(JSContext*, JS::Handle, bool)': src/third_party/mozjs-45/extract/js/src/jsfun.cpp:974:31: note: 'src' declared here 974 | Rooted src(cx, script->sourceData(cx)); | ^~~ src/third_party/mozjs-45/extract/js/src/jsfun.cpp:974:31: note: 'cx_305(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::fun_toString(JSContext*, unsigned int, JS::Value*)' at src/third_party/mozjs-45/extract/js/src/jsfun.cpp:1136:52: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'obj' in 'MEM[(struct Rooted * *)cx_57(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jsfun.cpp: In function 'js::fun_toString(JSContext*, unsigned int, JS::Value*)': src/third_party/mozjs-45/extract/js/src/jsfun.cpp:1136:18: note: 'obj' declared here 1136 | RootedObject obj(cx, ToObject(cx, args.thisv())); | ^~~ src/third_party/mozjs-45/extract/js/src/jsfun.cpp:1136:18: note: 'cx_57(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'fun_toSource(JSContext*, unsigned int, JS::Value*)' at src/third_party/mozjs-45/extract/js/src/jsfun.cpp:1155:52: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'obj' in 'MEM[(struct Rooted * *)cx_66(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jsfun.cpp: In function 'fun_toSource(JSContext*, unsigned int, JS::Value*)': src/third_party/mozjs-45/extract/js/src/jsfun.cpp:1155:18: note: 'obj' declared here 1155 | RootedObject obj(cx, ToObject(cx, args.thisv())); | ^~~ src/third_party/mozjs-45/extract/js/src/jsfun.cpp:1155:18: note: 'cx_66(D)' declared here In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSFunction*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'FunctionConstructor(JSContext*, unsigned int, JS::Value*, js::GeneratorKind)' at src/third_party/mozjs-45/extract/js/src/jsfun.cpp:1869:84: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'fun' in 'MEM[(struct Rooted * *)cx_573(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jsfun.cpp: In function 'FunctionConstructor(JSContext*, unsigned int, JS::Value*, js::GeneratorKind)': src/third_party/mozjs-45/extract/js/src/jsfun.cpp:1866:20: note: 'fun' declared here 1866 | RootedFunction fun(cx, NewFunctionWithProto(cx, nullptr, 0, | ^~~ src/third_party/mozjs-45/extract/js/src/jsfun.cpp:1866:20: note: 'cx_573(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSAtom*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::DefineFunction(JSContext*, JS::Handle, JS::Handle, bool (*)(JSContext*, unsigned int, JS::Value*), unsigned int, unsigned int, js::gc::AllocKind)' at src/third_party/mozjs-45/extract/js/src/jsfun.cpp:2296:49: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'atom' in 'MEM[(struct Rooted * *)cx_109(D) + 56B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jsfun.cpp: In function 'js::DefineFunction(JSContext*, JS::Handle, JS::Handle, bool (*)(JSContext*, unsigned int, JS::Value*), unsigned int, unsigned int, js::gc::AllocKind)': src/third_party/mozjs-45/extract/js/src/jsfun.cpp:2296:16: note: 'atom' declared here 2296 | RootedAtom atom(cx, IdToFunctionName(cx, id)); | ^~~~ src/third_party/mozjs-45/extract/js/src/jsfun.cpp:2296:16: note: 'cx_109(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSFunction*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'JS_DefineFunctionsWithHelp(JSContext*, JS::Handle, JSFunctionSpecWithHelp const*)' at src/third_party/mozjs-45/extract/js/src/jsfriendapi.cpp:242:91: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'fun' in 'MEM[(struct Rooted * *)cx_90(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jsfriendapi.cpp: In function 'JS_DefineFunctionsWithHelp(JSContext*, JS::Handle, JSFunctionSpecWithHelp const*)': src/third_party/mozjs-45/extract/js/src/jsfriendapi.cpp:242:24: note: 'fun' declared here 242 | RootedFunction fun(cx, DefineFunction(cx, obj, id, fs->call, fs->nargs, fs->flags)); | ^~~ src/third_party/mozjs-45/extract/js/src/jsfriendapi.cpp:242:24: note: 'cx_90(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSFunction*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::CloneFunctionReuseScript(JSContext*, JS::Handle, JS::Handle, js::gc::AllocKind, js::NewObjectKind, JS::Handle)' at src/third_party/mozjs-45/extract/js/src/jsfun.cpp:2164:82: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'clone' in 'MEM[(struct Rooted * *)cx_62(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jsfun.cpp: In function 'js::CloneFunctionReuseScript(JSContext*, JS::Handle, JS::Handle, js::gc::AllocKind, js::NewObjectKind, JS::Handle)': src/third_party/mozjs-45/extract/js/src/jsfun.cpp:2164:20: note: 'clone' declared here 2164 | RootedFunction clone(cx, NewFunctionClone(cx, fun, newKind, allocKind, proto)); | ^~~~~ src/third_party/mozjs-45/extract/js/src/jsfun.cpp:2164:20: note: 'cx_62(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::ObjectGroup*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'NewPropertyIteratorObject(JSContext*, unsigned int)' at src/third_party/mozjs-45/extract/js/src/jsiter.cpp:543:87: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'group' in 'MEM[(struct Rooted * *)cx_159(D) + 48B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jsiter.cpp: In function 'NewPropertyIteratorObject(JSContext*, unsigned int)': src/third_party/mozjs-45/extract/js/src/jsiter.cpp:542:27: note: 'group' declared here 542 | RootedObjectGroup group(cx, ObjectGroup::defaultNewGroup(cx, &PropertyIteratorObject::class_, | ^~~~~ src/third_party/mozjs-45/extract/js/src/jsiter.cpp:542:27: note: 'cx_159(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::PropertyIteratorObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'VectorToKeyIterator(JSContext*, JS::Handle, unsigned int, JS::AutoVectorRooter&, unsigned int, unsigned int, JS::MutableHandle)' at src/third_party/mozjs-45/extract/js/src/jsiter.cpp:664:85: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'iterobj' in 'MEM[(struct Rooted * *)cx_81(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jsiter.cpp: In function 'VectorToKeyIterator(JSContext*, JS::Handle, unsigned int, JS::AutoVectorRooter&, unsigned int, unsigned int, JS::MutableHandle)': src/third_party/mozjs-45/extract/js/src/jsiter.cpp:664:37: note: 'iterobj' declared here 664 | Rooted iterobj(cx, NewPropertyIteratorObject(cx, flags)); | ^~~~~~~ src/third_party/mozjs-45/extract/js/src/jsiter.cpp:664:37: note: 'cx_81(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::PropertyIteratorObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'VectorToValueIterator(JSContext*, JS::Handle, unsigned int, JS::AutoVectorRooter&, JS::MutableHandle)' at src/third_party/mozjs-45/extract/js/src/jsiter.cpp:701:85: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'iterobj' in 'MEM[(struct Rooted * *)cx_61(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jsiter.cpp: In function 'VectorToValueIterator(JSContext*, JS::Handle, unsigned int, JS::AutoVectorRooter&, JS::MutableHandle)': src/third_party/mozjs-45/extract/js/src/jsiter.cpp:701:37: note: 'iterobj' declared here 701 | Rooted iterobj(cx, NewPropertyIteratorObject(cx, flags)); | ^~~~~~~ src/third_party/mozjs-45/extract/js/src/jsiter.cpp:701:37: note: 'cx_61(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::PropertyIteratorObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::NewEmptyPropertyIterator(JSContext*, unsigned int, JS::MutableHandle)' at src/third_party/mozjs-45/extract/js/src/jsiter.cpp:731:85: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'iterobj' in 'MEM[(struct Rooted * *)cx_61(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jsiter.cpp: In function 'js::NewEmptyPropertyIterator(JSContext*, unsigned int, JS::MutableHandle)': src/third_party/mozjs-45/extract/js/src/jsiter.cpp:731:37: note: 'iterobj' declared here 731 | Rooted iterobj(cx, NewPropertyIteratorObject(cx, flags)); | ^~~~~~~ src/third_party/mozjs-45/extract/js/src/jsiter.cpp:731:37: note: 'cx_61(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::PlainObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::GlobalObject::initIteratorProto(JSContext*, JS::Handle)' at src/third_party/mozjs-45/extract/js/src/jsiter.cpp:1464:73: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'proto' in 'MEM[(struct Rooted * *)cx_49(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jsiter.cpp: In function 'js::GlobalObject::initIteratorProto(JSContext*, JS::Handle)': src/third_party/mozjs-45/extract/js/src/jsiter.cpp:1464:18: note: 'proto' declared here 1464 | RootedObject proto(cx, global->createBlankPrototype(cx)); | ^~~~~ src/third_party/mozjs-45/extract/js/src/jsiter.cpp:1464:18: note: 'cx_49(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::NativeObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::InitStopIterationClass(JSContext*, JS::Handle)' at src/third_party/mozjs-45/extract/js/src/jsiter.cpp:1553:94: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'proto' in 'MEM[(struct Rooted * *)cx_75(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jsiter.cpp: In function 'js::InitStopIterationClass(JSContext*, JS::Handle)': src/third_party/mozjs-45/extract/js/src/jsiter.cpp:1553:22: note: 'proto' declared here 1553 | RootedObject proto(cx, global->createBlankPrototype(cx, &StopIterationObject::class_)); | ^~~~~ src/third_party/mozjs-45/extract/js/src/jsiter.cpp:1553:22: note: 'cx_75(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::NativeObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::GlobalObject::initStringIteratorProto(JSContext*, JS::Handle)' at src/third_party/mozjs-45/extract/js/src/jsiter.cpp:1497:90: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'iteratorProto' in 'MEM[(struct Rooted * *)cx_72(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jsiter.cpp: In function 'js::GlobalObject::initStringIteratorProto(JSContext*, JS::Handle)': src/third_party/mozjs-45/extract/js/src/jsiter.cpp:1497:18: note: 'iteratorProto' declared here 1497 | RootedObject iteratorProto(cx, GlobalObject::getOrCreateIteratorPrototype(cx, global)); | ^~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jsiter.cpp:1497:18: note: 'cx_72(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::NativeObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::GlobalObject::initArrayIteratorProto(JSContext*, JS::Handle)' at src/third_party/mozjs-45/extract/js/src/jsiter.cpp:1478:90: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'iteratorProto' in 'MEM[(struct Rooted * *)cx_72(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jsiter.cpp: In function 'js::GlobalObject::initArrayIteratorProto(JSContext*, JS::Handle)': src/third_party/mozjs-45/extract/js/src/jsiter.cpp:1478:18: note: 'iteratorProto' declared here 1478 | RootedObject iteratorProto(cx, GlobalObject::getOrCreateIteratorPrototype(cx, global)); | ^~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jsiter.cpp:1478:18: note: 'cx_72(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSAtom*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::fun_bind(JSContext*, unsigned int, JS::Value*)' at src/third_party/mozjs-45/extract/js/src/jsfun.cpp:1686:44: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'nameAtom' in 'MEM[(struct Rooted * *)cx_434(D) + 56B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jsfun.cpp: In function 'js::fun_bind(JSContext*, unsigned int, JS::Value*)': src/third_party/mozjs-45/extract/js/src/jsfun.cpp:1686:16: note: 'nameAtom' declared here 1686 | RootedAtom nameAtom(cx, sb.finishAtom()); | ^~~~~~~~ src/third_party/mozjs-45/extract/js/src/jsfun.cpp:1686:16: note: 'cx_434(D)' declared here g++ -o build/fedora/third_party/icu4c-57.1/source/common/serv.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/serv.cpp gcc -o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_to_uint32.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -DUSE_COMPILER_F80_TYPE=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -Dlinux=1 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_to_uint32.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C g++ -o build/fedora/third_party/icu4c-57.1/source/i18n/measure.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/measure.cpp gcc -o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_scalbl.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -DUSE_COMPILER_F80_TYPE=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -Dlinux=1 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_scalbl.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C gcc -o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_bessel.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -DUSE_COMPILER_F80_TYPE=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -Dlinux=1 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_bessel.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C g++ -o build/fedora/third_party/icu4c-57.1/source/common/uidna.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/uidna.cpp gcc -o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_to_uint64.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -DUSE_COMPILER_F80_TYPE=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -Dlinux=1 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_to_uint64.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C g++ -o build/fedora/third_party/icu4c-57.1/source/i18n/chnsecal.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/chnsecal.cpp g++ -o build/fedora/third_party/icu4c-57.1/source/i18n/quantityformatter.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/quantityformatter.cpp g++ -o build/fedora/mongo/db/dbhelpers.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/dbhelpers.cpp gcc -o build/fedora/third_party/icu4c-57.1/source/common/udatamem.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/udatamem.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C g++ -o build/fedora/mongo/db/commands/feature_compatibility_version_command_parser.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/commands/feature_compatibility_version_command_parser.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/db/commands/feature_compatibility_version_command_parser.cpp:36: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/bson/bsonobj.h:44, from src/mongo/db/commands/feature_compatibility_version_command_parser.cpp:34: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/bson/timestamp.h:31, from src/mongo/db/repl/optime.h:33, from src/mongo/db/namespace_string.h:38, from src/mongo/db/dbhelpers.h:34, from src/mongo/db/dbhelpers.cpp:33: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ 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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/plan_cache.h:35, from src/mongo/db/catalog/collection_info_cache.h:33, from src/mongo/db/catalog/collection.h:41, from src/mongo/db/catalog_raii.h:32, from src/mongo/db/db_raii.h:33, from src/mongo/db/dbhelpers.cpp:39: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ 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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, unsigned int, mongo::StringMapTraits>': src/mongo/db/op_observer.h:310:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long unsigned int, mongo::StringMapTraits>': src/mongo/db/views/view_graph.h:177:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/db/views/view_catalog.h:174:13: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Collection*, mongo::StringMapTraits>': src/mongo/db/catalog/database.h:165:38: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Top::CollectionData, mongo::StringMapTraits>': src/mongo/db/stats/top.h:150:14: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call g++ -o build/fedora/mongo/db/signed_logical_time.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/signed_logical_time.cpp In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call ar rcsTD build/fedora/mongo/db/libsigned_logical_time.a build/fedora/mongo/db/signed_logical_time.o Skipping ranlib for thin archive build/fedora/mongo/db/libsigned_logical_time.a gcc -o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_to_int64.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -DUSE_COMPILER_F80_TYPE=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -Dlinux=1 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_to_int64.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C g++ -o build/fedora/mongo/db/catalog/health_log.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/catalog/health_log.cpp In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/bson/timestamp.h:31, from src/mongo/db/catalog/collection.h:39, from src/mongo/db/concurrency/deferred_writer.h:31, from src/mongo/db/catalog/health_log.h:32, from src/mongo/db/catalog/health_log.cpp:31: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/plan_cache.h:35, from src/mongo/db/catalog/collection_info_cache.h:33, from src/mongo/db/catalog/collection.h:41: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/third_party/s2/s2latlng.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -DDEBUG_MODE=false -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/third_party/s2/s2latlng.cc src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, unsigned int, mongo::StringMapTraits>': src/mongo/db/op_observer.h:310:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long unsigned int, mongo::StringMapTraits>': src/mongo/db/views/view_graph.h:177:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/db/views/view_catalog.h:174:13: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Collection*, mongo::StringMapTraits>': src/mongo/db/catalog/database.h:165:38: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Top::CollectionData, mongo::StringMapTraits>': src/mongo/db/stats/top.h:150:14: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/third_party/icu4c-57.1/source/i18n/digitaffixesandpadding.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/digitaffixesandpadding.cpp g++ -o build/fedora/third_party/s2/strings/strutil.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Isrc/third_party/s2 -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/third_party/s2/strings/strutil.cc gcc -o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/wcstod128.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -DUSE_COMPILER_F80_TYPE=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -Dlinux=1 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/wcstod128.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call gcc -o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid_fesetexceptflag.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -DUSE_COMPILER_F80_TYPE=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -Dlinux=1 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid_fesetexceptflag.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C g++ -o build/fedora/mongo/util/duration.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/util/duration.cpp g++ -o build/fedora/mongo/db/storage/wiredtiger/wiredtiger_index.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora/third_party/wiredtiger -Isrc/third_party/wiredtiger -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/storage/wiredtiger/wiredtiger_index.cpp g++ -o build/fedora/third_party/icu4c-57.1/source/i18n/digitlst.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/digitlst.cpp g++ -o build/fedora/mongo/rpc/metadata/tracking_metadata.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/rpc/metadata/tracking_metadata.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/db/curop.h:35, from src/mongo/db/storage/wiredtiger/wiredtiger_prepare_conflict.h:32, from src/mongo/db/storage/wiredtiger/wiredtiger_index.h:38, from src/mongo/db/storage/wiredtiger/wiredtiger_index.cpp:35: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/bson/util/bson_check.h:33, from src/mongo/rpc/metadata/tracking_metadata.cpp:33: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/bson/bsonobj.h:44, from src/mongo/bson/bsonobj_comparator_interface.h:32, from src/mongo/bson/simple_bsonobj_comparator.h:34, from src/mongo/db/storage/index_entry_comparison.h:35, from src/mongo/db/storage/wiredtiger/wiredtiger_index.h:34: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/rpc/metadata/tracking_metadata.h:31, from src/mongo/rpc/metadata/tracking_metadata.cpp:31: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ 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: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/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ 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: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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, bool, mongo::StringMapTraits>': src/mongo/bson/util/bson_check.h:62:43: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = bool; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = bool; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = bool; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = bool; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/db/storage/wiredtiger/wiredtiger_size_storer.h:106:12: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call g++ -o build/fedora/mongo/db/repl/vote_requester.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/repl/vote_requester.cpp In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/bson/timestamp.h:31, from src/mongo/db/repl/vote_requester.h:35, from src/mongo/db/repl/vote_requester.cpp:33: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::repl::ReplSetTagPattern, mongo::StringMapTraits>': src/mongo/db/repl/repl_set_config.h:402:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::repl::ReplSetTagPattern; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::repl::ReplSetTagPattern; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::repl::ReplSetTagPattern; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::repl::ReplSetTagPattern; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ gcc -o build/fedora/third_party/icu4c-57.1/source/i18n/decNumber.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/decNumber.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C g++ -o build/fedora/mongo/db/s/config/configsvr_move_primary_command.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/s/config/configsvr_move_primary_command.cpp src/third_party/icu4c-57.1/source/i18n/decNumber.c: In function 'uprv_decNumberLog10': src/third_party/icu4c-57.1/source/i18n/decNumber.c:1524:14: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 1524 | w->lsu[1]=1; w->lsu[0]=0; /* .. */ | ~~~~~~~~~^~ In file included from src/third_party/icu4c-57.1/source/i18n/decNumber.c:182: src/third_party/icu4c-57.1/source/i18n/decNumber.h:87:19: note: at offset 1 into destination object 'lsu' of size 1 87 | decNumberUnit lsu[DECNUMUNITS]; | ^~~ src/third_party/icu4c-57.1/source/i18n/decNumber.c:1524:14: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 1524 | w->lsu[1]=1; w->lsu[0]=0; /* .. */ | ~~~~~~~~~^~ src/third_party/icu4c-57.1/source/i18n/decNumber.h:87:19: note: at offset 1 into destination object 'lsu' of size 1 87 | decNumberUnit lsu[DECNUMUNITS]; | ^~~ src/third_party/icu4c-57.1/source/i18n/decNumber.c: In function 'uprv_decNumberSquareRoot': src/third_party/icu4c-57.1/source/i18n/decNumber.c:2970:31: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 2970 | t->lsu[0]=9; t->lsu[1]=5; t->lsu[2]=2; | ~~~~~~~~~^~ src/third_party/icu4c-57.1/source/i18n/decNumber.h:87:19: note: at offset 1 into destination object 'lsu' of size 1 87 | decNumberUnit lsu[DECNUMUNITS]; | ^~~ src/third_party/icu4c-57.1/source/i18n/decNumber.c:2970:44: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 2970 | t->lsu[0]=9; t->lsu[1]=5; t->lsu[2]=2; | ~~~~~~~~~^~ src/third_party/icu4c-57.1/source/i18n/decNumber.h:87:19: note: at offset 2 into destination object 'lsu' of size 1 87 | decNumberUnit lsu[DECNUMUNITS]; | ^~~ g++ -o build/fedora/third_party/asio-master/asio/src/asio.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/asio-master/asio/include src/third_party/asio-master/asio/src/asio.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/db/s/config/configsvr_move_primary_command.cpp:40: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/client/connection_string.h:38, from src/mongo/client/dbclientinterface.h:34, from src/mongo/client/connpool.h:35, from src/mongo/db/s/config/configsvr_move_primary_command.cpp:33: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, unsigned int, mongo::StringMapTraits>': src/mongo/db/op_observer.h:310:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/db/s/config/namespace_serializer.h:73:40: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/third_party/asio-master/asio/include/asio/impl/src.hpp:52, from src/third_party/asio-master/asio/src/asio.cpp:11: src/third_party/asio-master/asio/include/asio/detail/impl/socket_ops.ipp: In function 'asio::detail::socket_ops::inet_ntop(int, void const*, char*, unsigned long, unsigned long, std::error_code&)': src/third_party/asio-master/asio/include/asio/detail/impl/socket_ops.ipp:2101:29: warning: '%lu' directive writing between 1 and 20 bytes into a region of size 16 [-Wformat-overflow=] 2101 | sprintf(if_name + 1, "%lu", scope_id); | ^~~ src/third_party/asio-master/asio/include/asio/detail/impl/socket_ops.ipp:2101:28: note: directive argument in the range [1, 18446744073709551615] 2101 | sprintf(if_name + 1, "%lu", scope_id); | ^~~~~ In file included from /usr/include/stdio.h:906, from /usr/include/c++/12/cstdio:42, from /usr/include/c++/12/ext/string_conversions.h:43, from /usr/include/c++/12/bits/basic_string.h:3960, from /usr/include/c++/12/string:53, from src/third_party/asio-master/asio/include/asio/impl/error.ipp:19, from src/third_party/asio-master/asio/include/asio/impl/src.hpp:22: In function 'sprintf', inlined from 'asio::detail::socket_ops::inet_ntop(int, void const*, char*, unsigned long, unsigned long, std::error_code&)' at src/third_party/asio-master/asio/include/asio/detail/impl/socket_ops.ipp:2101:14: /usr/include/bits/stdio2.h:30:34: note: '__sprintf_chk' output between 2 and 21 bytes into a destination of size 16 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/s/catalog_cache.h:377:21: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/s/catalog_cache.h:379:24: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/s/catalog_cache.h:379:24: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/s/catalog_cache.h:379:24: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call ar rcsTD build/fedora/third_party/asio-master/libasio.a build/fedora/third_party/asio-master/asio/src/asio.o Skipping ranlib for thin archive build/fedora/third_party/asio-master/libasio.a gcc -o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/strtod128.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -DUSE_COMPILER_F80_TYPE=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -Dlinux=1 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/strtod128.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C g++ -o build/fedora/third_party/icu4c-57.1/source/i18n/udateintervalformat.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/udateintervalformat.cpp g++ -o build/fedora/mongo/db/storage/kv/kv_collection_catalog_entry.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/storage/kv/kv_collection_catalog_entry.cpp In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/db/catalog/collection_options.h:36, from src/mongo/db/catalog/collection_catalog_entry.h:34, from src/mongo/db/storage/kv/kv_collection_catalog_entry.h:35, from src/mongo/db/storage/kv/kv_collection_catalog_entry.cpp:33: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/plan_cache.h:35, from src/mongo/db/catalog/collection_info_cache.h:33, from src/mongo/db/catalog/collection.h:41, from src/mongo/db/catalog/uuid_catalog.h:34, from src/mongo/db/storage/kv/kv_collection_catalog_entry.cpp:35: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/mongo/db/storage/mmap_v1/extent.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/storage/mmap_v1/extent.cpp src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, unsigned int, mongo::StringMapTraits>': src/mongo/db/op_observer.h:310:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::vector, mongo::StringMapTraits>': src/mongo/db/catalog/uuid_catalog.h:234:44: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::vector; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::vector; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::vector; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::vector; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call g++ -o build/fedora/third_party/icu4c-57.1/source/common/bytestrie.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/bytestrie.cpp g++ -o build/fedora/mongo/crypto/sha256_block.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/crypto/sha256_block.cpp ar rcsTD build/fedora/mongo/crypto/libsha256_block.a build/fedora/mongo/crypto/sha256_block.o Skipping ranlib for thin archive build/fedora/mongo/crypto/libsha256_block.a g++ -o build/fedora/mongo/db/s/config/configsvr_merge_chunk_command.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/s/config/configsvr_merge_chunk_command.cpp g++ -o build/fedora/mongo/db/catalog/database.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/catalog/database.cpp In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/bson/bsonobj.h:44, from src/mongo/db/catalog/database.h:37, from src/mongo/db/catalog/database.cpp:33: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/plan_cache.h:35, from src/mongo/db/catalog/collection_info_cache.h:33, from src/mongo/db/catalog/collection.h:41, from src/mongo/db/catalog/database.h:38: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/db/s/config/configsvr_merge_chunk_command.cpp:36: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/db/server_options.h:30, from src/mongo/base/secure_allocator.h:40, from src/mongo/db/auth/authorization_manager.h:35, from src/mongo/db/auth/authorization_session.h:38, from src/mongo/db/s/config/configsvr_merge_chunk_command.cpp:34: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/db/s/config/namespace_serializer.h:73:40: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, unsigned int, mongo::StringMapTraits>': src/mongo/db/op_observer.h:310:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long unsigned int, mongo::StringMapTraits>': src/mongo/db/views/view_graph.h:177:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/db/views/view_catalog.h:174:13: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Collection*, mongo::StringMapTraits>': src/mongo/db/catalog/database.h:165:38: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call g++ -o build/fedora/mongo/db/query/collation/collator_interface_icu.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/query/collation/collator_interface_icu.cpp g++ -o build/fedora/mongo/db/query/getmore_request.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/query/getmore_request.cpp g++ -o build/fedora/mongo/db/index/s2_common.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/index/s2_common.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/query_solution.h:36, from src/mongo/db/query/plan_executor.h:37, from src/mongo/db/clientcursor.h:38, from src/mongo/db/query/getmore_request.h:36, from src/mongo/db/query/getmore_request.cpp:33: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/client/connection_string.h:38, from src/mongo/client/dbclientinterface.h:34, from src/mongo/db/clientcursor.h:33: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36, from src/mongo/db/query/plan_cache.h:35, from src/mongo/db/query/query_solution.h:38: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call g++ -o build/fedora/mongo/client/sasl_client_session.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/client/sasl_client_session.cpp 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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/mongo/db/pipeline/accumulator_push.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/pipeline/accumulator_push.cpp src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/pipeline/expression.h:40, from src/mongo/db/pipeline/accumulator.h:39, from src/mongo/db/pipeline/accumulator_push.cpp:31: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/db/pipeline/accumulator.h:38: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/pipeline/expression.h:103:32: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call g++ -o build/fedora/mongo/db/commands/current_op_common.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/commands/current_op_common.cpp g++ -o build/fedora/mongo/db/s/type_shard_identity.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/s/type_shard_identity.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/db/commands/current_op_common.h:33, from src/mongo/db/commands/current_op_common.cpp:31: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/bson/mutable/element.h:34, from src/mongo/db/auth/privilege.h:32, from src/mongo/db/commands.h:39: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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 gcc -o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/sqrt_tab_t.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -DUSE_COMPILER_F80_TYPE=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -Dlinux=1 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/sqrt_tab_t.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C g++ -o build/fedora/mongo/db/service_context.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/service_context.cpp src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from build/fedora/mongo/db/logical_session_id_gen.h:16, from src/mongo/db/logical_session_id.h:34, from src/mongo/db/service_context.h:36, from src/mongo/db/service_context.cpp:33: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/plan_cache.h:35, from src/mongo/db/catalog/collection_info_cache.h:33, from src/mongo/db/catalog/collection.h:41, from src/mongo/db/op_observer.h:35, from src/mongo/db/service_context.cpp:39: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ ar rcsTD build/fedora/mongo/db/commands/libcurrent_op_common.a build/fedora/mongo/db/commands/current_op_common.o Skipping ranlib for thin archive build/fedora/mongo/db/commands/libcurrent_op_common.a g++ -o build/fedora/mongo/db/multi_key_path_tracker.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/multi_key_path_tracker.cpp src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, unsigned int, mongo::StringMapTraits>': src/mongo/db/op_observer.h:310:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call g++ -o build/fedora/mongo/db/server_recovery.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/server_recovery.cpp g++ -o build/fedora/mongo/s/query/cluster_cursor_cleanup_job.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/s/query/cluster_cursor_cleanup_job.cpp ar rcsTD build/fedora/mongo/db/libservice_context.a build/fedora/mongo/db/client.o build/fedora/mongo/db/multi_key_path_tracker.o build/fedora/mongo/db/operation_context.o build/fedora/mongo/db/operation_context_group.o build/fedora/mongo/db/service_context.o build/fedora/mongo/db/server_recovery.o build/fedora/mongo/db/unclean_shutdown.o Skipping ranlib for thin archive build/fedora/mongo/db/libservice_context.a g++ -o build/fedora/mongo/db/ops/write_ops_gen.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc build/fedora/mongo/db/ops/write_ops_gen.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from build/fedora/mongo/db/ops/write_ops_gen.cpp:16: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from build/fedora/mongo/db/ops/write_ops_gen.h:16, from build/fedora/mongo/db/ops/write_ops_gen.cpp:9: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/matcher/expression_parser.h:35, from src/mongo/db/pipeline/pipeline.h:36, from src/mongo/s/query/cluster_client_cursor_params.h:41, from src/mongo/s/query/cluster_client_cursor.h:37, from src/mongo/s/query/cluster_cursor_manager.h:41, from src/mongo/s/query/cluster_cursor_cleanup_job.cpp:37: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/bson/timestamp.h:31, from src/mongo/db/repl/optime.h:33, from src/mongo/db/namespace_string.h:38, from src/mongo/db/client.h:43, from src/mongo/s/query/cluster_cursor_cleanup_job.cpp:33: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ 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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37: 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: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::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 In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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: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_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ 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: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_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call g++ -o build/fedora/mongo/db/ops/write_ops_parsers.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/ops/write_ops_parsers.cpp In file included from /usr/include/string.h:535, from /usr/include/c++/12/cstring:42, from src/mongo/base/data_range.h:30: In function 'memcpy', inlined from 'mongo::StringData::copyTo(char*, bool) const' at src/mongo/base/string_data.h:266:15, inlined from 'mongo::StringBuilderImpl::append(mongo::StringData)' at src/mongo/bson/util/builder.h:484:19, inlined from 'mongo::StringBuilderImpl::appendIntegral(int, int)mongo::StringBuilderImpl&' at src/mongo/bson/util/builder.h:518:19, inlined from 'mongo::StringBuilderImpl::appendIntegral(int, int)mongo::StringBuilderImpl&' at src/mongo/bson/util/builder.h:512:24, inlined from 'mongo::StringBuilderImpl::operator<<(int)' at src/mongo/bson/util/builder.h:402:30, inlined from 'mongo::BSONObjBuilder::numStr[abi:cxx11](int)' at src/mongo/bson/bsonobjbuilder.h:719:14: /usr/include/bits/string_fortified.h:29:33: warning: 'memcpy' offset [0, 511] is out of the bounds [0, 0] [-Warray-bounds] 29 | return __builtin___memcpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 30 | __glibc_objsize0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_tan.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -DUSE_COMPILER_F80_TYPE=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -Dlinux=1 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_tan.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C g++ -o build/fedora/mongo/db/catalog/index_catalog.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/catalog/index_catalog.cpp ar rcsTD build/fedora/mongo/db/ops/libwrite_ops_parsers.a build/fedora/mongo/db/ops/write_ops_parsers.o build/fedora/mongo/db/ops/write_ops_gen.o Skipping ranlib for thin archive build/fedora/mongo/db/ops/libwrite_ops_parsers.a g++ -o build/fedora/mongo/db/service_liaison.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/service_liaison.cpp g++ -o build/fedora/mongo/util/periodic_runner_impl.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/asio-master/asio/include -Ibuild/fedora -Isrc src/mongo/util/periodic_runner_impl.cpp gcc -o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid_fetestexcept.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -DUSE_COMPILER_F80_TYPE=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -Dlinux=1 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid_fetestexcept.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C gcc -o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_exp10.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -DUSE_COMPILER_F80_TYPE=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -Dlinux=1 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_exp10.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C g++ -o build/fedora/third_party/icu4c-57.1/source/common/bytestream.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/bytestream.cpp gcc -o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_fdimd.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -DUSE_COMPILER_F80_TYPE=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -Dlinux=1 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_fdimd.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C g++ -o build/fedora/mongo/db/pipeline/document_source_out.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/pipeline/document_source_out.cpp src/mongo/util/periodic_runner_impl.cpp: In member function 'virtual std::unique_ptr mongo::PeriodicRunnerImpl::makeJob(mongo::PeriodicRunner::PeriodicJob)': src/mongo/util/periodic_runner_impl.cpp:58:21: warning: redundant move in return statement [-Wredundant-move] 58 | return std::move(handle); | ~~~~~~~~~^~~~~~~~ src/mongo/util/periodic_runner_impl.cpp:58:21: note: remove 'std::move' call g++ -o build/fedora/mongo/db/auth/authz_session_external_state_d.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/auth/authz_session_external_state_d.cpp In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/bson/bsonobj.h:44, from src/mongo/bson/bsonobj_comparator_interface.h:32, from src/mongo/bson/simple_bsonobj_comparator.h:34, from src/mongo/db/pipeline/document_source.h:41, from src/mongo/db/pipeline/document_source_out.h:31, from src/mongo/db/pipeline/document_source_out.cpp:31: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/db/pipeline/document_source.h:44: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ ar rcsTD build/fedora/mongo/db/auth/libauthmongod.a build/fedora/mongo/db/auth/authz_manager_external_state_d.o build/fedora/mongo/db/auth/authz_session_external_state_d.o Skipping ranlib for thin archive build/fedora/mongo/db/auth/libauthmongod.a g++ -o build/fedora/mongo/db/commands/server_status_servers.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/commands/server_status_servers.cpp In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/db/commands/server_status.h:33, from src/mongo/db/commands/server_status_servers.cpp:34: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/bson/mutable/element.h:34, from src/mongo/db/auth/privilege.h:32, from src/mongo/db/commands.h:39: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::MessageCompressorBase*, mongo::StringMapTraits>': src/mongo/transport/message_compressor_registry.h:113:39: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::MessageCompressorBase*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::MessageCompressorBase*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::MessageCompressorBase*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::MessageCompressorBase*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/third_party/icu4c-57.1/source/i18n/tmunit.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/tmunit.cpp g++ -o build/fedora/mongo/util/startup_test.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/util/startup_test.cpp g++ -o build/fedora/mongo/client/sasl_scram_client_conversation.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/client/sasl_scram_client_conversation.cpp In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call In file included from /usr/include/string.h:535, from /usr/include/c++/12/cstring:42, from src/mongo/platform/atomic_word.h:31, from src/mongo/base/counter.h:33, from src/mongo/db/commands.h:35: In function 'memcpy', inlined from 'mongo::StringData::copyTo(char*, bool) const' at src/mongo/base/string_data.h:266:15, inlined from 'mongo::StringBuilderImpl::append(mongo::StringData)' at src/mongo/bson/util/builder.h:484:19, inlined from 'mongo::StringBuilderImpl::appendIntegral(int, int)mongo::StringBuilderImpl&' at src/mongo/bson/util/builder.h:518:19, inlined from 'mongo::StringBuilderImpl::appendIntegral(int, int)mongo::StringBuilderImpl&' at src/mongo/bson/util/builder.h:512:24, inlined from 'mongo::StringBuilderImpl::operator<<(int)' at src/mongo/bson/util/builder.h:402:30, inlined from 'mongo::BSONObjBuilder::numStr[abi:cxx11](int)' at src/mongo/bson/bsonobjbuilder.h:719:14, inlined from 'mongo::BSONObjBuilder::append, std::allocator > >(mongo::StringData, std::vector, std::allocator >, std::allocator, std::allocator > > > const&)mongo::BSONObjBuilder&' at src/mongo/bson/bsonobjbuilder.h:958:26, inlined from 'mongo::(anonymous namespace)::AdvisoryHostFQDNs::appendSection(mongo::OperationContext*, mongo::BSONElement const&, mongo::BSONObjBuilder*) const' at src/mongo/db/commands/server_status_servers.cpp:124:20: /usr/include/bits/string_fortified.h:29:33: warning: 'memcpy' offset [0, 511] is out of the bounds [0, 0] [-Warray-bounds] 29 | return __builtin___memcpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 30 | __glibc_objsize0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -o build/fedora/mongo/client/native_sasl_client_session.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/client/native_sasl_client_session.cpp g++ -o build/fedora/third_party/icu4c-57.1/source/i18n/uregion.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/uregion.cpp g++ -o build/fedora/mongo/db/background.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/background.cpp In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/bson/timestamp.h:31, from src/mongo/db/repl/optime.h:33, from src/mongo/db/namespace_string.h:38, from src/mongo/db/background.h:43, from src/mongo/db/background.cpp:33: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/db/background.cpp:73:18: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ ar rcsTD build/fedora/mongo/db/libbackground.a build/fedora/mongo/db/background.o Skipping ranlib for thin archive build/fedora/mongo/db/libbackground.a g++ -o build/fedora/mongo/db/global_settings.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/global_settings.cpp ar rcsTD build/fedora/mongo/client/libsasl_client.a build/fedora/mongo/client/native_sasl_client_session.o build/fedora/mongo/client/sasl_client_authenticate.o build/fedora/mongo/client/sasl_client_authenticate_impl.o build/fedora/mongo/client/sasl_client_conversation.o build/fedora/mongo/client/sasl_client_session.o build/fedora/mongo/client/sasl_plain_client_conversation.o build/fedora/mongo/client/sasl_scram_client_conversation.o Skipping ranlib for thin archive build/fedora/mongo/client/libsasl_client.a g++ -o build/fedora/mongo/db/repl/read_concern_args.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/repl/read_concern_args.cpp g++ -o build/fedora/mongo/db/auth/privilege_parser.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/auth/privilege_parser.cpp ar rcsTD build/fedora/mongo/db/repl/libread_concern_args.a build/fedora/mongo/db/repl/read_concern_args.o Skipping ranlib for thin archive build/fedora/mongo/db/repl/libread_concern_args.a g++ -o build/fedora/mongo/util/net/ssl_options.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/asio-master/asio/include -Ibuild/fedora -Isrc src/mongo/util/net/ssl_options.cpp g++ -o build/fedora/mongo/s/request_types/create_database_gen.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc build/fedora/mongo/s/request_types/create_database_gen.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from build/fedora/mongo/s/request_types/create_database_gen.cpp:16: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from build/fedora/mongo/s/request_types/create_database_gen.h:16, from build/fedora/mongo/s/request_types/create_database_gen.cpp:9: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ ar rcsTD build/fedora/mongo/db/concurrency/libwrite_conflict_exception.a build/fedora/mongo/db/concurrency/write_conflict_exception.o Skipping ranlib for thin archive build/fedora/mongo/db/concurrency/libwrite_conflict_exception.a ar rcsTD build/fedora/mongo/util/libintrusive_counter.a build/fedora/mongo/util/intrusive_counter.o Skipping ranlib for thin archive build/fedora/mongo/util/libintrusive_counter.a ar rcsTD build/fedora/mongo/base/libsystem_error.a build/fedora/mongo/base/system_error.o Skipping ranlib for thin archive build/fedora/mongo/base/libsystem_error.a /usr/bin/python3 buildscripts/idl/idlc.py --include src --base_dir build/fedora --target_arch x86_64 --header build/fedora/mongo/s/request_types/clone_collection_options_from_primary_shard_gen.h --output build/fedora/mongo/s/request_types/clone_collection_options_from_primary_shard_gen.cpp src/mongo/s/request_types/clone_collection_options_from_primary_shard.idl g++ -o build/fedora/mongo/s/request_types/clone_collection_options_from_primary_shard_gen.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc build/fedora/mongo/s/request_types/clone_collection_options_from_primary_shard_gen.cpp In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from build/fedora/mongo/s/request_types/clone_collection_options_from_primary_shard_gen.cpp:16: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from build/fedora/mongo/s/request_types/clone_collection_options_from_primary_shard_gen.h:16, from build/fedora/mongo/s/request_types/clone_collection_options_from_primary_shard_gen.cpp:9: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call g++ -o build/fedora/mongo/s/catalog/type_chunk_base_gen.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc build/fedora/mongo/s/catalog/type_chunk_base_gen.cpp 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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from build/fedora/mongo/s/catalog/type_chunk_base_gen.cpp:16: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from build/fedora/mongo/s/catalog/type_chunk_base_gen.h:16, from build/fedora/mongo/s/catalog/type_chunk_base_gen.cpp:9: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/mongo/s/request_types/balance_chunk_request_type.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/s/request_types/balance_chunk_request_type.cpp In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call g++ -o build/fedora/mongo/s/catalog/mongo_version_range.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/s/catalog/mongo_version_range.cpp g++ -o build/fedora/mongo/s/catalog/type_shard_database.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/s/catalog/type_shard_database.cpp g++ -o build/fedora/mongo/s/chunk_version.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/s/chunk_version.cpp g++ -o build/fedora/mongo/s/catalog/type_changelog.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/s/catalog/type_changelog.cpp g++ -o build/fedora/mongo/s/catalog/type_config_version.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/s/catalog/type_config_version.cpp /usr/bin/python3 buildscripts/idl/idlc.py --include src --base_dir build/fedora --target_arch x86_64 --header build/fedora/mongo/s/request_types/flush_database_cache_updates_gen.h --output build/fedora/mongo/s/request_types/flush_database_cache_updates_gen.cpp src/mongo/s/request_types/flush_database_cache_updates.idl g++ -o build/fedora/mongo/s/request_types/flush_database_cache_updates_gen.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc build/fedora/mongo/s/request_types/flush_database_cache_updates_gen.cpp g++ -o build/fedora/mongo/s/catalog/type_locks.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/s/catalog/type_locks.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from build/fedora/mongo/s/request_types/flush_database_cache_updates_gen.cpp:16: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from build/fedora/mongo/s/request_types/flush_database_cache_updates_gen.h:16, from build/fedora/mongo/s/request_types/flush_database_cache_updates_gen.cpp:9: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/mongo/s/request_types/add_shard_to_zone_request_type.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/s/request_types/add_shard_to_zone_request_type.cpp In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call g++ -o build/fedora/mongo/s/catalog/type_collection.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/s/catalog/type_collection.cpp g++ -o build/fedora/mongo/s/catalog/type_lockpings.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/s/catalog/type_lockpings.cpp /usr/bin/python3 buildscripts/idl/idlc.py --include src --base_dir build/fedora --target_arch x86_64 --header build/fedora/mongo/s/request_types/flush_routing_table_cache_updates_gen.h --output build/fedora/mongo/s/request_types/flush_routing_table_cache_updates_gen.cpp src/mongo/s/request_types/flush_routing_table_cache_updates.idl /usr/bin/python3 buildscripts/idl/idlc.py --include src --base_dir build/fedora --target_arch x86_64 --header build/fedora/mongo/s/request_types/get_database_version_gen.h --output build/fedora/mongo/s/request_types/get_database_version_gen.cpp src/mongo/s/request_types/get_database_version.idl g++ -o build/fedora/mongo/s/request_types/flush_routing_table_cache_updates_gen.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc build/fedora/mongo/s/request_types/flush_routing_table_cache_updates_gen.cpp g++ -o build/fedora/mongo/s/request_types/get_database_version_gen.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc build/fedora/mongo/s/request_types/get_database_version_gen.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from build/fedora/mongo/s/request_types/flush_routing_table_cache_updates_gen.cpp:16: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from build/fedora/mongo/s/request_types/flush_routing_table_cache_updates_gen.h:16, from build/fedora/mongo/s/request_types/flush_routing_table_cache_updates_gen.cpp:9: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from build/fedora/mongo/s/request_types/get_database_version_gen.cpp:16: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from build/fedora/mongo/s/request_types/get_database_version_gen.h:16, from build/fedora/mongo/s/request_types/get_database_version_gen.cpp:9: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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: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::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 In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call g++ -o build/fedora/mongo/s/catalog/type_mongos.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/s/catalog/type_mongos.cpp g++ -o build/fedora/mongo/s/request_types/migration_secondary_throttle_options.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/s/request_types/migration_secondary_throttle_options.cpp g++ -o build/fedora/mongo/s/database_version_gen.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc build/fedora/mongo/s/database_version_gen.cpp In file included from /usr/include/string.h:535, from /usr/include/c++/12/cstring:42, from src/mongo/base/string_data.h:33, from src/mongo/db/jsobj.h:45, from src/mongo/s/catalog/type_mongos.h:35, from src/mongo/s/catalog/type_mongos.cpp:28: In function 'memcpy', inlined from 'mongo::StringData::copyTo(char*, bool) const' at src/mongo/base/string_data.h:266:15, inlined from 'mongo::StringBuilderImpl::append(mongo::StringData)' at src/mongo/bson/util/builder.h:484:19, inlined from 'mongo::StringBuilderImpl::appendIntegral(int, int)mongo::StringBuilderImpl&' at src/mongo/bson/util/builder.h:518:19, inlined from 'mongo::StringBuilderImpl::appendIntegral(int, int)mongo::StringBuilderImpl&' at src/mongo/bson/util/builder.h:512:24, inlined from 'mongo::StringBuilderImpl::operator<<(int)' at src/mongo/bson/util/builder.h:402:30, inlined from 'mongo::BSONObjBuilder::numStr[abi:cxx11](int)' at src/mongo/bson/bsonobjbuilder.h:719:14, inlined from 'mongo::BSONObjBuilder::append, std::allocator > >(mongo::StringData, std::vector, std::allocator >, std::allocator, std::allocator > > > const&)mongo::BSONObjBuilder&' at src/mongo/bson/bsonobjbuilder.h:958:26, inlined from 'mongo::MongosType::toBSON() const' at src/mongo/s/catalog/type_mongos.cpp:158:23: /usr/include/bits/string_fortified.h:29:33: warning: 'memcpy' offset [0, 511] is out of the bounds [0, 0] [-Warray-bounds] 29 | return __builtin___memcpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 30 | __glibc_objsize0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -o build/fedora/mongo/s/request_types/move_chunk_request.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/s/request_types/move_chunk_request.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from build/fedora/mongo/s/database_version_gen.cpp:16: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from build/fedora/mongo/s/database_version_gen.h:16, from build/fedora/mongo/s/database_version_gen.cpp:9: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/mongo/s/request_types/create_collection_gen.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc build/fedora/mongo/s/request_types/create_collection_gen.cpp In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from build/fedora/mongo/s/request_types/create_collection_gen.cpp:16: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from build/fedora/mongo/s/request_types/create_collection_gen.h:16, from build/fedora/mongo/s/request_types/create_collection_gen.cpp:9: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/mongo/s/request_types/commit_chunk_migration_request_type.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/s/request_types/commit_chunk_migration_request_type.cpp src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call g++ -o build/fedora/mongo/s/request_types/split_chunk_request_type.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/s/request_types/split_chunk_request_type.cpp g++ -o build/fedora/mongo/logger/rotatable_file_writer.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/logger/rotatable_file_writer.cpp g++ -o build/fedora/mongo/db/s/op_observer_sharding_impl.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/s/op_observer_sharding_impl.cpp ar rcsTD build/fedora/mongo/s/libcommon_s.a build/fedora/mongo/s/catalog/mongo_version_range.o build/fedora/mongo/s/catalog/type_changelog.o build/fedora/mongo/s/catalog/type_chunk.o build/fedora/mongo/s/catalog/type_collection.o build/fedora/mongo/s/catalog/type_config_version.o build/fedora/mongo/s/catalog/type_database.o build/fedora/mongo/s/catalog/type_lockpings.o build/fedora/mongo/s/catalog/type_locks.o build/fedora/mongo/s/catalog/type_mongos.o build/fedora/mongo/s/catalog/type_shard_collection.o build/fedora/mongo/s/catalog/type_shard_database.o build/fedora/mongo/s/catalog/type_shard.o build/fedora/mongo/s/catalog/type_tags.o build/fedora/mongo/s/request_types/add_shard_request_type.o build/fedora/mongo/s/request_types/add_shard_to_zone_request_type.o build/fedora/mongo/s/request_types/balance_chunk_request_type.o build/fedora/mongo/s/request_types/commit_chunk_migration_request_type.o build/fedora/mongo/s/request_types/merge_chunk_request_type.o build/fedora/mongo/s/request_types/migration_secondary_throttle_options.o build/fedora/mongo/s/request_types/move_chunk_request.o build/fedora/mongo/s/request_types/remove_shard_from_zone_request_type.o build/fedora/mongo/s/request_types/set_shard_version_request.o build/fedora/mongo/s/request_types/split_chunk_request_type.o build/fedora/mongo/s/request_types/update_zone_key_range_request_type.o build/fedora/mongo/s/cannot_implicitly_create_collection_info.o build/fedora/mongo/s/chunk_version.o build/fedora/mongo/s/database_version_helpers.o build/fedora/mongo/s/shard_id.o build/fedora/mongo/s/stale_exception.o build/fedora/mongo/s/catalog/type_chunk_base_gen.o build/fedora/mongo/s/database_version_gen.o build/fedora/mongo/s/request_types/clone_catalog_data_gen.o build/fedora/mongo/s/request_types/create_collection_gen.o build/fedora/mongo/s/request_types/create_database_gen.o build/fedora/mongo/s/request_types/flush_database_cache_updates_gen.o build/fedora/mongo/s/request_types/flush_routing_table_cache_updates_gen.o build/fedora/mongo/s/request_types/get_database_version_gen.o build/fedora/mongo/s/request_types/move_primary_gen.o build/fedora/mongo/s/request_types/shard_collection_gen.o build/fedora/mongo/s/request_types/clone_collection_options_from_primary_shard_gen.o Skipping ranlib for thin archive build/fedora/mongo/s/libcommon_s.a g++ -o build/fedora/third_party/icu4c-57.1/source/i18n/ucol_sit.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/ucol_sit.cpp In file included from /usr/include/string.h:535, from src/third_party/icu4c-57.1/source/common/cmemory.h:30, from src/third_party/icu4c-57.1/source/i18n/ucol_sit.cpp:21: In function 'strcat', inlined from 'ucol_sit_calculateWholeLocale(CollatorSpec*) [clone .part.0]' at src/third_party/icu4c-57.1/source/i18n/ucol_sit.cpp:393:9: /usr/include/bits/string_fortified.h:130:33: warning: '__strcat_chk' accessing 193 or more bytes at offsets 192 and 0 may overlap 1 byte at offset 192 [-Wrestrict] 130 | return __builtin___strcat_chk (__dest, __src, __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strcat', inlined from 'ucol_sit_calculateWholeLocale(CollatorSpec*) [clone .part.0]' at src/third_party/icu4c-57.1/source/i18n/ucol_sit.cpp:397:13: /usr/include/bits/string_fortified.h:130:33: warning: '__strcat_chk' accessing 161 or more bytes at offsets 192 and 32 may overlap 1 byte at offset 192 [-Wrestrict] 130 | return __builtin___strcat_chk (__dest, __src, __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strcat', inlined from 'ucol_sit_calculateWholeLocale(CollatorSpec*) [clone .part.0]' at src/third_party/icu4c-57.1/source/i18n/ucol_sit.cpp:402:13: /usr/include/bits/string_fortified.h:130:33: warning: '__strcat_chk' accessing 129 or more bytes at offsets 192 and 64 may overlap 1 byte at offset 192 [-Wrestrict] 130 | return __builtin___strcat_chk (__dest, __src, __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strcat', inlined from 'ucol_sit_calculateWholeLocale(CollatorSpec*) [clone .part.0]' at src/third_party/icu4c-57.1/source/i18n/ucol_sit.cpp:409:13: /usr/include/bits/string_fortified.h:130:33: warning: '__strcat_chk' accessing 97 or more bytes at offsets 192 and 96 may overlap 1 byte at offset 192 [-Wrestrict] 130 | return __builtin___strcat_chk (__dest, __src, __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strcat', inlined from 'ucol_sit_calculateWholeLocale(CollatorSpec*) [clone .part.0]' at src/third_party/icu4c-57.1/source/i18n/ucol_sit.cpp:415:13: /usr/include/bits/string_fortified.h:130:33: warning: '__strcat_chk' accessing 65 or more bytes at offsets 192 and 128 may overlap 1 byte at offset 192 [-Wrestrict] 130 | return __builtin___strcat_chk (__dest, __src, __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strcat', inlined from 'ucol_sit_calculateWholeLocale(CollatorSpec*) [clone .part.0]' at src/third_party/icu4c-57.1/source/i18n/ucol_sit.cpp:421:13: /usr/include/bits/string_fortified.h:130:33: warning: '__strcat_chk' accessing 33 or more bytes at offsets 192 and 160 may overlap 1 byte at offset 192 [-Wrestrict] 130 | return __builtin___strcat_chk (__dest, __src, __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -o build/fedora/mongo/db/s/add_shard_cmd_gen.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc build/fedora/mongo/db/s/add_shard_cmd_gen.cpp In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/bson/bsonobj.h:44, from src/mongo/bson/bsonobj_comparator_interface.h:32, from src/mongo/bson/simple_bsonobj_comparator.h:34, from src/mongo/db/op_observer.h:34, from src/mongo/db/op_observer_impl.h:31, from src/mongo/db/s/op_observer_sharding_impl.h:31, from src/mongo/db/s/op_observer_sharding_impl.cpp:31: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/plan_cache.h:35, from src/mongo/db/catalog/collection_info_cache.h:33, from src/mongo/db/catalog/collection.h:41, from src/mongo/db/op_observer.h:35: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from build/fedora/mongo/db/s/add_shard_cmd_gen.cpp:16: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from build/fedora/mongo/db/s/add_shard_cmd_gen.h:16, from build/fedora/mongo/db/s/add_shard_cmd_gen.cpp:9: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ 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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, unsigned int, mongo::StringMapTraits>': src/mongo/db/op_observer.h:310:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call ar rcsTD build/fedora/mongo/db/s/libtype_shard_identity.a build/fedora/mongo/db/s/add_shard_cmd_gen.o build/fedora/mongo/db/s/type_shard_identity.o Skipping ranlib for thin archive build/fedora/mongo/db/s/libtype_shard_identity.a g++ -o build/fedora/third_party/icu4c-57.1/source/i18n/udatpg.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/udatpg.cpp ar rcsTD build/fedora/mongo/executor/libegress_tag_closer_manager.a build/fedora/mongo/executor/egress_tag_closer_manager.o Skipping ranlib for thin archive build/fedora/mongo/executor/libegress_tag_closer_manager.a g++ -o build/fedora/mongo/db/storage/wiredtiger/wiredtiger_prepare_conflict.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora/third_party/wiredtiger -Isrc/third_party/wiredtiger -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/storage/wiredtiger/wiredtiger_prepare_conflict.cpp ar rcsTD build/fedora/mongo/db/s/libop_observer_sharding_impl.a build/fedora/mongo/db/s/op_observer_sharding_impl.o Skipping ranlib for thin archive build/fedora/mongo/db/s/libop_observer_sharding_impl.a g++ -o build/fedora/mongo/db/s/sharding_server_status.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/s/sharding_server_status.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/db/curop.h:35, from src/mongo/db/storage/wiredtiger/wiredtiger_prepare_conflict.h:32, from src/mongo/db/storage/wiredtiger/wiredtiger_prepare_conflict.cpp:34: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/bson/mutable/element.h:34, from src/mongo/db/auth/privilege.h:32, from src/mongo/db/commands.h:39: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/db/commands/server_status.h:33, from src/mongo/db/s/sharding_server_status.cpp:32: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/bson/bsonobj.h:44, from src/mongo/bson/bson_field.h:34, from src/mongo/bson/bsonobjbuilder.h:44, from src/mongo/db/s/sharding_server_status.cpp:31: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ 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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ 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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ 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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ 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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/db/storage/wiredtiger/wiredtiger_size_storer.h:106:12: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/s/catalog_cache.h:377:21: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/s/catalog_cache.h:379:24: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/s/catalog_cache.h:379:24: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/s/catalog_cache.h:379:24: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call g++ -o build/fedora/mongo/db/transactions_stats_gen.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc build/fedora/mongo/db/transactions_stats_gen.cpp g++ -o build/fedora/mongo/db/stats/counters.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/stats/counters.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from build/fedora/mongo/db/transactions_stats_gen.cpp:16: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from build/fedora/mongo/db/transactions_stats_gen.h:16, from build/fedora/mongo/db/transactions_stats_gen.cpp:9: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/mongo/db/command_generic_argument.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/command_generic_argument.cpp g++ -o build/fedora/mongo/platform/shared_library.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/platform/shared_library.cpp g++ -o build/fedora/mongo/rpc/metadata/client_metadata.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/rpc/metadata/client_metadata.cpp In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call g++ -o build/fedora/mongo/s/catalog/replset_dist_lock_manager.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/s/catalog/replset_dist_lock_manager.cpp ar rcsTD build/fedora/mongo/rpc/libclient_metadata.a build/fedora/mongo/rpc/metadata/client_metadata.o build/fedora/mongo/rpc/metadata/client_metadata_ismaster.o Skipping ranlib for thin archive build/fedora/mongo/rpc/libclient_metadata.a g++ -o build/fedora/mongo/db/index/hash_access_method.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/index/hash_access_method.cpp ar rcsTD build/fedora/mongo/client/libconnection_pool.a build/fedora/mongo/client/connection_pool.o Skipping ranlib for thin archive build/fedora/mongo/client/libconnection_pool.a g++ -o build/fedora/mongo/util/version.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/util/version.cpp g++ -o build/fedora/third_party/icu4c-57.1/source/common/ustrtrns.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/ustrtrns.cpp g++ -o build/fedora/mongo/util/file.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/util/file.cpp In file included from /usr/include/string.h:535, from /usr/include/c++/12/cstring:42, from src/mongo/base/string_data.h:33, from src/mongo/util/version.h:37, from src/mongo/util/version.cpp:32: In function 'memcpy', inlined from 'mongo::StringData::copyTo(char*, bool) const' at src/mongo/base/string_data.h:266:15, inlined from 'mongo::StringBuilderImpl::append(mongo::StringData)' at src/mongo/bson/util/builder.h:484:19, inlined from 'mongo::StringBuilderImpl::appendIntegral(int, int)mongo::StringBuilderImpl&' at src/mongo/bson/util/builder.h:518:19, inlined from 'mongo::StringBuilderImpl::appendIntegral(int, int)mongo::StringBuilderImpl&' at src/mongo/bson/util/builder.h:512:24, inlined from 'mongo::StringBuilderImpl::operator<<(int)' at src/mongo/bson/util/builder.h:402:30, inlined from 'mongo::BSONObjBuilder::numStr[abi:cxx11](int)' at src/mongo/bson/bsonobjbuilder.h:719:14, inlined from 'mongo::BSONObjBuilder::append(mongo::StringData, std::vector > const&)mongo::BSONObjBuilder&' at src/mongo/bson/bsonobjbuilder.h:958:26, inlined from 'mongo::BSONObjBuilderValueStream::operator<< > >(std::vector >)mongo::BSONObjBuilder&' at src/mongo/bson/bsonobjbuilder.h:1048:21, inlined from 'mongo::VersionInfoInterface::appendBuildInfo(mongo::BSONObjBuilder*) const' at src/mongo/util/version.cpp:140:37: /usr/include/bits/string_fortified.h:29:33: warning: 'memcpy' offset [0, 511] is out of the bounds [0, 0] [-Warray-bounds] 29 | return __builtin___memcpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 30 | __glibc_objsize0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -o build/fedora/mongo/db/stats/lock_server_status_section.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/stats/lock_server_status_section.cpp g++ -o build/fedora/mongo/db/stats/storage_stats.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/stats/storage_stats.cpp In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/bson/timestamp.h:31, from src/mongo/db/catalog/collection.h:39, from src/mongo/db/stats/storage_stats.cpp:31: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/plan_cache.h:35, from src/mongo/db/catalog/collection_info_cache.h:33, from src/mongo/db/catalog/collection.h:41: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/db/commands/server_status.h:33, from src/mongo/db/stats/lock_server_status_section.cpp:34: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/bson/timestamp.h:31, from src/mongo/db/repl/optime.h:33, from src/mongo/db/namespace_string.h:38, from src/mongo/db/client.h:43, from src/mongo/db/stats/lock_server_status_section.cpp:33: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ 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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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: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_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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: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::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:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, unsigned int, mongo::StringMapTraits>': src/mongo/db/op_observer.h:310:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long unsigned int, mongo::StringMapTraits>': src/mongo/db/views/view_graph.h:177:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/db/views/view_catalog.h:174:13: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Collection*, mongo::StringMapTraits>': src/mongo/db/catalog/database.h:165:38: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Top::CollectionData, mongo::StringMapTraits>': src/mongo/db/stats/top.h:150:14: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call g++ -o build/fedora/mongo/db/pipeline/expression.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/pipeline/expression.cpp In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/pipeline/expression.h:40, from src/mongo/db/pipeline/expression.cpp:32: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/bson/bsonmisc.h:32, from src/mongo/db/pipeline/value_internal.h:35: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/pipeline/expression.h:103:32: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ ar rcsTD build/fedora/mongo/db/stats/libserveronly_stats.a build/fedora/mongo/db/stats/latency_server_status_section.o build/fedora/mongo/db/stats/lock_server_status_section.o build/fedora/mongo/db/stats/storage_stats.o Skipping ranlib for thin archive build/fedora/mongo/db/stats/libserveronly_stats.a g++ -o build/fedora/mongo/util/options_parser/options_parser_init.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/asio-master/asio/include -Ibuild/fedora -Isrc src/mongo/util/options_parser/options_parser_init.cpp src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::{anonymous}::ParserRegistration, mongo::StringMapTraits>': src/mongo/db/pipeline/expression.cpp:113:31: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::{anonymous}::ParserRegistration; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::{anonymous}::ParserRegistration; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::{anonymous}::ParserRegistration; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::{anonymous}::ParserRegistration; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/db/pipeline/expression.cpp: In static member function 'static boost::intrusive_ptr mongo::ExpressionZip::parse(const boost::intrusive_ptr&, mongo::BSONElement, const mongo::VariablesParseState&)': src/mongo/db/pipeline/expression.cpp:4840:21: warning: redundant move in return statement [-Wredundant-move] 4840 | return std::move(newZip); | ~~~~~~~~~^~~~~~~~ src/mongo/db/pipeline/expression.cpp:4840:21: note: remove 'std::move' call src/mongo/db/pipeline/expression.cpp: In static member function 'static boost::intrusive_ptr mongo::ExpressionConvert::parse(const boost::intrusive_ptr&, mongo::BSONElement, const mongo::VariablesParseState&)': src/mongo/db/pipeline/expression.cpp:5489:21: warning: redundant move in return statement [-Wredundant-move] 5489 | return std::move(newConvert); | ~~~~~~~~~^~~~~~~~~~~~ src/mongo/db/pipeline/expression.cpp:5489:21: note: remove 'std::move' call ar rcsTD build/fedora/mongo/util/options_parser/liboptions_parser_init.a build/fedora/mongo/util/options_parser/options_parser_init.o Skipping ranlib for thin archive build/fedora/mongo/util/options_parser/liboptions_parser_init.a gcc -o build/fedora/third_party/icu4c-57.1/source/common/ucnv_u7.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/ucnv_u7.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C g++ -o build/fedora/third_party/icu4c-57.1/source/i18n/currpinf.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/currpinf.cpp g++ -o build/fedora/mongo/db/catalog/collection_compact.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/catalog/collection_compact.cpp In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/bson/timestamp.h:31, from src/mongo/db/catalog/collection_impl.h:31, from src/mongo/db/catalog/collection_compact.cpp:31: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/plan_cache.h:35, from src/mongo/db/catalog/collection_info_cache.h:33, from src/mongo/db/catalog/collection.h:41, from src/mongo/db/catalog/collection_impl.h:32: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, unsigned int, mongo::StringMapTraits>': src/mongo/db/op_observer.h:310:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long unsigned int, mongo::StringMapTraits>': src/mongo/db/views/view_graph.h:177:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/db/views/view_catalog.h:174:13: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Collection*, mongo::StringMapTraits>': src/mongo/db/catalog/database.h:165:38: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call g++ -o build/fedora/mongo/db/catalog/collection_info_cache.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/catalog/collection_info_cache.cpp In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/bson/bsonobj.h:44, from src/mongo/db/collection_index_usage_tracker.h:33, from src/mongo/db/catalog/collection_info_cache.h:32, from src/mongo/db/catalog/collection_info_cache.cpp:33: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/plan_cache.h:35, from src/mongo/db/catalog/collection_info_cache.h:33: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call g++ -o build/fedora/third_party/icu4c-57.1/source/common/simpleformatter.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/simpleformatter.cpp ar rcsTD build/fedora/mongo/db/catalog/libcollection_info_cache.a build/fedora/mongo/db/catalog/collection_info_cache.o Skipping ranlib for thin archive build/fedora/mongo/db/catalog/libcollection_info_cache.a g++ -o build/fedora/mongo/db/op_observer_impl.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/op_observer_impl.cpp In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/bson/bsonobj.h:44, from src/mongo/bson/bsonobj_comparator_interface.h:32, from src/mongo/bson/simple_bsonobj_comparator.h:34, from src/mongo/db/op_observer.h:34, from src/mongo/db/op_observer_impl.h:31, from src/mongo/db/op_observer_impl.cpp:31: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/plan_cache.h:35, from src/mongo/db/catalog/collection_info_cache.h:33, from src/mongo/db/catalog/collection.h:41, from src/mongo/db/op_observer.h:35: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, unsigned int, mongo::StringMapTraits>': src/mongo/db/op_observer.h:310:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long unsigned int, mongo::StringMapTraits>': src/mongo/db/views/view_graph.h:177:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/db/views/view_catalog.h:174:13: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Collection*, mongo::StringMapTraits>': src/mongo/db/catalog/database.h:165:38: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UUID, mongo::StringMapTraits>': src/mongo/db/catalog/namespace_uuid_cache.h:86:23: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UUID; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UUID; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UUID; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UUID; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call ar rcsTD build/fedora/mongo/db/pipeline/libexpression.a build/fedora/mongo/db/pipeline/expression.o Skipping ranlib for thin archive build/fedora/mongo/db/pipeline/libexpression.a gcc -o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_sinh.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -DUSE_COMPILER_F80_TYPE=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -Dlinux=1 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_sinh.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C g++ -o build/fedora/mongo/s/query/cluster_cursor_manager.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/s/query/cluster_cursor_manager.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/matcher/expression_parser.h:35, from src/mongo/db/pipeline/pipeline.h:36, from src/mongo/s/query/cluster_client_cursor_params.h:41, from src/mongo/s/query/cluster_client_cursor.h:37, from src/mongo/s/query/cluster_cursor_manager.h:41, from src/mongo/s/query/cluster_cursor_manager.cpp:33: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/db/generic_cursor.h:34, from src/mongo/s/query/cluster_cursor_manager.h:36: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ ar rcsTD build/fedora/mongo/db/libop_observer_impl.a build/fedora/mongo/db/op_observer_impl.o Skipping ranlib for thin archive build/fedora/mongo/db/libop_observer_impl.a ar rcsTD build/fedora/mongo/db/libintrospect.a build/fedora/mongo/db/introspect.o Skipping ranlib for thin archive build/fedora/mongo/db/libintrospect.a g++ -o build/fedora/mongo/logger/logger.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/logger/logger.cpp src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/mongo/db/catalog/coll_mod.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/catalog/coll_mod.cpp src/mongo/s/query/cluster_cursor_manager.cpp: In member function 'mongo::StatusWith > mongo::ClusterCursorManager::_detachCursor(mongo::WithLock, const mongo::NamespaceString&, mongo::CursorId)': src/mongo/s/query/cluster_cursor_manager.cpp:698:21: warning: redundant move in return statement [-Wredundant-move] 698 | return std::move(cursor); | ~~~~~~~~~^~~~~~~~ src/mongo/s/query/cluster_cursor_manager.cpp:698:21: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/db/catalog/collection_options.h:36, from src/mongo/db/catalog/coll_mod.h:31, from src/mongo/db/catalog/coll_mod.cpp:33: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/plan_cache.h:35, from src/mongo/db/catalog/collection_info_cache.h:33, from src/mongo/db/catalog/collection.h:41, from src/mongo/db/catalog_raii.h:32, from src/mongo/db/db_raii.h:33, from src/mongo/db/catalog/coll_mod.cpp:45: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, unsigned int, mongo::StringMapTraits>': src/mongo/db/op_observer.h:310:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long unsigned int, mongo::StringMapTraits>': src/mongo/db/views/view_graph.h:177:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/db/views/view_catalog.h:174:13: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Collection*, mongo::StringMapTraits>': src/mongo/db/catalog/database.h:165:38: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Top::CollectionData, mongo::StringMapTraits>': src/mongo/db/stats/top.h:150:14: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/mongo/db/storage/wiredtiger/wiredtiger_init.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora/third_party/wiredtiger -Isrc/third_party/wiredtiger -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/storage/wiredtiger/wiredtiger_init.cpp In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/db/curop.h:35, from src/mongo/db/storage/wiredtiger/wiredtiger_prepare_conflict.h:32, from src/mongo/db/storage/wiredtiger/wiredtiger_index.h:38, from src/mongo/db/storage/wiredtiger/wiredtiger_init.cpp:48: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/db/catalog/collection_options.h:36, from src/mongo/db/storage/wiredtiger/wiredtiger_init.cpp:39: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/db/storage/wiredtiger/wiredtiger_size_storer.h:106:12: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call g++ -o build/fedora/mongo/db/repl/sync_tail.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/repl/sync_tail.cpp g++ -o build/fedora/mongo/db/repl/oplog_applier.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/repl/oplog_applier.cpp In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/db/repl/multiapplier.h:40, from src/mongo/db/repl/oplog_applier.h:38, from src/mongo/db/repl/oplog_applier.cpp:33: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/plan_cache.h:35, from src/mongo/db/catalog/collection_info_cache.h:33, from src/mongo/db/catalog/collection.h:41, from src/mongo/db/repl/storage_interface.h:40, from src/mongo/db/repl/oplog_applier.h:43: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/bson/bsonobj.h:44, from src/mongo/db/repl/sync_tail.h:35, from src/mongo/db/repl/sync_tail.cpp:33: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/plan_cache.h:35, from src/mongo/db/catalog/collection_info_cache.h:33, from src/mongo/db/catalog/collection.h:41, from src/mongo/db/repl/storage_interface.h:40, from src/mongo/db/repl/oplog_applier.h:43, from src/mongo/db/repl/sync_tail.h:38: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h:582: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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 In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, unsigned int, mongo::StringMapTraits>': src/mongo/db/op_observer.h:310:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, unsigned int, mongo::StringMapTraits>': src/mongo/db/op_observer.h:310:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/db/repl/oplog_applier.cpp: In member function 'mongo::StatusWith > mongo::repl::OplogApplier::getNextApplierBatch(mongo::OperationContext*, const BatchLimits&)': src/mongo/db/repl/oplog_applier.cpp:120:29: warning: redundant move in return statement [-Wredundant-move] 120 | return std::move(ops); | ~~~~~~~~~^~~~~ src/mongo/db/repl/oplog_applier.cpp:120:29: note: remove 'std::move' call src/mongo/db/repl/oplog_applier.cpp:125:29: warning: redundant move in return statement [-Wredundant-move] 125 | return std::move(ops); | ~~~~~~~~~^~~~~ src/mongo/db/repl/oplog_applier.cpp:125:29: note: remove 'std::move' call src/mongo/db/repl/oplog_applier.cpp:130:29: warning: redundant move in return statement [-Wredundant-move] 130 | return std::move(ops); | ~~~~~~~~~^~~~~ src/mongo/db/repl/oplog_applier.cpp:130:29: note: remove 'std::move' call src/mongo/db/repl/oplog_applier.cpp:140:21: warning: redundant move in return statement [-Wredundant-move] 140 | return std::move(ops); | ~~~~~~~~~^~~~~ src/mongo/db/repl/oplog_applier.cpp:140:21: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long unsigned int, mongo::StringMapTraits>': src/mongo/db/views/view_graph.h:177:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/db/views/view_catalog.h:174:13: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Collection*, mongo::StringMapTraits>': src/mongo/db/catalog/database.h:165:38: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::vector, mongo::StringMapTraits>': src/mongo/db/catalog/uuid_catalog.h:234:44: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::vector; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::vector; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::vector; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::vector; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Top::CollectionData, mongo::StringMapTraits>': src/mongo/db/stats/top.h:150:14: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::repl::ReplSetTagPattern, mongo::StringMapTraits>': src/mongo/db/repl/repl_set_config.h:402:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::repl::ReplSetTagPattern; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::repl::ReplSetTagPattern; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::repl::ReplSetTagPattern; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::repl::ReplSetTagPattern; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::repl::{anonymous}::CachedCollectionProperties::CollectionProperties, mongo::StringMapTraits>': src/mongo/db/repl/sync_tail.cpp:588:37: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::repl::{anonymous}::CachedCollectionProperties::CollectionProperties; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::repl::{anonymous}::CachedCollectionProperties::CollectionProperties; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::repl::{anonymous}::CachedCollectionProperties::CollectionProperties; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::repl::{anonymous}::CachedCollectionProperties::CollectionProperties; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call g++ -o build/fedora/mongo/db/repl/applier_helpers.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/repl/applier_helpers.cpp In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/db/repl/multiapplier.h:40, from src/mongo/db/repl/applier_helpers.h:34, from src/mongo/db/repl/applier_helpers.cpp:33: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/plan_cache.h:35, from src/mongo/db/catalog/collection_info_cache.h:33, from src/mongo/db/catalog/collection.h:41, from src/mongo/db/repl/storage_interface.h:40, from src/mongo/db/repl/oplog_applier.h:43, from src/mongo/db/repl/sync_tail.h:38, from src/mongo/db/repl/applier_helpers.h:35: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, unsigned int, mongo::StringMapTraits>': src/mongo/db/op_observer.h:310:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call g++ -o build/fedora/third_party/icu4c-57.1/source/common/ucurr.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/ucurr.cpp g++ -o build/fedora/mongo/db/update/update_array_node.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/update/update_array_node.cpp ar rcsTD build/fedora/mongo/db/repl/liboplog_application.a build/fedora/mongo/db/repl/applier_helpers.o build/fedora/mongo/db/repl/oplog_applier.o build/fedora/mongo/db/repl/session_update_tracker.o build/fedora/mongo/db/repl/sync_tail.o Skipping ranlib for thin archive build/fedora/mongo/db/repl/liboplog_application.a g++ -o build/fedora/mongo/db/repl/repl_set_tag.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/repl/repl_set_tag.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/matcher/expression_with_placeholder.h:35, from src/mongo/db/update/update_array_node.h:35, from src/mongo/db/update/update_array_node.cpp:31: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/bson/bsonobj.h:44, from src/mongo/db/matcher/expression.h:36: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/db/update/update_array_node.cpp: In static member function 'static std::unique_ptr mongo::UpdateArrayNode::createUpdateNodeByMerging(const mongo::UpdateArrayNode&, const mongo::UpdateArrayNode&, mongo::FieldRef*)': src/mongo/db/update/update_array_node.cpp:46:21: warning: redundant move in return statement [-Wredundant-move] 46 | return std::move(mergedNode); | ~~~~~~~~~^~~~~~~~~~~~ src/mongo/db/update/update_array_node.cpp:46:21: note: remove 'std::move' call g++ -o build/fedora/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src26.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -Wno-non-virtual-dtor -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -include js-confdefs.h -Wno-invalid-offsetof -fPIE -DIMPL_MFBT -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=1 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora/third_party/mozjs-45/extract/js/src -Isrc/third_party/mozjs-45/extract/js/src -Ibuild/fedora/third_party/mozjs-45/extract/mfbt -Isrc/third_party/mozjs-45/extract/mfbt -Ibuild/fedora/third_party/mozjs-45/extract/intl/icu/source/common -Isrc/third_party/mozjs-45/extract/intl/icu/source/common -Ibuild/fedora/third_party/mozjs-45/include -Isrc/third_party/mozjs-45/include -Ibuild/fedora/third_party/mozjs-45/mongo_sources -Isrc/third_party/mozjs-45/mongo_sources -Ibuild/fedora/third_party/mozjs-45/platform/x86_64/linux/build -Isrc/third_party/mozjs-45/platform/x86_64/linux/build -Ibuild/fedora/third_party/mozjs-45/platform/x86_64/linux/include -Isrc/third_party/mozjs-45/platform/x86_64/linux/include src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src26.cpp In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jsiter.h:16, from src/third_party/mozjs-45/extract/js/src/proxy/CrossCompartmentWrapper.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src26.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1040:19: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 1040 | memcpy(&elements_[dstStart], src, count * sizeof(HeapSlot)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:22: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here 650 | class HeapSlot : public WriteBarrieredBase | ^~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1048:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 1048 | memcpy(&elements_[dstStart], src, count * sizeof(HeapSlot)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here 650 | class HeapSlot : public WriteBarrieredBase | ^~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1082:20: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 1082 | memmove(elements_ + dstStart, elements_ + srcStart, count * sizeof(HeapSlot)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here 650 | class HeapSlot : public WriteBarrieredBase | ^~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1094:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 1094 | memmove(elements_ + dstStart, elements_ + srcStart, count * sizeof(Value)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here 650 | class HeapSlot : public WriteBarrieredBase | ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/proxy/CrossCompartmentWrapper.cpp:14: src/third_party/mozjs-45/extract/js/src/jsobjinlines.h: In static member function 'static JSObject* JSObject::create(js::ExclusiveContext*, js::gc::AllocKind, js::gc::InitialHeap, js::HandleShape, js::HandleObjectGroup)': src/third_party/mozjs-45/extract/js/src/jsobjinlines.h:355:15: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::HeapSlot'; use assignment instead [-Wclass-memaccess] 355 | memset(obj->as().fixedSlots(), 0, size - sizeof(js::NativeObject)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here 650 | class HeapSlot : public WriteBarrieredBase | ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/TraceableVector.h:12, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:14: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': src/third_party/mozjs-45/include/js/MemoryMetrics.h:40:34: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/gc/StoreBuffer.h:18, from src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:13: src/third_party/mozjs-45/include/js/MemoryMetrics.h:31:8: note: 'struct JS::TabSizes' declared here 31 | struct TabSizes | ^~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::ServoSizes]': src/third_party/mozjs-45/include/js/MemoryMetrics.h:71:36: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::ServoSizes'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/MemoryMetrics.h:59:8: note: 'struct JS::ServoSizes' declared here 59 | struct ServoSizes | ^~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JSSubString]': src/third_party/mozjs-45/extract/js/src/jsstr.h:73:37: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JSSubString'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/TraceLoggingTypes.h:11, from src/third_party/mozjs-45/extract/js/src/vm/TraceLoggingGraph.h:15, from src/third_party/mozjs-45/extract/js/src/vm/TraceLogging.h:19, from src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:22, from src/third_party/mozjs-45/extract/js/src/jsscript.h:24: src/third_party/mozjs-45/extract/js/src/jsstr.h:68:8: note: 'struct JSSubString' declared here 68 | struct JSSubString { | ^~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::PreliminaryObjectArray]': src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:808:25: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::PreliminaryObjectArray'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:23: src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:796:7: note: 'class js::PreliminaryObjectArray' declared here 796 | class PreliminaryObjectArray | ^~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::TypeNewScript]': src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:939:39: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::TypeNewScript' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:886:7: note: 'class js::TypeNewScript' declared here 886 | class TypeNewScript | ^~~~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:699:25: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:686:8: note: 'struct js::jit::IonScriptCounts' declared here 686 | struct IonScriptCounts | ^~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': src/third_party/mozjs-45/extract/js/src/vm/String.h:1092:25: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/Shape.h:32, from src/third_party/mozjs-45/extract/js/src/jsobj.h:27, from src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:16: src/third_party/mozjs-45/extract/js/src/vm/String.h:1074:7: note: 'class js::StaticStrings' declared here 1074 | class StaticStrings | ^~~~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': src/third_party/mozjs-45/extract/js/src/vm/Shape.h:392:25: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/Shape.h:323:7: note: 'class js::BaseShape' declared here 323 | class BaseShape : public gc::TenuredCell | ^~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:293:40: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:244:7: note: 'class js::NewObjectCache' declared here 244 | class NewObjectCache | ^~~~~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::Address]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:290:33: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::Address'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/Safepoints.h:12, from src/third_party/mozjs-45/extract/js/src/jit/JitFrames.h:16, from src/third_party/mozjs-45/extract/js/src/jscntxtinlines.h:16, from src/third_party/mozjs-45/extract/js/src/jscompartmentinlines.h:14, from src/third_party/mozjs-45/extract/js/src/proxy/CrossCompartmentWrapper.cpp:13: src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:282:8: note: 'struct js::jit::Address' declared here 282 | struct Address | ^~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::BaseIndex]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:306:35: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::BaseIndex'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:295:8: note: 'struct js::jit::BaseIndex' declared here 295 | struct BaseIndex | ^~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::CodeOffsetJump]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:513:25: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::jit::CodeOffsetJump'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:491:7: note: 'class js::jit::CodeOffsetJump' declared here 491 | class CodeOffsetJump | ^~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/include/js/TracingAPI.h:12, from src/third_party/mozjs-45/include/js/TraceableVector.h:13: src/third_party/mozjs-45/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': src/third_party/mozjs-45/include/js/HashTable.h:186:67: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' src/third_party/mozjs-45/extract/js/src/vm/SPSProfiler.h:256:18: required from here src/third_party/mozjs-45/include/js/HashTable.h:1550:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] 1550 | memset(table, 0, sizeof(*table) * capacity()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/HashTable.h:722:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here 722 | class HashTableEntry | ^~~~~~~~~~~~~~ g++ -o build/fedora/mongo/db/concurrency/lock_stats.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/concurrency/lock_stats.cpp In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::ScriptedDirectProxyHandler::isArray(JSContext*, JS::Handle, JS::IsArrayAnswer*) const' at src/third_party/mozjs-45/extract/js/src/proxy/ScriptedDirectProxyHandler.cpp:1119:62: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'target' in 'MEM[(struct Rooted * *)cx_34(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src26.cpp:47: src/third_party/mozjs-45/extract/js/src/proxy/ScriptedDirectProxyHandler.cpp: In member function 'js::ScriptedDirectProxyHandler::isArray(JSContext*, JS::Handle, JS::IsArrayAnswer*) const': src/third_party/mozjs-45/extract/js/src/proxy/ScriptedDirectProxyHandler.cpp:1119:18: note: 'target' declared here 1119 | RootedObject target(cx, proxy->as().target()); | ^~~~~~ src/third_party/mozjs-45/extract/js/src/proxy/ScriptedDirectProxyHandler.cpp:1119:18: note: 'cx_34(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::ArrayObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::ScriptedDirectProxyHandler::call(JSContext*, JS::Handle, JS::CallArgs const&) const' at src/third_party/mozjs-45/extract/js/src/proxy/ScriptedDirectProxyHandler.cpp:1006:84: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'argsArray' in 'MEM[(struct Rooted * *)cx_172(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/proxy/ScriptedDirectProxyHandler.cpp: In member function 'js::ScriptedDirectProxyHandler::call(JSContext*, JS::Handle, JS::CallArgs const&) const': src/third_party/mozjs-45/extract/js/src/proxy/ScriptedDirectProxyHandler.cpp:1006:18: note: 'argsArray' declared here 1006 | RootedObject argsArray(cx, NewDenseCopiedArray(cx, args.length(), args.array())); | ^~~~~~~~~ src/third_party/mozjs-45/extract/js/src/proxy/ScriptedDirectProxyHandler.cpp:1006:18: note: 'cx_172(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'RevokeProxy(JSContext*, unsigned int, JS::Value*)' at src/third_party/mozjs-45/extract/js/src/proxy/ScriptedDirectProxyHandler.cpp:1260:103: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'p' in 'MEM[(struct Rooted * *)cx_59(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/proxy/ScriptedDirectProxyHandler.cpp: In function 'RevokeProxy(JSContext*, unsigned int, JS::Value*)': src/third_party/mozjs-45/extract/js/src/proxy/ScriptedDirectProxyHandler.cpp:1260:18: note: 'p' declared here 1260 | RootedObject p(cx, func->getExtendedSlot(ScriptedDirectProxyHandler::REVOKE_SLOT).toObjectOrNull()); | ^ src/third_party/mozjs-45/extract/js/src/proxy/ScriptedDirectProxyHandler.cpp:1260:18: note: 'cx_59(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'NewScriptedProxy(JSContext*, JS::CallArgs&, char const*)' at src/third_party/mozjs-45/extract/js/src/proxy/ScriptedDirectProxyHandler.cpp:1199:55: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'target' in 'MEM[(struct Rooted * *)cx_150(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/proxy/ScriptedDirectProxyHandler.cpp: In function 'NewScriptedProxy(JSContext*, JS::CallArgs&, char const*)': src/third_party/mozjs-45/extract/js/src/proxy/ScriptedDirectProxyHandler.cpp:1199:18: note: 'target' declared here 1199 | RootedObject target(cx, NonNullObject(cx, args[0])); | ^~~~~~ src/third_party/mozjs-45/extract/js/src/proxy/ScriptedDirectProxyHandler.cpp:1199:18: note: 'cx_150(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSFunction*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::proxy_revocable(JSContext*, unsigned int, JS::Value*)' at src/third_party/mozjs-45/extract/js/src/proxy/ScriptedDirectProxyHandler.cpp:1287:55: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'revoker' in 'MEM[(struct Rooted * *)cx_137(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/proxy/ScriptedDirectProxyHandler.cpp: In function 'js::proxy_revocable(JSContext*, unsigned int, JS::Value*)': src/third_party/mozjs-45/extract/js/src/proxy/ScriptedDirectProxyHandler.cpp:1286:18: note: 'revoker' declared here 1286 | RootedObject revoker(cx, NewFunctionByIdWithReserved(cx, RevokeProxy, 0, 0, | ^~~~~~~ src/third_party/mozjs-45/extract/js/src/proxy/ScriptedDirectProxyHandler.cpp:1286:18: note: 'cx_137(D)' declared here gcc -o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_sub.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -DUSE_COMPILER_F80_TYPE=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -Dlinux=1 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_sub.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::ArrayObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::ScriptedDirectProxyHandler::construct(JSContext*, JS::Handle, JS::CallArgs const&) const' at src/third_party/mozjs-45/extract/js/src/proxy/ScriptedDirectProxyHandler.cpp:1049:84: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'argsArray' in 'MEM[(struct Rooted * *)cx_212(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/proxy/ScriptedDirectProxyHandler.cpp: In member function 'js::ScriptedDirectProxyHandler::construct(JSContext*, JS::Handle, JS::CallArgs const&) const': src/third_party/mozjs-45/extract/js/src/proxy/ScriptedDirectProxyHandler.cpp:1049:18: note: 'argsArray' declared here 1049 | RootedObject argsArray(cx, NewDenseCopiedArray(cx, args.length(), args.array())); | ^~~~~~~~~ src/third_party/mozjs-45/extract/js/src/proxy/ScriptedDirectProxyHandler.cpp:1049:18: note: 'cx_212(D)' declared here g++ -o build/fedora/mongo/db/query/query_planner_common.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/query/query_planner_common.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/query_planner_common.h:32, from src/mongo/db/query/query_planner_common.cpp:33: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/db/query/query_planner_common.h:31: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36, from src/mongo/db/query/plan_cache.h:35, from src/mongo/db/query/query_solution.h:38, from src/mongo/db/query/query_planner_common.h:33: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call g++ -o build/fedora/mongo/db/repl/replication_coordinator_external_state_impl.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/repl/replication_coordinator_external_state_impl.cpp 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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/bson/bsonobj.h:44, from src/mongo/db/concurrency/lock_manager.h:36, from src/mongo/db/concurrency/locker.h:34, from src/mongo/db/concurrency/d_concurrency.h:33, from src/mongo/db/repl/replication_coordinator_external_state_impl.h:34, from src/mongo/db/repl/replication_coordinator_external_state_impl.cpp:33: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/plan_cache.h:35, from src/mongo/db/catalog/collection_info_cache.h:33, from src/mongo/db/catalog/collection.h:41, from src/mongo/db/repl/storage_interface.h:40, from src/mongo/db/repl/oplog_applier.h:43, from src/mongo/db/repl/data_replicator_external_state.h:34, from src/mongo/db/repl/bgsync.h:36, from src/mongo/db/repl/replication_coordinator_external_state_impl.h:35: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/third_party/icu4c-57.1/source/common/uvectr32.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/uvectr32.cpp g++ -o build/fedora/mongo/util/assert_util.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/util/assert_util.cpp src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, unsigned int, mongo::StringMapTraits>': src/mongo/db/op_observer.h:310:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::repl::ReplSetTagPattern, mongo::StringMapTraits>': src/mongo/db/repl/repl_set_config.h:402:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::repl::ReplSetTagPattern; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::repl::ReplSetTagPattern; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::repl::ReplSetTagPattern; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::repl::ReplSetTagPattern; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long unsigned int, mongo::StringMapTraits>': src/mongo/db/views/view_graph.h:177:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/db/views/view_catalog.h:174:13: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Collection*, mongo::StringMapTraits>': src/mongo/db/catalog/database.h:165:38: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Top::CollectionData, mongo::StringMapTraits>': src/mongo/db/stats/top.h:150:14: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/db/s/config/namespace_serializer.h:73:40: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ gcc -o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/strtod64.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -DUSE_COMPILER_F80_TYPE=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -Dlinux=1 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/strtod64.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C g++ -o build/fedora/mongo/util/itoa.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/util/itoa.cpp g++ -o build/fedora/mongo/util/net/sock.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/asio-master/asio/include -Ibuild/fedora -Isrc src/mongo/util/net/sock.cpp In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call ar rcsTD build/fedora/mongo/util/net/libsocket.a build/fedora/mongo/util/net/private/socket_poll.o build/fedora/mongo/util/net/sock.o Skipping ranlib for thin archive build/fedora/mongo/util/net/libsocket.a g++ -o build/fedora/mongo/s/sharding_initialization.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/s/sharding_initialization.cpp In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/oid.h:34, from src/mongo/s/sharding_initialization.h:34, from src/mongo/s/sharding_initialization.cpp:33: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/s/catalog_cache.h:377:21: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/s/catalog_cache.h:379:24: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/s/catalog_cache.h:379:24: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/s/catalog_cache.h:379:24: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/matcher/expression_parser.h:35, from src/mongo/db/pipeline/pipeline.h:36, from src/mongo/s/query/cluster_client_cursor_params.h:41, from src/mongo/s/query/cluster_client_cursor.h:37, from src/mongo/s/query/cluster_cursor_manager.h:41, from src/mongo/s/sharding_initialization.cpp:65: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37: 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: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::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::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::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 ar rcsTD build/fedora/mongo/db/repl/libserveronly_repl.a build/fedora/mongo/db/repl/noop_writer.o build/fedora/mongo/db/repl/replication_coordinator_external_state_impl.o build/fedora/mongo/db/repl/sync_source_feedback.o Skipping ranlib for thin archive build/fedora/mongo/db/repl/libserveronly_repl.a g++ -o build/fedora/third_party/icu4c-57.1/source/common/unistr.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/unistr.cpp src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ ar rcsTD build/fedora/mongo/db/libcommand_generic_argument.a build/fedora/mongo/db/command_generic_argument.o Skipping ranlib for thin archive build/fedora/mongo/db/libcommand_generic_argument.a g++ -o build/fedora/third_party/icu4c-57.1/source/common/sharedobject.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/sharedobject.cpp g++ -o build/fedora/mongo/db/refresh_sessions_gen.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc build/fedora/mongo/db/refresh_sessions_gen.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from build/fedora/mongo/db/refresh_sessions_gen.cpp:16: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from build/fedora/mongo/db/refresh_sessions_gen.h:16, from build/fedora/mongo/db/refresh_sessions_gen.cpp:9: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call g++ -o build/fedora/mongo/db/logical_session_id.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/logical_session_id.cpp g++ -o build/fedora/mongo/db/logical_session_id_gen.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc build/fedora/mongo/db/logical_session_id_gen.cpp g++ -o build/fedora/mongo/db/auth/sasl_plain_server_conversation.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/auth/sasl_plain_server_conversation.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from build/fedora/mongo/db/logical_session_id_gen.cpp:16: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from build/fedora/mongo/db/logical_session_id_gen.h:16, from build/fedora/mongo/db/logical_session_id_gen.cpp:9: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/db/auth/sasl_mechanism_registry.h:37, from src/mongo/db/auth/sasl_mechanism_policies.h:33, from src/mongo/db/auth/sasl_plain_server_conversation.h:31, from src/mongo/db/auth/sasl_plain_server_conversation.cpp:33: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/crypto/sha_block.h:37, from src/mongo/db/auth/sasl_mechanism_policies.h:32: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ 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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ 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: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/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ 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: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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call g++ -o build/fedora/mongo/db/update/push_node.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/update/push_node.cpp ar rcsTD build/fedora/mongo/db/liblogical_session_id.a build/fedora/mongo/db/logical_session_id.o build/fedora/mongo/db/logical_session_id_gen.o build/fedora/mongo/db/refresh_sessions_gen.o Skipping ranlib for thin archive build/fedora/mongo/db/liblogical_session_id.a g++ -o build/fedora/mongo/db/s/config/configsvr_shard_collection_command.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/s/config/configsvr_shard_collection_command.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/document_comparator.h:32, from src/mongo/db/pipeline/expression_context.h:41, from src/mongo/db/update/update_leaf_node.h:31, from src/mongo/db/update/modifier_node.h:31, from src/mongo/db/update/push_node.h:35, from src/mongo/db/update/push_node.cpp:31: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/bson/bsonobj.h:44, from src/mongo/db/pipeline/expression_context.h:37: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:36, from src/mongo/db/update/push_node.cpp:37: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/db/s/config/configsvr_shard_collection_command.cpp:40: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ 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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ 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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/bson/bsonelement_comparator_interface.h:32, from src/mongo/bson/simple_bsonelement_comparator.h:31, from src/mongo/db/s/config/configsvr_shard_collection_command.cpp:33: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ 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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ 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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37: 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: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_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ 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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h:155: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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: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::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_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::repl::ReplSetTagPattern, mongo::StringMapTraits>': src/mongo/db/repl/repl_set_config.h:402:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::repl::ReplSetTagPattern; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::repl::ReplSetTagPattern; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::repl::ReplSetTagPattern; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::repl::ReplSetTagPattern; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/db/s/config/namespace_serializer.h:73:40: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/s/catalog_cache.h:377:21: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/s/catalog_cache.h:379:24: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/s/catalog_cache.h:379:24: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/s/catalog_cache.h:379:24: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call g++ -o build/fedora/mongo/db/fts/unicode/string.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/fts/unicode/string.cpp gcc -o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_to_int16.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -DUSE_COMPILER_F80_TYPE=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -Dlinux=1 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_to_int16.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C gcc -o build/fedora/third_party/icu4c-57.1/source/common/utf_impl.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/utf_impl.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C g++ -o build/fedora/mongo/db/pipeline/document_source_list_sessions.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/pipeline/document_source_list_sessions.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/matcher/expression_parser.h:35, from src/mongo/db/pipeline/document_source_list_sessions.cpp:33: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/bson/bsonobj.h:44, from src/mongo/db/pipeline/document_source_list_sessions.cpp:31: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/mongo/db/storage/storage_file_util.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/storage/storage_file_util.cpp src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ ar rcsTD build/fedora/mongo/db/storage/libstorage_file_util.a build/fedora/mongo/db/storage/storage_file_util.o Skipping ranlib for thin archive build/fedora/mongo/db/storage/libstorage_file_util.a g++ -o build/fedora/mongo/db/ftdc/block_compressor.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/ftdc/block_compressor.cpp In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call gcc -o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_to_bid128.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -DUSE_COMPILER_F80_TYPE=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -Dlinux=1 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_to_bid128.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C g++ -o build/fedora/mongo/db/pipeline/accumulator_min_max.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/pipeline/accumulator_min_max.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/pipeline/expression.h:40, from src/mongo/db/pipeline/accumulator.h:39, from src/mongo/db/pipeline/accumulator_min_max.cpp:31: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/db/pipeline/accumulator.h:38: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/pipeline/expression.h:103:32: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/mongo/db/pipeline/accumulator_merge_objects.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/pipeline/accumulator_merge_objects.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/pipeline/expression.h:40, from src/mongo/db/pipeline/accumulator.h:39, from src/mongo/db/pipeline/accumulator_merge_objects.cpp:31: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/db/pipeline/accumulator.h:38: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/mongo/db/pipeline/accumulator_avg.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/pipeline/accumulator_avg.cpp src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/pipeline/expression.h:103:32: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/pipeline/expression.h:40, from src/mongo/db/pipeline/accumulator.h:39, from src/mongo/db/pipeline/accumulator_avg.cpp:31: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/db/pipeline/accumulator.h:38: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/pipeline/expression.h:103:32: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/mongo/db/pipeline/accumulation_statement.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/pipeline/accumulation_statement.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/pipeline/expression.h:40, from src/mongo/db/pipeline/accumulator.h:39, from src/mongo/db/pipeline/accumulation_statement.h:34, from src/mongo/db/pipeline/accumulation_statement.cpp:33: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/pipeline/accumulation_statement.h:33: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/mongo/db/pipeline/accumulator_last.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/pipeline/accumulator_last.cpp src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/pipeline/expression.h:103:32: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, boost::intrusive_ptr (*)(const boost::intrusive_ptr&), mongo::StringMapTraits>': src/mongo/db/pipeline/accumulation_statement.cpp:48:40: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = boost::intrusive_ptr (*)(const boost::intrusive_ptr&); Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = boost::intrusive_ptr (*)(const boost::intrusive_ptr&); Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = boost::intrusive_ptr (*)(const boost::intrusive_ptr&); Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = boost::intrusive_ptr (*)(const boost::intrusive_ptr&); Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/pipeline/expression.h:40, from src/mongo/db/pipeline/accumulator.h:39, from src/mongo/db/pipeline/accumulator_last.cpp:31: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/db/pipeline/accumulator.h:38: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/pipeline/expression.h:103:32: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/mongo/db/pipeline/accumulator_sum.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/pipeline/accumulator_sum.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/pipeline/expression.h:40, from src/mongo/db/pipeline/accumulator.h:39, from src/mongo/db/pipeline/accumulator_sum.cpp:34: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/db/pipeline/accumulator.h:38: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/mongo/db/pipeline/accumulator_add_to_set.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/pipeline/accumulator_add_to_set.cpp src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/pipeline/expression.h:103:32: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/pipeline/expression.h:40, from src/mongo/db/pipeline/accumulator.h:39, from src/mongo/db/pipeline/accumulator_add_to_set.cpp:31: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/db/pipeline/accumulator.h:38: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/pipeline/expression.h:103:32: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ gcc -o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/wcstod32.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -DUSE_COMPILER_F80_TYPE=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -Dlinux=1 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/wcstod32.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C g++ -o build/fedora/third_party/shim_yaml.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS src/third_party/shim_yaml.cpp ar rcsTD build/fedora/third_party/libshim_yaml.a build/fedora/third_party/shim_yaml.o Skipping ranlib for thin archive build/fedora/third_party/libshim_yaml.a gcc -o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_cosh.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -DUSE_COMPILER_F80_TYPE=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -Dlinux=1 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_cosh.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C g++ -o build/fedora/mongo/db/pipeline/document_source_facet.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/pipeline/document_source_facet.cpp ar rcsTD build/fedora/mongo/db/pipeline/libaccumulator.a build/fedora/mongo/db/pipeline/accumulation_statement.o build/fedora/mongo/db/pipeline/accumulator_add_to_set.o build/fedora/mongo/db/pipeline/accumulator_avg.o build/fedora/mongo/db/pipeline/accumulator_first.o build/fedora/mongo/db/pipeline/accumulator_last.o build/fedora/mongo/db/pipeline/accumulator_min_max.o build/fedora/mongo/db/pipeline/accumulator_push.o build/fedora/mongo/db/pipeline/accumulator_std_dev.o build/fedora/mongo/db/pipeline/accumulator_sum.o build/fedora/mongo/db/pipeline/accumulator_merge_objects.o Skipping ranlib for thin archive build/fedora/mongo/db/pipeline/libaccumulator.a g++ -o build/fedora/mongo/db/auth/user_document_parser.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/auth/user_document_parser.cpp In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/bson/bsonobj.h:44, from src/mongo/bson/bsonobj_comparator_interface.h:32, from src/mongo/bson/simple_bsonobj_comparator.h:34, from src/mongo/db/pipeline/document_source.h:41, from src/mongo/db/pipeline/document_source_facet.h:36, from src/mongo/db/pipeline/document_source_facet.cpp:31: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/db/pipeline/document_source.h:44: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call In file included from /usr/include/string.h:535, from /usr/include/c++/12/cstring:42, from src/mongo/base/string_data.h:33, from build/fedora/mongo/base/error_codes.h:35, from src/mongo/base/status.h:33, from src/mongo/db/auth/user_document_parser.h:32, from src/mongo/db/auth/user_document_parser.cpp:31: In function 'memcpy', inlined from 'mongo::StringData::copyTo(char*, bool) const' at src/mongo/base/string_data.h:266:15, inlined from 'mongo::StringBuilderImpl::append(mongo::StringData)' at src/mongo/bson/util/builder.h:484:19, inlined from 'mongo::StringBuilderImpl::operator<<(mongo::StringData)' at src/mongo/bson/util/builder.h:441:15, inlined from 'mongoutils::str::stream::operator<< (mongo::StringData const&)mongoutils::str::stream&' at src/mongo/util/mongoutils/str.h:66:12, inlined from 'mongo::V2UserDocumentParser::checkValidUserDocument(mongo::BSONObj const&) const' at src/mongo/db/auth/user_document_parser.cpp:147:62: /usr/include/bits/string_fortified.h:29:33: warning: 'memcpy' offset 0 is out of the bounds [0, 0] [-Warray-bounds] 29 | return __builtin___memcpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 30 | __glibc_objsize0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ ar rcsTD build/fedora/mongo/db/auth/libauthentication_restriction.a build/fedora/mongo/db/auth/restriction_environment.o Skipping ranlib for thin archive build/fedora/mongo/db/auth/libauthentication_restriction.a g++ -o build/fedora/mongo/db/index/expression_params.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/index/expression_params.cpp g++ -o build/fedora/mongo/client/remote_command_targeter_rs.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/client/remote_command_targeter_rs.cpp g++ -o build/fedora/mongo/db/storage/kv/kv_catalog.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/storage/kv/kv_catalog.cpp g++ -o build/fedora/mongo/db/free_mon/free_mon_options.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/free_mon/free_mon_options.cpp In file included from /usr/include/string.h:535, from /usr/include/c++/12/cstring:42, from src/mongo/base/string_data.h:33, from src/mongo/db/storage/kv/kv_catalog.h:37, from src/mongo/db/storage/kv/kv_catalog.cpp:33: In function 'memcpy', inlined from 'mongo::StringData::copyTo(char*, bool) const' at src/mongo/base/string_data.h:266:15, inlined from 'mongo::StringBuilderImpl::append(mongo::StringData)' at src/mongo/bson/util/builder.h:484:19, inlined from 'mongo::StringBuilderImpl::appendIntegral(long, int)mongo::StringBuilderImpl&' at src/mongo/bson/util/builder.h:518:19, inlined from 'mongo::StringBuilderImpl::appendIntegral(long, int)mongo::StringBuilderImpl&' at src/mongo/bson/util/builder.h:512:24, inlined from 'mongo::StringBuilderImpl::operator<<(long)' at src/mongo/bson/util/builder.h:408:30, inlined from 'mongoutils::str::stream::operator<< (long const&)mongoutils::str::stream&' at src/mongo/util/mongoutils/str.h:66:12, inlined from 'mongo::KVCatalog::_newRand[abi:cxx11]()' at src/mongo/db/storage/kv/kv_catalog.cpp:329:94: /usr/include/bits/string_fortified.h:29:33: warning: 'memcpy' offset [0, 511] is out of the bounds [0, 0] [-Warray-bounds] 29 | return __builtin___memcpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 30 | __glibc_objsize0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ ar rcsTD build/fedora/mongo/db/storage/kv/libkv_engine_core.a build/fedora/mongo/db/storage/kv/kv_catalog.o build/fedora/mongo/db/storage/kv/kv_collection_catalog_entry.o Skipping ranlib for thin archive build/fedora/mongo/db/storage/kv/libkv_engine_core.a g++ -o build/fedora/mongo/db/auth/role_graph_update.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/auth/role_graph_update.cpp gcc -o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_sqrt.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -DUSE_COMPILER_F80_TYPE=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -Dlinux=1 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_sqrt.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C g++ -o build/fedora/third_party/icu4c-57.1/source/i18n/unumsys.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/unumsys.cpp /usr/bin/python3 src/mongo/db/fts/generate_stop_words.py src/mongo/db/fts/stop_words_danish.txt src/mongo/db/fts/stop_words_dutch.txt src/mongo/db/fts/stop_words_english.txt src/mongo/db/fts/stop_words_finnish.txt src/mongo/db/fts/stop_words_french.txt src/mongo/db/fts/stop_words_german.txt src/mongo/db/fts/stop_words_hungarian.txt src/mongo/db/fts/stop_words_italian.txt src/mongo/db/fts/stop_words_norwegian.txt src/mongo/db/fts/stop_words_portuguese.txt src/mongo/db/fts/stop_words_romanian.txt src/mongo/db/fts/stop_words_russian.txt src/mongo/db/fts/stop_words_spanish.txt src/mongo/db/fts/stop_words_swedish.txt src/mongo/db/fts/stop_words_turkish.txt build/fedora/mongo/db/fts/stop_words_list.h build/fedora/mongo/db/fts/stop_words_list.cpp g++ -o build/fedora/mongo/db/fts/stop_words_list.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc build/fedora/mongo/db/fts/stop_words_list.cpp In file included from src/mongo/util/string_map.h:36, from build/fedora/mongo/db/fts/stop_words_list.h:5, from build/fedora/mongo/db/fts/stop_words_list.cpp:1: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::set >, mongo::StringMapTraits>': build/fedora/mongo/db/fts/stop_words_list.cpp:106:46: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::set >; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::set >; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::set >; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::set >; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/mongo/db/query/collation/collator_factory_icu.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/query/collation/collator_factory_icu.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/update/update_driver.h:39, from src/mongo/db/auth/role_graph_update.cpp:40: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/bson/mutable/element.h:34, from src/mongo/bson/mutable/const_element.h:30, from src/mongo/bson/mutable/document.h:34, from src/mongo/db/auth/role_graph_update.cpp:32: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/mongo/util/concurrency/thread_pool.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/asio-master/asio/include -Ibuild/fedora -Isrc src/mongo/util/concurrency/thread_pool.cpp In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call ar rcsTD build/fedora/mongo/util/concurrency/libthread_pool.a build/fedora/mongo/util/concurrency/thread_pool.o Skipping ranlib for thin archive build/fedora/mongo/util/concurrency/libthread_pool.a g++ -o build/fedora/mongo/db/query/query_request.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/query/query_request.cpp In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/db/catalog/collection_options.h:36, from src/mongo/db/query/query_request.h:34, from src/mongo/db/query/query_request.cpp:31: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ ar rcsTD build/fedora/mongo/db/auth/librole_graph_update.a build/fedora/mongo/db/auth/role_graph_update.o src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ Skipping ranlib for thin archive build/fedora/mongo/db/auth/librole_graph_update.a g++ -o build/fedora/mongo/db/query/tailable_mode_gen.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc build/fedora/mongo/db/query/tailable_mode_gen.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/plan_cache.h:35, from src/mongo/db/catalog/collection_info_cache.h:33, from src/mongo/db/catalog/collection.h:41, from src/mongo/db/catalog/uuid_catalog.h:34, from src/mongo/db/query/query_request.cpp:37: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from build/fedora/mongo/db/query/tailable_mode_gen.cpp:16: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from build/fedora/mongo/db/query/tailable_mode_gen.h:16, from build/fedora/mongo/db/query/tailable_mode_gen.cpp:9: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, unsigned int, mongo::StringMapTraits>': src/mongo/db/op_observer.h:310:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::vector, mongo::StringMapTraits>': src/mongo/db/catalog/uuid_catalog.h:234:44: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::vector; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::vector; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::vector; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::vector; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/db/query/query_request.cpp: In static member function 'static mongo::StatusWith > mongo::QueryRequest::parseFromFindCommand(std::unique_ptr, const mongo::BSONObj&, bool)': src/mongo/db/query/query_request.cpp:399:21: warning: redundant move in return statement [-Wredundant-move] 399 | return std::move(qr); | ~~~~~~~~~^~~~ src/mongo/db/query/query_request.cpp:399:21: note: remove 'std::move' call src/mongo/db/query/query_request.cpp: In static member function 'static mongo::StatusWith > mongo::QueryRequest::fromLegacyQueryMessage(const mongo::QueryMessage&)': src/mongo/db/query/query_request.cpp:731:21: warning: redundant move in return statement [-Wredundant-move] 731 | return std::move(qr); | ~~~~~~~~~^~~~ src/mongo/db/query/query_request.cpp:731:21: note: remove 'std::move' call src/mongo/db/query/query_request.cpp: In static member function 'static mongo::StatusWith > mongo::QueryRequest::fromLegacyQuery(mongo::NamespaceString, const mongo::BSONObj&, const mongo::BSONObj&, int, int, int)': src/mongo/db/query/query_request.cpp:747:21: warning: redundant move in return statement [-Wredundant-move] 747 | return std::move(qr); | ~~~~~~~~~^~~~ src/mongo/db/query/query_request.cpp:747:21: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call g++ -o build/fedora/mongo/db/query/tailable_mode.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/query/tailable_mode.cpp g++ -o build/fedora/third_party/icu4c-57.1/source/i18n/regextxt.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/regextxt.cpp g++ -o build/fedora/mongo/util/net/ssl_types.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/asio-master/asio/include -Ibuild/fedora -Isrc src/mongo/util/net/ssl_types.cpp ar rcsTD build/fedora/mongo/util/net/libssl_types.a build/fedora/mongo/util/net/ssl_types.o Skipping ranlib for thin archive build/fedora/mongo/util/net/libssl_types.a g++ -o build/fedora/mongo/db/s/config/configsvr_add_shard_command.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/s/config/configsvr_add_shard_command.cpp ar rcsTD build/fedora/mongo/db/query/libquery_request.a build/fedora/mongo/db/query/query_request.o build/fedora/mongo/db/query/tailable_mode.o build/fedora/mongo/db/query/tailable_mode_gen.o Skipping ranlib for thin archive build/fedora/mongo/db/query/libquery_request.a g++ -o build/fedora/third_party/icu4c-57.1/source/i18n/upluralrules.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/upluralrules.cpp g++ -o build/fedora/third_party/icu4c-57.1/source/common/uhash_us.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/uhash_us.cpp g++ -o build/fedora/third_party/icu4c-57.1/source/i18n/choicfmt.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/choicfmt.cpp g++ -o build/fedora/mongo/db/ftdc/file_reader.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/ftdc/file_reader.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/db/s/config/configsvr_add_shard_command.cpp:37: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/bson/mutable/element.h:34, from src/mongo/db/auth/privilege.h:32, from src/mongo/db/audit.h:37, from src/mongo/db/s/config/configsvr_add_shard_command.cpp:33: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/mongo/db/exec/working_set.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/exec/working_set.cpp src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, unsigned int, mongo::StringMapTraits>': src/mongo/db/op_observer.h:310:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::repl::ReplSetTagPattern, mongo::StringMapTraits>': src/mongo/db/repl/repl_set_config.h:402:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::repl::ReplSetTagPattern; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::repl::ReplSetTagPattern; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::repl::ReplSetTagPattern; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::repl::ReplSetTagPattern; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/db/s/config/namespace_serializer.h:73:40: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/mongo/client/mongo_uri.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/client/mongo_uri.cpp In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call g++ -o build/fedora/mongo/client/connection_string.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/client/connection_string.cpp g++ -o build/fedora/mongo/db/retryable_writes_stats.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/retryable_writes_stats.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/db/commands/server_status.h:33, from src/mongo/db/retryable_writes_stats.cpp:33: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/bson/timestamp.h:31, from src/mongo/db/repl/optime.h:33, from src/mongo/db/namespace_string.h:38, from src/mongo/db/client.h:43, from src/mongo/db/operation_context.h:36, from src/mongo/db/retryable_writes_stats.h:31, from src/mongo/db/retryable_writes_stats.cpp:31: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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 ar rcsTD build/fedora/mongo/client/libconnection_string.a build/fedora/mongo/client/connection_string.o build/fedora/mongo/client/mongo_uri.o Skipping ranlib for thin archive build/fedora/mongo/client/libconnection_string.a g++ -o build/fedora/mongo/db/ttl.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/ttl.cpp src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/db/server_options.h:30, from src/mongo/base/secure_allocator.h:40, from src/mongo/db/auth/authorization_manager.h:35, from src/mongo/db/auth/authorization_session.h:38, from src/mongo/db/ttl.cpp:38: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/plan_cache.h:35, from src/mongo/db/catalog/collection_info_cache.h:33, from src/mongo/db/catalog/collection.h:41, from src/mongo/db/ttl.cpp:40: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ gcc -o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_exp.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -DUSE_COMPILER_F80_TYPE=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -Dlinux=1 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_exp.c src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C g++ -o build/fedora/third_party/icu4c-57.1/source/i18n/sortkey.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/sortkey.cpp src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/third_party/icu4c-57.1/source/common/utrie2_builder.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/utrie2_builder.cpp g++ -o build/fedora/mongo/util/cmdline_utils/censor_cmdline.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/asio-master/asio/include -Ibuild/fedora -Isrc src/mongo/util/cmdline_utils/censor_cmdline.cpp src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, unsigned int, mongo::StringMapTraits>': src/mongo/db/op_observer.h:310:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long unsigned int, mongo::StringMapTraits>': src/mongo/db/views/view_graph.h:177:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/db/views/view_catalog.h:174:13: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Collection*, mongo::StringMapTraits>': src/mongo/db/catalog/database.h:165:38: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Top::CollectionData, mongo::StringMapTraits>': src/mongo/db/stats/top.h:150:14: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ ar rcsTD build/fedora/mongo/util/cmdline_utils/libcmdline_utils.a build/fedora/mongo/util/cmdline_utils/censor_cmdline.o Skipping ranlib for thin archive build/fedora/mongo/util/cmdline_utils/libcmdline_utils.a gcc -o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_powi.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -DUSE_COMPILER_F80_TYPE=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -Dlinux=1 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_powi.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C g++ -o build/fedora/mongo/db/fts/fts_basic_phrase_matcher.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/fts/fts_basic_phrase_matcher.cpp ar rcsTD build/fedora/mongo/db/libservice_liaison.a build/fedora/mongo/db/service_liaison.o Skipping ranlib for thin archive build/fedora/mongo/db/libservice_liaison.a ar rcsTD build/fedora/mongo/db/libgeneric_cursor.a build/fedora/mongo/db/generic_cursor_gen.o Skipping ranlib for thin archive build/fedora/mongo/db/libgeneric_cursor.a g++ -o build/fedora/mongo/db/pipeline/document_source_lookup_change_post_image.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/pipeline/document_source_lookup_change_post_image.cpp In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/bson/bsonobj.h:44, from src/mongo/bson/bsonobj_comparator_interface.h:32, from src/mongo/bson/simple_bsonobj_comparator.h:34, from src/mongo/db/pipeline/document_source.h:41, from src/mongo/db/pipeline/document_source_lookup_change_post_image.h:31, from src/mongo/db/pipeline/document_source_lookup_change_post_image.cpp:31: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/db/pipeline/document_source.h:44: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call gcc -o build/fedora/third_party/icu4c-57.1/source/i18n/ulocdata.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/ulocdata.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C g++ -o build/fedora/mongo/db/s/config/configsvr_remove_shard_from_zone_command.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/s/config/configsvr_remove_shard_from_zone_command.cpp g++ -o build/fedora/mongo/db/s/get_database_version_command.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/s/get_database_version_command.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/db/s/config/configsvr_remove_shard_from_zone_command.cpp:36: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/db/server_options.h:30, from src/mongo/base/secure_allocator.h:40, from src/mongo/db/auth/authorization_manager.h:35, from src/mongo/db/auth/authorization_session.h:38, from src/mongo/db/s/config/configsvr_remove_shard_from_zone_command.cpp:34: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/db/server_options.h:30, from src/mongo/base/secure_allocator.h:40, from src/mongo/db/auth/authorization_manager.h:35, from src/mongo/db/s/get_database_version_command.cpp:35: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/db/s/config/namespace_serializer.h:73:40: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/plan_cache.h:35, from src/mongo/db/catalog/collection_info_cache.h:33, from src/mongo/db/catalog/collection.h:41, from src/mongo/db/catalog_raii.h:32, from src/mongo/db/s/get_database_version_command.cpp:38: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, unsigned int, mongo::StringMapTraits>': src/mongo/db/op_observer.h:310:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long unsigned int, mongo::StringMapTraits>': src/mongo/db/views/view_graph.h:177:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/db/views/view_catalog.h:174:13: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Collection*, mongo::StringMapTraits>': src/mongo/db/catalog/database.h:165:38: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/mongo/db/s/config/configsvr_commit_move_primary_command.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/s/config/configsvr_commit_move_primary_command.cpp In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/db/s/config/configsvr_commit_move_primary_command.cpp:34: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/db/server_options.h:30, from src/mongo/base/secure_allocator.h:40, from src/mongo/db/auth/authorization_manager.h:35, from src/mongo/db/auth/authorization_session.h:38, from src/mongo/db/s/config/configsvr_commit_move_primary_command.cpp:33: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call g++ -o build/fedora/mongo/db/s/split_vector_command.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/s/split_vector_command.cpp In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/db/s/config/namespace_serializer.h:73:40: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/db/s/split_vector_command.cpp:34: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/db/server_options.h:30, from src/mongo/base/secure_allocator.h:40, from src/mongo/db/auth/authorization_manager.h:35, from src/mongo/db/auth/authorization_session.h:38, from src/mongo/db/s/split_vector_command.cpp:33: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/mongo/db/s/clone_collection_options_from_primary_shard_cmd.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/s/clone_collection_options_from_primary_shard_cmd.cpp In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call In file included from /usr/include/string.h:535, from /usr/include/c++/12/cstring:42, from src/mongo/base/string_data.h:33, from build/fedora/mongo/base/error_codes.h:35, from src/mongo/base/status.h:33, from src/mongo/db/auth/authorization_session.h:35: In function 'memcpy', inlined from 'mongo::StringData::copyTo(char*, bool) const' at src/mongo/base/string_data.h:266:15, inlined from 'mongo::StringBuilderImpl::append(mongo::StringData)' at src/mongo/bson/util/builder.h:484:19, inlined from 'mongo::StringBuilderImpl::appendIntegral(int, int)mongo::StringBuilderImpl&' at src/mongo/bson/util/builder.h:518:19, inlined from 'mongo::StringBuilderImpl::appendIntegral(int, int)mongo::StringBuilderImpl&' at src/mongo/bson/util/builder.h:512:24, inlined from 'mongo::StringBuilderImpl::operator<<(int)' at src/mongo/bson/util/builder.h:402:30, inlined from 'mongo::BSONObjBuilder::numStr[abi:cxx11](int)' at src/mongo/bson/bsonobjbuilder.h:719:14, inlined from 'mongo::BSONObjBuilder::append(mongo::StringData, std::vector > const&)mongo::BSONObjBuilder&' at src/mongo/bson/bsonobjbuilder.h:958:26, inlined from 'mongo::(anonymous namespace)::SplitVector::errmsgRun(mongo::OperationContext*, std::__cxx11::basic_string, std::allocator > const&, mongo::BSONObj const&, std::__cxx11::basic_string, std::allocator >&, mongo::BSONObjBuilder&)' at src/mongo/db/s/split_vector_command.cpp:149:22: /usr/include/bits/string_fortified.h:29:33: warning: 'memcpy' offset [0, 511] is out of the bounds [0, 0] [-Warray-bounds] 29 | return __builtin___memcpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 30 | __glibc_objsize0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/db/s/clone_collection_options_from_primary_shard_cmd.cpp:34: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/db/server_options.h:30, from src/mongo/base/secure_allocator.h:40, from src/mongo/db/auth/authorization_manager.h:35, from src/mongo/db/auth/authorization_session.h:38, from src/mongo/db/s/clone_collection_options_from_primary_shard_cmd.cpp:33: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call g++ -o build/fedora/mongo/db/s/split_chunk_command.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/s/split_chunk_command.cpp In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/db/s/split_chunk_command.cpp:40: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/bson_extract.h:35, from src/mongo/db/s/split_chunk_command.cpp:36: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ChunkVersion, mongo::StringMapTraits>': src/mongo/db/s/operation_sharding_state.h:184:29: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ChunkVersion; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ChunkVersion; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ChunkVersion; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ChunkVersion; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::DatabaseVersion, mongo::StringMapTraits>': src/mongo/db/s/operation_sharding_state.h:185:32: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::DatabaseVersion; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::DatabaseVersion; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::DatabaseVersion; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::DatabaseVersion; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/mongo/db/s/check_sharding_index_command.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/s/check_sharding_index_command.cpp In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/bson/bsonelement_comparator_interface.h:32, from src/mongo/bson/bsonelement_comparator.h:32, from src/mongo/db/s/check_sharding_index_command.cpp:33: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/plan_cache.h:35, from src/mongo/db/catalog/collection_info_cache.h:33, from src/mongo/db/catalog/collection.h:41, from src/mongo/db/catalog_raii.h:32, from src/mongo/db/s/check_sharding_index_command.cpp:39: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/mongo/db/s/flush_database_cache_updates_command.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/s/flush_database_cache_updates_command.cpp src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, unsigned int, mongo::StringMapTraits>': src/mongo/db/op_observer.h:310:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long unsigned int, mongo::StringMapTraits>': src/mongo/db/views/view_graph.h:177:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/db/views/view_catalog.h:174:13: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Collection*, mongo::StringMapTraits>': src/mongo/db/catalog/database.h:165:38: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/db/server_options.h:30, from src/mongo/base/secure_allocator.h:40, from src/mongo/db/auth/authorization_manager.h:35, from src/mongo/db/s/flush_database_cache_updates_command.cpp:35: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/plan_cache.h:35, from src/mongo/db/catalog/collection_info_cache.h:33, from src/mongo/db/catalog/collection.h:41, from src/mongo/db/catalog_raii.h:32, from src/mongo/db/s/flush_database_cache_updates_command.cpp:38: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, unsigned int, mongo::StringMapTraits>': src/mongo/db/op_observer.h:310:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long unsigned int, mongo::StringMapTraits>': src/mongo/db/views/view_graph.h:177:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/db/views/view_catalog.h:174:13: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Collection*, mongo::StringMapTraits>': src/mongo/db/catalog/database.h:165:38: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ChunkVersion, mongo::StringMapTraits>': src/mongo/db/s/operation_sharding_state.h:184:29: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ChunkVersion; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ChunkVersion; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ChunkVersion; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ChunkVersion; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::DatabaseVersion, mongo::StringMapTraits>': src/mongo/db/s/operation_sharding_state.h:185:32: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::DatabaseVersion; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::DatabaseVersion; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::DatabaseVersion; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::DatabaseVersion; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/mongo/db/s/config/configsvr_drop_database_command.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/s/config/configsvr_drop_database_command.cpp In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call In file included from /usr/include/c++/12/cstring:42, from src/mongo/base/string_data.h:33, from build/fedora/mongo/base/error_codes.h:35, from src/mongo/base/status.h:33, from src/mongo/db/auth/action_set.h:34, from src/mongo/db/s/flush_database_cache_updates_command.cpp:33: In function '*memchr', inlined from 'mongo::StringData::find(char, unsigned long) const' at src/mongo/base/string_data.h:275:27, inlined from 'mongo::NamespaceString::NamespaceString(mongo::StringData, mongo::StringData)' at src/mongo/db/namespace_string.h:113:9, inlined from 'mongo::(anonymous namespace)::FlushDatabaseCacheUpdatesCmd::Invocation::ns() const' at src/mongo/db/s/flush_database_cache_updates_command.cpp:87:49: /usr/include/string.h:102:27: warning: 'memchr' specified bound 18446744073709551615 exceeds maximum object size 9223372036854775807 [-Wstringop-overread] 102 | return __builtin_memchr (__s, __c, __n); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ In file included from /usr/include/c++/12/string:53, from /usr/include/c++/12/bitset:47, from src/mongo/db/auth/action_set.h:30: In member function 'std::__cxx11::basic_string, std::allocator >::_M_data() const', inlined from 'std::__cxx11::basic_string, std::allocator >::data() const' at /usr/include/c++/12/bits/basic_string.h:2568:23, inlined from 'mongo::StringData::StringData(std::__cxx11::basic_string, std::allocator > const&)' at src/mongo/base/string_data.h:85:89, inlined from 'mongo::_flushDatabaseCacheUpdates::getCommandParameter() const &' at build/fedora/mongo/s/request_types/flush_database_cache_updates_gen.h:45:60, inlined from 'mongo::(anonymous namespace)::FlushDatabaseCacheUpdatesCmd::Invocation::_dbName() const' at src/mongo/db/s/flush_database_cache_updates_command.cpp:153:49, inlined from 'mongo::(anonymous namespace)::FlushDatabaseCacheUpdatesCmd::Invocation::ns() const' at src/mongo/db/s/flush_database_cache_updates_command.cpp:87:49: /usr/include/c++/12/bits/basic_string.h:234:28: note: source object allocated here 234 | { return _M_dataplus._M_p; } | ~~~~~~~~~~~~^~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/db/s/config/configsvr_drop_database_command.cpp:33: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/db/server_options.h:30, from src/mongo/base/secure_allocator.h:40, from src/mongo/db/auth/authorization_manager.h:35, from src/mongo/db/auth/authorization_session.h:38, from src/mongo/db/s/config/configsvr_drop_database_command.cpp:31: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call g++ -o build/fedora/mongo/db/s/migration_destination_manager_legacy_commands.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/s/migration_destination_manager_legacy_commands.cpp 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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/db/s/config/namespace_serializer.h:73:40: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/s/catalog_cache.h:377:21: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/s/catalog_cache.h:379:24: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/s/catalog_cache.h:379:24: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/s/catalog_cache.h:379:24: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/db/s/migration_destination_manager_legacy_commands.cpp:38: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/db/server_options.h:30, from src/mongo/base/secure_allocator.h:40, from src/mongo/db/auth/authorization_manager.h:35, from src/mongo/db/s/migration_destination_manager_legacy_commands.cpp:35: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/mongo/db/s/set_shard_version_command.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/s/set_shard_version_command.cpp In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call g++ -o build/fedora/mongo/db/s/config/configsvr_control_balancer_command.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/s/config/configsvr_control_balancer_command.cpp In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/db/server_options.h:30, from src/mongo/base/secure_allocator.h:40, from src/mongo/db/auth/authorization_manager.h:35, from src/mongo/db/s/set_shard_version_command.cpp:35: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/plan_cache.h:35, from src/mongo/db/catalog/collection_info_cache.h:33, from src/mongo/db/catalog/collection.h:41, from src/mongo/db/catalog_raii.h:32, from src/mongo/db/s/set_shard_version_command.cpp:38: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, unsigned int, mongo::StringMapTraits>': src/mongo/db/op_observer.h:310:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long unsigned int, mongo::StringMapTraits>': src/mongo/db/views/view_graph.h:177:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/db/views/view_catalog.h:174:13: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Collection*, mongo::StringMapTraits>': src/mongo/db/catalog/database.h:165:38: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/db/s/config/configsvr_control_balancer_command.cpp:35: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/db/server_options.h:30, from src/mongo/base/secure_allocator.h:40, from src/mongo/db/auth/authorization_manager.h:35, from src/mongo/db/auth/authorization_session.h:38, from src/mongo/db/s/config/configsvr_control_balancer_command.cpp:33: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call g++ -o build/fedora/mongo/db/s/config/configsvr_remove_shard_command.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/s/config/configsvr_remove_shard_command.cpp g++ -o build/fedora/mongo/db/s/flush_routing_table_cache_updates_command.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/s/flush_routing_table_cache_updates_command.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/db/s/config/configsvr_remove_shard_command.cpp:40: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/bson/mutable/element.h:34, from src/mongo/db/auth/privilege.h:32, from src/mongo/db/audit.h:37, from src/mongo/db/s/config/configsvr_remove_shard_command.cpp:35: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/db/server_options.h:30, from src/mongo/base/secure_allocator.h:40, from src/mongo/db/auth/authorization_manager.h:35, from src/mongo/db/s/flush_routing_table_cache_updates_command.cpp:35: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/plan_cache.h:35, from src/mongo/db/catalog/collection_info_cache.h:33, from src/mongo/db/catalog/collection.h:41, from src/mongo/db/catalog_raii.h:32, from src/mongo/db/s/flush_routing_table_cache_updates_command.cpp:38: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ 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: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/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ 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: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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/db/s/config/namespace_serializer.h:73:40: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/s/catalog_cache.h:377:21: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/s/catalog_cache.h:379:24: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/s/catalog_cache.h:379:24: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/s/catalog_cache.h:379:24: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, unsigned int, mongo::StringMapTraits>': src/mongo/db/op_observer.h:310:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long unsigned int, mongo::StringMapTraits>': src/mongo/db/views/view_graph.h:177:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/db/views/view_catalog.h:174:13: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Collection*, mongo::StringMapTraits>': src/mongo/db/catalog/database.h:165:38: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ChunkVersion, mongo::StringMapTraits>': src/mongo/db/s/operation_sharding_state.h:184:29: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ChunkVersion; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ChunkVersion; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ChunkVersion; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ChunkVersion; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::DatabaseVersion, mongo::StringMapTraits>': src/mongo/db/s/operation_sharding_state.h:185:32: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::DatabaseVersion; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::DatabaseVersion; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::DatabaseVersion; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::DatabaseVersion; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call g++ -o build/fedora/mongo/db/s/config/configsvr_split_chunk_command.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/s/config/configsvr_split_chunk_command.cpp g++ -o build/fedora/mongo/db/s/config/configsvr_create_collection_command.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/s/config/configsvr_create_collection_command.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/db/s/config/configsvr_split_chunk_command.cpp:36: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/db/server_options.h:30, from src/mongo/base/secure_allocator.h:40, from src/mongo/db/auth/authorization_manager.h:35, from src/mongo/db/auth/authorization_session.h:38, from src/mongo/db/s/config/configsvr_split_chunk_command.cpp:34: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/db/s/config/namespace_serializer.h:73:40: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/db/s/config/configsvr_create_collection_command.cpp:40: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/bson/mutable/element.h:34, from src/mongo/db/auth/privilege.h:32, from src/mongo/db/audit.h:37, from src/mongo/db/s/config/configsvr_create_collection_command.cpp:35: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/db/s/config/namespace_serializer.h:73:40: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call g++ -o build/fedora/mongo/db/s/config/configsvr_drop_collection_command.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/s/config/configsvr_drop_collection_command.cpp In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call g++ -o build/fedora/mongo/db/s/shardsvr_shard_collection.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/s/shardsvr_shard_collection.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/db/s/config/configsvr_drop_collection_command.cpp:33: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/db/server_options.h:30, from src/mongo/base/secure_allocator.h:40, from src/mongo/db/auth/authorization_manager.h:35, from src/mongo/db/auth/authorization_session.h:38, from src/mongo/db/s/config/configsvr_drop_collection_command.cpp:31: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/db/s/config/namespace_serializer.h:73:40: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/s/catalog_cache.h:377:21: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/s/catalog_cache.h:379:24: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/s/catalog_cache.h:379:24: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/s/catalog_cache.h:379:24: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/bson/bsonelement_comparator_interface.h:32, from src/mongo/bson/simple_bsonelement_comparator.h:31, from src/mongo/db/s/shardsvr_shard_collection.cpp:33: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/plan_cache.h:35, from src/mongo/db/catalog/collection_info_cache.h:33, from src/mongo/db/catalog/collection.h:41, from src/mongo/db/catalog_raii.h:32, from src/mongo/db/s/shardsvr_shard_collection.cpp:38: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, unsigned int, mongo::StringMapTraits>': src/mongo/db/op_observer.h:310:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long unsigned int, mongo::StringMapTraits>': src/mongo/db/views/view_graph.h:177:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/db/views/view_catalog.h:174:13: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Collection*, mongo::StringMapTraits>': src/mongo/db/catalog/database.h:165:38: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/db/s/config/namespace_serializer.h:73:40: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/s/catalog_cache.h:377:21: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/s/catalog_cache.h:379:24: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/s/catalog_cache.h:379:24: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/s/catalog_cache.h:379:24: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/mongo/db/s/unset_sharding_command.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/s/unset_sharding_command.cpp In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/db/s/unset_sharding_command.cpp:38: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/db/server_options.h:30, from src/mongo/base/secure_allocator.h:40, from src/mongo/db/auth/authorization_manager.h:35, from src/mongo/db/s/unset_sharding_command.cpp:35: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call g++ -o build/fedora/mongo/db/commands/test_commands_enabled.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/commands/test_commands_enabled.cpp ar rcsTD build/fedora/mongo/db/s/libcommands_db_s.a build/fedora/mongo/db/s/check_sharding_index_command.o build/fedora/mongo/db/s/cleanup_orphaned_cmd.o build/fedora/mongo/db/s/clone_catalog_data_command.o build/fedora/mongo/db/s/clone_collection_options_from_primary_shard_cmd.o build/fedora/mongo/db/s/config/configsvr_add_shard_command.o build/fedora/mongo/db/s/config/configsvr_add_shard_to_zone_command.o build/fedora/mongo/db/s/config/configsvr_commit_chunk_migration_command.o build/fedora/mongo/db/s/config/configsvr_commit_move_primary_command.o build/fedora/mongo/db/s/config/configsvr_control_balancer_command.o build/fedora/mongo/db/s/config/configsvr_create_collection_command.o build/fedora/mongo/db/s/config/configsvr_create_database_command.o build/fedora/mongo/db/s/config/configsvr_drop_collection_command.o build/fedora/mongo/db/s/config/configsvr_drop_database_command.o build/fedora/mongo/db/s/config/configsvr_enable_sharding_command.o build/fedora/mongo/db/s/config/configsvr_merge_chunk_command.o build/fedora/mongo/db/s/config/configsvr_move_chunk_command.o build/fedora/mongo/db/s/config/configsvr_move_primary_command.o build/fedora/mongo/db/s/config/configsvr_remove_shard_command.o build/fedora/mongo/db/s/config/configsvr_remove_shard_from_zone_command.o build/fedora/mongo/db/s/config/configsvr_shard_collection_command.o build/fedora/mongo/db/s/config/configsvr_split_chunk_command.o build/fedora/mongo/db/s/config/configsvr_update_zone_key_range_command.o build/fedora/mongo/db/s/flush_database_cache_updates_command.o build/fedora/mongo/db/s/flush_routing_table_cache_updates_command.o build/fedora/mongo/db/s/get_database_version_command.o build/fedora/mongo/db/s/get_shard_version_command.o build/fedora/mongo/db/s/merge_chunks_command.o build/fedora/mongo/db/s/migration_chunk_cloner_source_legacy_commands.o build/fedora/mongo/db/s/migration_destination_manager_legacy_commands.o build/fedora/mongo/db/s/move_chunk_command.o build/fedora/mongo/db/s/move_primary_command.o build/fedora/mongo/db/s/set_shard_version_command.o build/fedora/mongo/db/s/shardsvr_shard_collection.o build/fedora/mongo/db/s/sharding_server_status.o build/fedora/mongo/db/s/sharding_state_command.o build/fedora/mongo/db/s/split_chunk_command.o build/fedora/mongo/db/s/split_vector_command.o build/fedora/mongo/db/s/unset_sharding_command.o Skipping ranlib for thin archive build/fedora/mongo/db/s/libcommands_db_s.a g++ -o build/fedora/third_party/icu4c-57.1/source/i18n/regexcmp.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/regexcmp.cpp g++ -o build/fedora/mongo/db/index/s2_access_method.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/index/s2_access_method.cpp g++ -o build/fedora/third_party/icu4c-57.1/source/i18n/standardplural.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/standardplural.cpp g++ -o build/fedora/third_party/shim_snappy.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS src/third_party/shim_snappy.cpp g++ -o build/fedora/mongo/db/update/arithmetic_node.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/update/arithmetic_node.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/document_comparator.h:32, from src/mongo/db/pipeline/expression_context.h:41, from src/mongo/db/update/update_leaf_node.h:31, from src/mongo/db/update/modifier_node.h:31, from src/mongo/db/update/arithmetic_node.h:31, from src/mongo/db/update/arithmetic_node.cpp:31: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/bson/bsonobj.h:44, from src/mongo/db/pipeline/expression_context.h:37: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/mongo/db/pipeline/field_path.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/pipeline/field_path.cpp ar rcsTD build/fedora/mongo/util/libperiodic_runner_impl.a build/fedora/mongo/util/periodic_runner_impl.o Skipping ranlib for thin archive build/fedora/mongo/util/libperiodic_runner_impl.a g++ -o build/fedora/mongo/db/service_entry_point_mongod.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/service_entry_point_mongod.cpp g++ -o build/fedora/third_party/icu4c-57.1/source/i18n/tmutfmt.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/tmutfmt.cpp g++ -o build/fedora/mongo/db/storage/wiredtiger/wiredtiger_size_storer.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora/third_party/wiredtiger -Isrc/third_party/wiredtiger -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/storage/wiredtiger/wiredtiger_size_storer.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/db/curop.h:35, from src/mongo/db/service_entry_point_mongod.cpp:37: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/bson_validate.h:35, from src/mongo/db/dbmessage.h:34, from src/mongo/transport/service_entry_point.h:32, from src/mongo/transport/service_entry_point_impl.h:37, from src/mongo/db/service_entry_point_mongod.h:32, from src/mongo/db/service_entry_point_mongod.cpp:33: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/bson/bsonobj.h:44, from src/mongo/db/storage/wiredtiger/wiredtiger_size_storer.cpp:38: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/db/storage/wiredtiger/wiredtiger_size_storer.h:106:12: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/third_party/mozjs-45/extract/js/src/jsmath.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -Wno-non-virtual-dtor -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -include js-confdefs.h -Wno-invalid-offsetof -fPIE -DIMPL_MFBT -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=1 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora/third_party/mozjs-45/extract/js/src -Isrc/third_party/mozjs-45/extract/js/src -Ibuild/fedora/third_party/mozjs-45/extract/mfbt -Isrc/third_party/mozjs-45/extract/mfbt -Ibuild/fedora/third_party/mozjs-45/extract/intl/icu/source/common -Isrc/third_party/mozjs-45/extract/intl/icu/source/common -Ibuild/fedora/third_party/mozjs-45/include -Isrc/third_party/mozjs-45/include -Ibuild/fedora/third_party/mozjs-45/mongo_sources -Isrc/third_party/mozjs-45/mongo_sources -Ibuild/fedora/third_party/mozjs-45/platform/x86_64/linux/build -Isrc/third_party/mozjs-45/platform/x86_64/linux/build -Ibuild/fedora/third_party/mozjs-45/platform/x86_64/linux/include -Isrc/third_party/mozjs-45/platform/x86_64/linux/include src/third_party/mozjs-45/extract/js/src/jsmath.cpp In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jsmath.cpp:30: src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1040:19: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 1040 | memcpy(&elements_[dstStart], src, count * sizeof(HeapSlot)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/jsmath.cpp:29: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here 650 | class HeapSlot : public WriteBarrieredBase | ^~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1048:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 1048 | memcpy(&elements_[dstStart], src, count * sizeof(HeapSlot)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here 650 | class HeapSlot : public WriteBarrieredBase | ^~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1082:20: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 1082 | memmove(elements_ + dstStart, elements_ + srcStart, count * sizeof(HeapSlot)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here 650 | class HeapSlot : public WriteBarrieredBase | ^~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1094:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 1094 | memmove(elements_ + dstStart, elements_ + srcStart, count * sizeof(Value)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here 650 | class HeapSlot : public WriteBarrieredBase | ^~~~~~~~ g++ -o build/fedora/mongo/db/query/plan_enumerator.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/query/plan_enumerator.cpp In file included from src/third_party/mozjs-45/extract/js/src/jsmath.cpp:39: src/third_party/mozjs-45/extract/js/src/jsobjinlines.h: In static member function 'static JSObject* JSObject::create(js::ExclusiveContext*, js::gc::AllocKind, js::gc::InitialHeap, js::HandleShape, js::HandleObjectGroup)': src/third_party/mozjs-45/extract/js/src/jsobjinlines.h:355:15: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::HeapSlot'; use assignment instead [-Wclass-memaccess] 355 | memset(obj->as().fixedSlots(), 0, size - sizeof(js::NativeObject)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here 650 | class HeapSlot : public WriteBarrieredBase | ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/CallArgs.h:38, from src/third_party/mozjs-45/include/js/CallNonGenericMethod.h:12, from src/third_party/mozjs-45/extract/js/src/NamespaceImports.h:15, from src/third_party/mozjs-45/extract/js/src/jsmath.h:14, from src/third_party/mozjs-45/extract/js/src/jsmath.cpp:11: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': src/third_party/mozjs-45/include/js/MemoryMetrics.h:40:34: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/gc/StoreBuffer.h:18, from src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:13: src/third_party/mozjs-45/include/js/MemoryMetrics.h:31:8: note: 'struct JS::TabSizes' declared here 31 | struct TabSizes | ^~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::ServoSizes]': src/third_party/mozjs-45/include/js/MemoryMetrics.h:71:36: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::ServoSizes'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/MemoryMetrics.h:59:8: note: 'struct JS::ServoSizes' declared here 59 | struct ServoSizes | ^~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JSSubString]': src/third_party/mozjs-45/extract/js/src/jsstr.h:73:37: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JSSubString'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/TraceLoggingTypes.h:11, from src/third_party/mozjs-45/extract/js/src/vm/TraceLoggingGraph.h:15, from src/third_party/mozjs-45/extract/js/src/vm/TraceLogging.h:19, from src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:22, from src/third_party/mozjs-45/extract/js/src/jsscript.h:24: src/third_party/mozjs-45/extract/js/src/jsstr.h:68:8: note: 'struct JSSubString' declared here 68 | struct JSSubString { | ^~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::PreliminaryObjectArray]': src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:808:25: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::PreliminaryObjectArray'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:23: src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:796:7: note: 'class js::PreliminaryObjectArray' declared here 796 | class PreliminaryObjectArray | ^~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::TypeNewScript]': src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:939:39: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::TypeNewScript' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:886:7: note: 'class js::TypeNewScript' declared here 886 | class TypeNewScript | ^~~~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:699:25: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:686:8: note: 'struct js::jit::IonScriptCounts' declared here 686 | struct IonScriptCounts | ^~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': src/third_party/mozjs-45/extract/js/src/vm/String.h:1092:25: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/Shape.h:32, from src/third_party/mozjs-45/extract/js/src/jsobj.h:27, from src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:16: src/third_party/mozjs-45/extract/js/src/vm/String.h:1074:7: note: 'class js::StaticStrings' declared here 1074 | class StaticStrings | ^~~~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': src/third_party/mozjs-45/extract/js/src/vm/Shape.h:392:25: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/Shape.h:323:7: note: 'class js::BaseShape' declared here 323 | class BaseShape : public gc::TenuredCell | ^~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:293:40: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:244:7: note: 'class js::NewObjectCache' declared here 244 | class NewObjectCache | ^~~~~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::Address]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:290:33: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::Address'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/Safepoints.h:12, from src/third_party/mozjs-45/extract/js/src/jit/JitFrames.h:16, from src/third_party/mozjs-45/extract/js/src/jscntxtinlines.h:16, from src/third_party/mozjs-45/extract/js/src/jscompartmentinlines.h:14, from src/third_party/mozjs-45/extract/js/src/jsobjinlines.h:29: src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:282:8: note: 'struct js::jit::Address' declared here 282 | struct Address | ^~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::BaseIndex]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:306:35: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::BaseIndex'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:295:8: note: 'struct js::jit::BaseIndex' declared here 295 | struct BaseIndex | ^~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::CodeOffsetJump]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:513:25: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::jit::CodeOffsetJump'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:491:7: note: 'class js::jit::CodeOffsetJump' declared here 491 | class CodeOffsetJump | ^~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/include/js/TracingAPI.h:12, from src/third_party/mozjs-45/include/js/TraceableVector.h:13, from src/third_party/mozjs-45/extract/js/src/NamespaceImports.h:16: src/third_party/mozjs-45/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': src/third_party/mozjs-45/include/js/HashTable.h:186:67: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' src/third_party/mozjs-45/extract/js/src/vm/SPSProfiler.h:256:18: required from here src/third_party/mozjs-45/include/js/HashTable.h:1550:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] 1550 | memset(table, 0, sizeof(*table) * capacity()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/HashTable.h:722:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here 722 | class HashTableEntry | ^~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jsmath.cpp: In function 'uint64_t js::GenerateRandomSeed()': src/third_party/mozjs-45/extract/js/src/jsmath.cpp:762:13: warning: ignoring return value of 'ssize_t read(int, void*, size_t)' declared with attribute 'warn_unused_result' [-Wunused-result] 762 | read(fd, static_cast(&seed), sizeof(seed)); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/plan_enumerator.h:35, from src/mongo/db/query/plan_enumerator.cpp:31: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/bson_validate.h:35, from src/mongo/db/dbmessage.h:34, from src/mongo/db/query/canonical_query.h:33: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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 member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::NativeObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::InitMathClass(JSContext*, JS::Handle)' at src/third_party/mozjs-45/extract/js/src/jsmath.cpp:1634:82: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'proto' in 'MEM[(struct Rooted * *)cx_76(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jsmath.cpp: In function 'js::InitMathClass(JSContext*, JS::Handle)': src/third_party/mozjs-45/extract/js/src/jsmath.cpp:1634:18: note: 'proto' declared here 1634 | RootedObject proto(cx, obj->as().getOrCreateObjectPrototype(cx)); | ^~~~~ src/third_party/mozjs-45/extract/js/src/jsmath.cpp:1634:18: note: 'cx_76(D)' declared here src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/mongo/db/pipeline/dependencies.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/pipeline/dependencies.cpp src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::MatchExpression*, mongo::StringMapTraits>': src/mongo/db/query/plan_enumerator.cpp:181:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::MatchExpression*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::MatchExpression*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::MatchExpression*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::MatchExpression*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/pipeline/dependencies.cpp:32: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/db/pipeline/dependencies.cpp:31: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call g++ -o build/fedora/third_party/icu4c-57.1/source/i18n/digitinterval.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/digitinterval.cpp g++ -o build/fedora/mongo/s/commands/cluster_commands_helpers.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/s/commands/cluster_commands_helpers.cpp In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/bson/bsonobj.h:44, from src/mongo/s/commands/cluster_commands_helpers.h:36, from src/mongo/s/commands/cluster_commands_helpers.cpp:35: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/s/catalog_cache.h:377:21: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/s/catalog_cache.h:379:24: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/s/catalog_cache.h:379:24: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/s/catalog_cache.h:379:24: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/s/commands/cluster_commands_helpers.cpp:37: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call g++ -o build/fedora/mongo/client/async_client.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/client/async_client.cpp g++ -o build/fedora/mongo/db/server_options_helpers.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/server_options_helpers.cpp In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/util/options_parser/environment.h:34, from src/mongo/db/server_options_helpers.h:32, from src/mongo/db/server_options_helpers.cpp:31: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::MessageCompressorBase*, mongo::StringMapTraits>': src/mongo/transport/message_compressor_registry.h:113:39: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::MessageCompressorBase*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::MessageCompressorBase*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::MessageCompressorBase*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::MessageCompressorBase*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/mongo/util/secure_compare_memory.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/asio-master/asio/include -Ibuild/fedora -Isrc src/mongo/util/secure_compare_memory.cpp ar rcsTD build/fedora/mongo/db/catalog/libindex_key_validate.a build/fedora/mongo/db/catalog/index_key_validate.o Skipping ranlib for thin archive build/fedora/mongo/db/catalog/libindex_key_validate.a g++ -o build/fedora/mongo/db/concurrency/global_lock_acquisition_tracker.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/concurrency/global_lock_acquisition_tracker.cpp In file included from /usr/include/string.h:535, from /usr/include/c++/12/cstring:42, from src/mongo/base/string_data.h:33, from build/fedora/mongo/base/error_codes.h:35, from src/mongo/base/status.h:33, from src/mongo/db/server_options_helpers.h:31: In function 'memcpy', inlined from 'mongo::StringData::copyTo(char*, bool) const' at src/mongo/base/string_data.h:266:15, inlined from 'mongo::StringBuilderImpl::append(mongo::StringData)' at src/mongo/bson/util/builder.h:484:19, inlined from 'mongo::StringBuilderImpl::appendIntegral(int, int)mongo::StringBuilderImpl&' at src/mongo/bson/util/builder.h:518:19, inlined from 'mongo::StringBuilderImpl::appendIntegral(int, int)mongo::StringBuilderImpl&' at src/mongo/bson/util/builder.h:512:24, inlined from 'mongo::StringBuilderImpl::operator<<(int)' at src/mongo/bson/util/builder.h:402:30, inlined from 'mongo::BSONObjBuilder::numStr[abi:cxx11](int)' at src/mongo/bson/bsonobjbuilder.h:719:14, inlined from 'mongo::BSONObjBuilder::append, std::allocator > >(mongo::StringData, std::vector, std::allocator >, std::allocator, std::allocator > > > const&)mongo::BSONObjBuilder& [clone .isra.0]' at src/mongo/bson/bsonobjbuilder.h:958:26: /usr/include/bits/string_fortified.h:29:33: warning: 'memcpy' offset [0, 511] is out of the bounds [0, 0] [-Warray-bounds] 29 | return __builtin___memcpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 30 | __glibc_objsize0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -o build/fedora/mongo/rpc/command_reply_builder.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/rpc/command_reply_builder.cpp ar rcsTD build/fedora/mongo/db/libserver_options.a build/fedora/mongo/db/server_options_helpers.o Skipping ranlib for thin archive build/fedora/mongo/db/libserver_options.a gcc -o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_ldexp.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -DUSE_COMPILER_F80_TYPE=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -Dlinux=1 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_ldexp.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C g++ -o build/fedora/mongo/db/catalog/index_consistency.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/catalog/index_consistency.cpp g++ -o build/fedora/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src14.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -Wno-non-virtual-dtor -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -include js-confdefs.h -Wno-invalid-offsetof -fPIE -DIMPL_MFBT -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=1 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora/third_party/mozjs-45/extract/js/src -Isrc/third_party/mozjs-45/extract/js/src -Ibuild/fedora/third_party/mozjs-45/extract/mfbt -Isrc/third_party/mozjs-45/extract/mfbt -Ibuild/fedora/third_party/mozjs-45/extract/intl/icu/source/common -Isrc/third_party/mozjs-45/extract/intl/icu/source/common -Ibuild/fedora/third_party/mozjs-45/include -Isrc/third_party/mozjs-45/include -Ibuild/fedora/third_party/mozjs-45/mongo_sources -Isrc/third_party/mozjs-45/mongo_sources -Ibuild/fedora/third_party/mozjs-45/platform/x86_64/linux/build -Isrc/third_party/mozjs-45/platform/x86_64/linux/build -Ibuild/fedora/third_party/mozjs-45/platform/x86_64/linux/include -Isrc/third_party/mozjs-45/platform/x86_64/linux/include src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src14.cpp In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/jsfun.h:15, from src/third_party/mozjs-45/extract/js/src/jit/CompileInfo.h:10, from src/third_party/mozjs-45/extract/js/src/jit/JitcodeMap.h:11, from src/third_party/mozjs-45/extract/js/src/jit/JitcodeMap.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src14.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1040:19: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 1040 | memcpy(&elements_[dstStart], src, count * sizeof(HeapSlot)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsobj.h:21, from src/third_party/mozjs-45/extract/js/src/jsfun.h:14: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here 650 | class HeapSlot : public WriteBarrieredBase | ^~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1048:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 1048 | memcpy(&elements_[dstStart], src, count * sizeof(HeapSlot)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here 650 | class HeapSlot : public WriteBarrieredBase | ^~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1082:20: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 1082 | memmove(elements_ + dstStart, elements_ + srcStart, count * sizeof(HeapSlot)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here 650 | class HeapSlot : public WriteBarrieredBase | ^~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1094:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 1094 | memmove(elements_ + dstStart, elements_ + srcStart, count * sizeof(Value)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here 650 | class HeapSlot : public WriteBarrieredBase | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/db/catalog/collection_options.h:36, from src/mongo/db/catalog/collection_catalog_entry.h:34, from src/mongo/db/catalog/index_consistency.cpp:33: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/plan_cache.h:35, from src/mongo/db/catalog/collection_info_cache.h:33, from src/mongo/db/catalog/collection.h:41, from src/mongo/db/catalog_raii.h:32, from src/mongo/db/db_raii.h:33, from src/mongo/db/catalog/index_consistency.cpp:38: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/third_party/mozjs-45/extract/js/src/jit/Lowering.cpp:16, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src14.cpp:38: src/third_party/mozjs-45/extract/js/src/jsobjinlines.h: In static member function 'static JSObject* JSObject::create(js::ExclusiveContext*, js::gc::AllocKind, js::gc::InitialHeap, js::HandleShape, js::HandleObjectGroup)': src/third_party/mozjs-45/extract/js/src/jsobjinlines.h:355:15: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::HeapSlot'; use assignment instead [-Wclass-memaccess] 355 | memset(obj->as().fixedSlots(), 0, size - sizeof(js::NativeObject)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here 650 | class HeapSlot : public WriteBarrieredBase | ^~~~~~~~ In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/extract/js/src/jsapi.h:25, from src/third_party/mozjs-45/extract/js/src/jsfriendapi.h:15, from src/third_party/mozjs-45/extract/js/src/jit/IonTypes.h:12, from src/third_party/mozjs-45/extract/js/src/jit/CompactBuffer.h:12, from src/third_party/mozjs-45/extract/js/src/jit/JitcodeMap.h:10: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': src/third_party/mozjs-45/include/js/MemoryMetrics.h:40:34: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/gc/StoreBuffer.h:18, from src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:13: src/third_party/mozjs-45/include/js/MemoryMetrics.h:31:8: note: 'struct JS::TabSizes' declared here 31 | struct TabSizes | ^~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::ServoSizes]': src/third_party/mozjs-45/include/js/MemoryMetrics.h:71:36: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::ServoSizes'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/MemoryMetrics.h:59:8: note: 'struct JS::ServoSizes' declared here 59 | struct ServoSizes | ^~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::PreliminaryObjectArray]': src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:808:25: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::PreliminaryObjectArray'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/ObjectGroup.h:16, from src/third_party/mozjs-45/extract/js/src/vm/Shape.h:31, from src/third_party/mozjs-45/extract/js/src/jsobj.h:27: src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:796:7: note: 'class js::PreliminaryObjectArray' declared here 796 | class PreliminaryObjectArray | ^~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::TypeNewScript]': src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:939:39: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::TypeNewScript' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:886:7: note: 'class js::TypeNewScript' declared here 886 | class TypeNewScript | ^~~~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JSSubString]': src/third_party/mozjs-45/extract/js/src/jsstr.h:73:37: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JSSubString'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/String.h:16, from src/third_party/mozjs-45/extract/js/src/vm/Shape.h:32: src/third_party/mozjs-45/extract/js/src/jsstr.h:68:8: note: 'struct JSSubString' declared here 68 | struct JSSubString { | ^~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': src/third_party/mozjs-45/extract/js/src/vm/String.h:1092:25: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/String.h:1074:7: note: 'class js::StaticStrings' declared here 1074 | class StaticStrings | ^~~~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': src/third_party/mozjs-45/extract/js/src/vm/Shape.h:392:25: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/Shape.h:323:7: note: 'class js::BaseShape' declared here 323 | class BaseShape : public gc::TenuredCell | ^~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:699:25: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:24: src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:686:8: note: 'struct js::jit::IonScriptCounts' declared here 686 | struct IonScriptCounts | ^~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:293:40: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jit/JitAllocPolicy.h:13, from src/third_party/mozjs-45/extract/js/src/jit/CompileInfo.h:12: src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:244:7: note: 'class js::NewObjectCache' declared here 244 | class NewObjectCache | ^~~~~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::Address]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:290:33: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::Address'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/Safepoints.h:12, from src/third_party/mozjs-45/extract/js/src/jit/JitFrames.h:16, from src/third_party/mozjs-45/extract/js/src/jit/CompileInfo.h:13: src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:282:8: note: 'struct js::jit::Address' declared here 282 | struct Address | ^~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::BaseIndex]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:306:35: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::BaseIndex'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:295:8: note: 'struct js::jit::BaseIndex' declared here 295 | struct BaseIndex | ^~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::CodeOffsetJump]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:513:25: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::jit::CodeOffsetJump'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:491:7: note: 'class js::jit::CodeOffsetJump' declared here 491 | class CodeOffsetJump | ^~~~~~~~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsapi.h:29: src/third_party/mozjs-45/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': src/third_party/mozjs-45/include/js/HashTable.h:186:67: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' src/third_party/mozjs-45/extract/js/src/vm/SPSProfiler.h:256:18: required from here src/third_party/mozjs-45/include/js/HashTable.h:1550:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] 1550 | memset(table, 0, sizeof(*table) * capacity()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/HashTable.h:722:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here 722 | class HashTableEntry | ^~~~~~~~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/third_party/mozjs-45/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': src/third_party/mozjs-45/include/js/HashTable.h:186:67: required from 'void js::HashMap::clear() [with Key = js::jit::MDefinition*; Value = js::jit::MDefinition*; HashPolicy = js::PointerHasher; AllocPolicy = js::SystemAllocPolicy]' src/third_party/mozjs-45/extract/js/src/jit/LoopUnroller.cpp:340:34: required from here src/third_party/mozjs-45/include/js/HashTable.h:1550:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] 1550 | memset(table, 0, sizeof(*table) * capacity()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/HashTable.h:722:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here 722 | class HashTableEntry | ^~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jit/JitAllocPolicy.h: In instantiation of 'T* js::jit::JitAllocPolicy::maybe_pod_calloc(size_t) [with T = js::detail::HashTableEntry >; size_t = long unsigned int]': src/third_party/mozjs-45/include/js/HashTable.h:1144:54: required from 'static js::detail::HashTable::Entry* js::detail::HashTable::createTable(AllocPolicy&, uint32_t, FailureBehavior) [with T = js::HashMapEntry; HashPolicy = js::HashMap::MapHashPolicy; AllocPolicy = js::jit::JitAllocPolicy; Entry = js::detail::HashTableEntry >; uint32_t = unsigned int]' src/third_party/mozjs-45/include/js/HashTable.h:1212:28: required from 'bool js::detail::HashTable::init(uint32_t) [with T = js::HashMapEntry; HashPolicy = js::HashMap::MapHashPolicy; AllocPolicy = js::jit::JitAllocPolicy; uint32_t = unsigned int]' src/third_party/mozjs-45/include/js/HashTable.h:79:73: required from 'bool js::HashMap::init(uint32_t) [with Key = JS::Value; Value = unsigned int; HashPolicy = js::jit::LIRGraph::ValueHasher; AllocPolicy = js::jit::JitAllocPolicy; uint32_t = unsigned int]' src/third_party/mozjs-45/extract/js/src/jit/LIR.h:1696:37: required from here src/third_party/mozjs-45/extract/js/src/jit/JitAllocPolicy.h:92:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::detail::HashTableEntry >' with no trivial copy-assignment [-Wclass-memaccess] 92 | memset(p, 0, numElems * sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/HashTable.h:722:7: note: 'class js::detail::HashTableEntry >' declared here 722 | class HashTableEntry | ^~~~~~~~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, unsigned int, mongo::StringMapTraits>': src/mongo/db/op_observer.h:310:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long unsigned int, mongo::StringMapTraits>': src/mongo/db/views/view_graph.h:177:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/db/views/view_catalog.h:174:13: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Collection*, mongo::StringMapTraits>': src/mongo/db/catalog/database.h:165:38: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Top::CollectionData, mongo::StringMapTraits>': src/mongo/db/stats/top.h:150:14: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call gcc -o build/fedora/third_party/timelib-2018.01alpha1/parse_iso_intervals.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -DHAVE_GETTIMEOFDAY -DHAVE_STRING_H -DHAVE_DIRENT_H -DHAVE_SYS_TIME_H -DHAVE_UNISTD_H -D_GNU_SOURCE -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/timelib-2018.01alpha1 src/third_party/timelib-2018.01alpha1/parse_iso_intervals.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C g++ -o build/fedora/mongo/db/pipeline/document_source_merge_cursors.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/pipeline/document_source_merge_cursors.cpp In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/bson/bsonobj.h:44, from src/mongo/bson/bsonobj_comparator_interface.h:32, from src/mongo/bson/simple_bsonobj_comparator.h:34, from src/mongo/db/pipeline/document_source.h:41, from src/mongo/db/pipeline/document_source_merge_cursors.h:31, from src/mongo/db/pipeline/document_source_merge_cursors.cpp:31: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/db/pipeline/document_source.h:44: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call gcc -o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_logbd.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -DUSE_COMPILER_F80_TYPE=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -Dlinux=1 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_logbd.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C g++ -o build/fedora/mongo/db/repl/sync_source_resolver.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/repl/sync_source_resolver.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/query_solution.h:36, from src/mongo/db/query/plan_executor.h:37, from src/mongo/db/clientcursor.h:38, from src/mongo/client/fetcher.h:41, from src/mongo/db/repl/sync_source_resolver.h:35, from src/mongo/db/repl/sync_source_resolver.cpp:33: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/bson/bsonobj.h:44, from src/mongo/client/fetcher.h:39: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36, from src/mongo/db/query/plan_cache.h:35, from src/mongo/db/query/query_solution.h:38: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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 g++ -o build/fedora/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src17.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -Wno-non-virtual-dtor -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -include js-confdefs.h -Wno-invalid-offsetof -fPIE -DIMPL_MFBT -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=1 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora/third_party/mozjs-45/extract/js/src -Isrc/third_party/mozjs-45/extract/js/src -Ibuild/fedora/third_party/mozjs-45/extract/mfbt -Isrc/third_party/mozjs-45/extract/mfbt -Ibuild/fedora/third_party/mozjs-45/extract/intl/icu/source/common -Isrc/third_party/mozjs-45/extract/intl/icu/source/common -Ibuild/fedora/third_party/mozjs-45/include -Isrc/third_party/mozjs-45/include -Ibuild/fedora/third_party/mozjs-45/mongo_sources -Isrc/third_party/mozjs-45/mongo_sources -Ibuild/fedora/third_party/mozjs-45/platform/x86_64/linux/build -Isrc/third_party/mozjs-45/platform/x86_64/linux/build -Ibuild/fedora/third_party/mozjs-45/platform/x86_64/linux/include -Isrc/third_party/mozjs-45/platform/x86_64/linux/include src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src17.cpp src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jit/SharedIC.h:10, from src/third_party/mozjs-45/extract/js/src/jit/SharedIC.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src17.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1040:19: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 1040 | memcpy(&elements_[dstStart], src, count * sizeof(HeapSlot)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:22: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here 650 | class HeapSlot : public WriteBarrieredBase | ^~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1048:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 1048 | memcpy(&elements_[dstStart], src, count * sizeof(HeapSlot)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here 650 | class HeapSlot : public WriteBarrieredBase | ^~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1082:20: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 1082 | memmove(elements_ + dstStart, elements_ + srcStart, count * sizeof(HeapSlot)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here 650 | class HeapSlot : public WriteBarrieredBase | ^~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1094:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 1094 | memmove(elements_ + dstStart, elements_ + srcStart, count * sizeof(Value)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here 650 | class HeapSlot : public WriteBarrieredBase | ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/Interpreter-inl.h:20, from src/third_party/mozjs-45/extract/js/src/jit/SharedIC.cpp:29: src/third_party/mozjs-45/extract/js/src/jsobjinlines.h: In static member function 'static JSObject* JSObject::create(js::ExclusiveContext*, js::gc::AllocKind, js::gc::InitialHeap, js::HandleShape, js::HandleObjectGroup)': src/third_party/mozjs-45/extract/js/src/jsobjinlines.h:355:15: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::HeapSlot'; use assignment instead [-Wclass-memaccess] 355 | memset(obj->as().fixedSlots(), 0, size - sizeof(js::NativeObject)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here 650 | class HeapSlot : public WriteBarrieredBase | ^~~~~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/TraceableVector.h:12, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:14: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': src/third_party/mozjs-45/include/js/MemoryMetrics.h:40:34: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/gc/StoreBuffer.h:18, from src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:13: src/third_party/mozjs-45/include/js/MemoryMetrics.h:31:8: note: 'struct JS::TabSizes' declared here 31 | struct TabSizes | ^~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::ServoSizes]': src/third_party/mozjs-45/include/js/MemoryMetrics.h:71:36: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::ServoSizes'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/MemoryMetrics.h:59:8: note: 'struct JS::ServoSizes' declared here 59 | struct ServoSizes | ^~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JSSubString]': src/third_party/mozjs-45/extract/js/src/jsstr.h:73:37: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JSSubString'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/TraceLoggingTypes.h:11, from src/third_party/mozjs-45/extract/js/src/vm/TraceLoggingGraph.h:15, from src/third_party/mozjs-45/extract/js/src/vm/TraceLogging.h:19, from src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:22, from src/third_party/mozjs-45/extract/js/src/jsscript.h:24: src/third_party/mozjs-45/extract/js/src/jsstr.h:68:8: note: 'struct JSSubString' declared here 68 | struct JSSubString { | ^~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::PreliminaryObjectArray]': src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:808:25: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::PreliminaryObjectArray'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:23: src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:796:7: note: 'class js::PreliminaryObjectArray' declared here 796 | class PreliminaryObjectArray | ^~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::TypeNewScript]': src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:939:39: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::TypeNewScript' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:886:7: note: 'class js::TypeNewScript' declared here 886 | class TypeNewScript | ^~~~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:699:25: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:686:8: note: 'struct js::jit::IonScriptCounts' declared here 686 | struct IonScriptCounts | ^~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': src/third_party/mozjs-45/extract/js/src/vm/String.h:1092:25: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/Shape.h:32, from src/third_party/mozjs-45/extract/js/src/jsobj.h:27, from src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:16: src/third_party/mozjs-45/extract/js/src/vm/String.h:1074:7: note: 'class js::StaticStrings' declared here 1074 | class StaticStrings | ^~~~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': src/third_party/mozjs-45/extract/js/src/vm/Shape.h:392:25: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/Shape.h:323:7: note: 'class js::BaseShape' declared here 323 | class BaseShape : public gc::TenuredCell | ^~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:293:40: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:244:7: note: 'class js::NewObjectCache' declared here 244 | class NewObjectCache | ^~~~~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::Address]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:290:33: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::Address'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/Safepoints.h:12, from src/third_party/mozjs-45/extract/js/src/jit/JitFrames.h:16, from src/third_party/mozjs-45/extract/js/src/jit/Bailouts.h:13, from src/third_party/mozjs-45/extract/js/src/jit/BaselineJIT.h:16, from src/third_party/mozjs-45/extract/js/src/jit/SharedIC.h:15: src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:282:8: note: 'struct js::jit::Address' declared here 282 | struct Address | ^~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::BaseIndex]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:306:35: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::BaseIndex'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:295:8: note: 'struct js::jit::BaseIndex' declared here 295 | struct BaseIndex | ^~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::CodeOffsetJump]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:513:25: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::jit::CodeOffsetJump'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:491:7: note: 'class js::jit::CodeOffsetJump' declared here 491 | class CodeOffsetJump | ^~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/include/js/TracingAPI.h:12, from src/third_party/mozjs-45/include/js/TraceableVector.h:13: src/third_party/mozjs-45/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': src/third_party/mozjs-45/include/js/HashTable.h:186:67: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' src/third_party/mozjs-45/extract/js/src/vm/SPSProfiler.h:256:18: required from here src/third_party/mozjs-45/include/js/HashTable.h:1550:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] 1550 | memset(table, 0, sizeof(*table) * capacity()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/HashTable.h:722:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here 722 | class HashTableEntry | ^~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/BitSet.h:12, from src/third_party/mozjs-45/extract/js/src/jit/Safepoints.h:10: src/third_party/mozjs-45/extract/js/src/jit/JitAllocPolicy.h: In instantiation of 'T* js::jit::JitAllocPolicy::maybe_pod_calloc(size_t) [with T = js::detail::HashTableEntry >; size_t = long unsigned int]': src/third_party/mozjs-45/include/js/HashTable.h:1144:54: required from 'static js::detail::HashTable::Entry* js::detail::HashTable::createTable(AllocPolicy&, uint32_t, FailureBehavior) [with T = js::HashMapEntry; HashPolicy = js::HashMap::MapHashPolicy; AllocPolicy = js::jit::JitAllocPolicy; Entry = js::detail::HashTableEntry >; uint32_t = unsigned int]' src/third_party/mozjs-45/include/js/HashTable.h:1212:28: required from 'bool js::detail::HashTable::init(uint32_t) [with T = js::HashMapEntry; HashPolicy = js::HashMap::MapHashPolicy; AllocPolicy = js::jit::JitAllocPolicy; uint32_t = unsigned int]' src/third_party/mozjs-45/include/js/HashTable.h:79:73: required from 'bool js::HashMap::init(uint32_t) [with Key = JS::Value; Value = unsigned int; HashPolicy = js::jit::LIRGraph::ValueHasher; AllocPolicy = js::jit::JitAllocPolicy; uint32_t = unsigned int]' src/third_party/mozjs-45/extract/js/src/jit/LIR.h:1696:37: required from here src/third_party/mozjs-45/extract/js/src/jit/JitAllocPolicy.h:92:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::detail::HashTableEntry >' with no trivial copy-assignment [-Wclass-memaccess] 92 | memset(p, 0, numElems * sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/HashTable.h:722:7: note: 'class js::detail::HashTableEntry >' declared here 722 | class HashTableEntry | ^~~~~~~~~~~~~~ gcc -o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid_round.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -DUSE_COMPILER_F80_TYPE=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -Dlinux=1 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid_round.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C g++ -o build/fedora/mongo/db/fts/fts_query_parser.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/fts/fts_query_parser.cpp g++ -o build/fedora/mongo/base/error_extra_info.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/base/error_extra_info.cpp gcc -o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_sqrt.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -DUSE_COMPILER_F80_TYPE=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -Dlinux=1 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_sqrt.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C g++ -o build/fedora/mongo/db/pipeline/document_source_limit.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/pipeline/document_source_limit.cpp In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted&>(JSContext* const&, JS::Handle&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::jit::ConvertObjectToStringForConcat(JSContext*, JS::Handle)' at src/third_party/mozjs-45/extract/js/src/jit/SharedIC.cpp:1217:34: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'rootedObj' in 'MEM[(struct Rooted * *)cx_35(D) + 104B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jit/SharedIC.cpp: In function 'js::jit::ConvertObjectToStringForConcat(JSContext*, JS::Handle)': src/third_party/mozjs-45/extract/js/src/jit/SharedIC.cpp:1217:17: note: 'rootedObj' declared here 1217 | RootedValue rootedObj(cx, obj); | ^~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jit/SharedIC.cpp:1217:17: note: 'cx_35(D)' declared here In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/bson/bsonobj.h:44, from src/mongo/bson/bsonobj_comparator_interface.h:32, from src/mongo/bson/simple_bsonobj_comparator.h:34, from src/mongo/db/pipeline/document_source.h:41, from src/mongo/db/pipeline/document_source_limit.h:31, from src/mongo/db/pipeline/document_source_limit.cpp:31: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/db/pipeline/document_source.h:44: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted&>(JSContext* const&, JS::Handle&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::jit::CheckHasNoSuchProperty(JSContext*, JS::Handle, JS::Handle, JS::MutableHandle, unsigned long*)' at src/third_party/mozjs-45/extract/js/src/jit/SharedIC.cpp:2907:32: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'curObj' in 'MEM[(struct Rooted * *)cx_88(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jit/SharedIC.cpp: In function 'js::jit::CheckHasNoSuchProperty(JSContext*, JS::Handle, JS::Handle, JS::MutableHandle, unsigned long*)': src/third_party/mozjs-45/extract/js/src/jit/SharedIC.cpp:2907:18: note: 'curObj' declared here 2907 | RootedObject curObj(cx, obj); | ^~~~~~ src/third_party/mozjs-45/extract/js/src/jit/SharedIC.cpp:2907:18: note: 'cx_88(D)' declared here In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call g++ -o build/fedora/mongo/db/pipeline/document_source_unwind.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/pipeline/document_source_unwind.cpp In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted&>(JSContext* const&, JS::Handle&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::jit::DoCompareFallback(JSContext*, js::jit::BaselineFrame*, js::jit::ICCompare_Fallback*, JS::Handle, JS::Handle, JS::MutableHandle)' at src/third_party/mozjs-45/extract/js/src/jit/SharedIC.cpp:1642:32: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'rhsCopy' in 'MEM[(struct Rooted * *)cx_538(D) + 104B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jit/SharedIC.cpp: In function 'js::jit::DoCompareFallback(JSContext*, js::jit::BaselineFrame*, js::jit::ICCompare_Fallback*, JS::Handle, JS::Handle, JS::MutableHandle)': src/third_party/mozjs-45/extract/js/src/jit/SharedIC.cpp:1642:17: note: 'rhsCopy' declared here 1642 | RootedValue rhsCopy(cx, rhs); | ^~~~~~~ src/third_party/mozjs-45/extract/js/src/jit/SharedIC.cpp:1642:17: note: 'cx_538(D)' declared here In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/bson/bsonobj.h:44, from src/mongo/bson/bsonobj_comparator_interface.h:32, from src/mongo/bson/simple_bsonobj_comparator.h:34, from src/mongo/db/pipeline/document_source.h:41, from src/mongo/db/pipeline/document_source_unwind.h:31, from src/mongo/db/pipeline/document_source_unwind.cpp:31: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::PropertyName*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::jit::DoGetPropFallback(JSContext*, js::jit::BaselineFrame*, js::jit::ICGetProp_Fallback*, JS::MutableHandle, JS::MutableHandle)' at src/third_party/mozjs-45/extract/js/src/jit/SharedIC.cpp:3044:52: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'name' in 'MEM[(struct Rooted * *)cx_380(D) + 56B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jit/SharedIC.cpp: In function 'js::jit::DoGetPropFallback(JSContext*, js::jit::BaselineFrame*, js::jit::ICGetProp_Fallback*, JS::MutableHandle, JS::MutableHandle)': src/third_party/mozjs-45/extract/js/src/jit/SharedIC.cpp:3044:24: note: 'name' declared here 3044 | RootedPropertyName name(cx, script->getName(pc)); | ^~~~ src/third_party/mozjs-45/extract/js/src/jit/SharedIC.cpp:3044:24: note: 'cx_380(D)' declared here In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/db/pipeline/document_source.h:44: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call g++ -o build/fedora/third_party/icu4c-57.1/source/common/ucnv2022.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/ucnv2022.cpp In file included from src/third_party/icu4c-57.1/source/common/ucnv2022.cpp:42: src/third_party/icu4c-57.1/source/common/ucnv2022.cpp: In function '_ISO2022Open(UConverter*, UConverterLoadArgs*, UErrorCode*)': src/third_party/icu4c-57.1/source/common/cstring.h:57:70: warning: 'strncpy' specified bound 6 equals destination size [-Wstringop-truncation] 57 | #define uprv_strncpy(dst, src, size) U_STANDARD_CPP_NAMESPACE strncpy(dst, src, size) | ^ gcc -o build/fedora/third_party/icu4c-57.1/source/common/ubidi.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/ubidi.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C g++ -o build/fedora/mongo/db/pipeline/mongo_process_common.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/pipeline/mongo_process_common.cpp g++ -o build/fedora/mongo/db/auth/security_key.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/auth/security_key.cpp In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/bson/bsonobj.h:44, from src/mongo/db/pipeline/mongo_process_common.h:33, from src/mongo/db/pipeline/mongo_process_common.cpp:31: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/mongo_process_interface.h:42, from src/mongo/db/pipeline/mongo_process_common.h:34: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ g++ -o build/fedora/mongo/db/storage/mmap_v1/touch_pages.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/storage/mmap_v1/touch_pages.cpp g++ -o build/fedora/third_party/icu4c-57.1/source/i18n/smpdtfst.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/smpdtfst.cpp g++ -o build/fedora/mongo/util/signal_win32.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/asio-master/asio/include -Ibuild/fedora -Isrc src/mongo/util/signal_win32.cpp g++ -o build/fedora/third_party/icu4c-57.1/source/i18n/rbt_pars.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/rbt_pars.cpp g++ -o build/fedora/mongo/util/dns_query.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/asio-master/asio/include -Ibuild/fedora -Isrc src/mongo/util/dns_query.cpp gcc -o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_modf.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -DUSE_COMPILER_F80_TYPE=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -Dlinux=1 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_modf.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C g++ -o build/fedora/mongo/util/password_digest.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/asio-master/asio/include -Ibuild/fedora -Isrc src/mongo/util/password_digest.cpp ar rcsTD build/fedora/mongo/util/libmd5.a build/fedora/mongo/util/md5.o build/fedora/mongo/util/password_digest.o Skipping ranlib for thin archive build/fedora/mongo/util/libmd5.a gcc -o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_add.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -DUSE_COMPILER_F80_TYPE=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -Dlinux=1 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_add.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C g++ -o build/fedora/mongo/s/write_ops/batched_command_request.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/s/write_ops/batched_command_request.cpp g++ -o build/fedora/mongo/db/storage/mmap_v1/record_store_v1_base.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/storage/mmap_v1/record_store_v1_base.cpp In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/db/storage/mmap_v1/diskloc.h:40, from src/mongo/db/storage/mmap_v1/record_store_v1_base.h:34, from src/mongo/db/storage/mmap_v1/record_store_v1_base.cpp:35: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/plan_cache.h:35, from src/mongo/db/catalog/collection_info_cache.h:33, from src/mongo/db/catalog/collection.h:41, from src/mongo/db/storage/mmap_v1/record_store_v1_base.cpp:38: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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 g++ -o build/fedora/mongo/db/storage/mmap_v1/record_store_v1_simple.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/storage/mmap_v1/record_store_v1_simple.cpp src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/db/catalog/collection_options.h:36, from src/mongo/db/storage/mmap_v1/record_store_v1_simple.h:33, from src/mongo/db/storage/mmap_v1/record_store_v1_simple.cpp:35: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/plan_cache.h:35, from src/mongo/db/catalog/collection_info_cache.h:33, from src/mongo/db/catalog/collection.h:41, from src/mongo/db/storage/mmap_v1/record_store_v1_simple.cpp:38: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, unsigned int, mongo::StringMapTraits>': src/mongo/db/op_observer.h:310:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ 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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ 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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, unsigned int, mongo::StringMapTraits>': src/mongo/db/op_observer.h:310:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call In file included from /usr/include/string.h:535, from /usr/include/c++/12/cstring:42, from /usr/include/boost/container_hash/detail/hash_float.hpp:21, from /usr/include/boost/container_hash/hash.hpp:22, from /usr/include/boost/functional/hash.hpp:6, from src/mongo/db/storage/mmap_v1/diskloc.h:37: In function 'memcpy', inlined from 'mongo::StringData::copyTo(char*, bool) const' at src/mongo/base/string_data.h:266:15, inlined from 'mongo::StringBuilderImpl::append(mongo::StringData)' at src/mongo/bson/util/builder.h:484:19, inlined from 'mongo::StringBuilderImpl::appendIntegral(int, int)mongo::StringBuilderImpl&' at src/mongo/bson/util/builder.h:518:19, inlined from 'mongo::StringBuilderImpl::appendIntegral(int, int)mongo::StringBuilderImpl&' at src/mongo/bson/util/builder.h:512:24, inlined from 'mongo::StringBuilderImpl::operator<<(int)' at src/mongo/bson/util/builder.h:402:30, inlined from 'mongo::BSONObjBuilder::numStr[abi:cxx11](int)' at src/mongo/bson/bsonobjbuilder.h:719:14: /usr/include/bits/string_fortified.h:29:33: warning: 'memcpy' offset [0, 511] is out of the bounds [0, 0] [-Warray-bounds] 29 | return __builtin___memcpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 30 | __glibc_objsize0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -o build/fedora/mongo/db/storage/mmap_v1/record_store_v1_simple_iterator.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/storage/mmap_v1/record_store_v1_simple_iterator.cpp g++ -o build/fedora/mongo/db/storage/mmap_v1/record_store_v1_repair_iterator.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/storage/mmap_v1/record_store_v1_repair_iterator.cpp In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/db/storage/mmap_v1/diskloc.h:40, from src/mongo/db/storage/mmap_v1/record_store_v1_simple_iterator.h:31, from src/mongo/db/storage/mmap_v1/record_store_v1_simple_iterator.cpp:29: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/plan_cache.h:35, from src/mongo/db/catalog/collection_info_cache.h:33, from src/mongo/db/catalog/collection.h:41, from src/mongo/db/storage/mmap_v1/record_store_v1_simple_iterator.cpp:31: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/db/storage/mmap_v1/diskloc.h:40, from src/mongo/db/storage/mmap_v1/record_store_v1_base.h:34, from src/mongo/db/storage/mmap_v1/record_store_v1_repair_iterator.h:33, from src/mongo/db/storage/mmap_v1/record_store_v1_repair_iterator.cpp:31: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ 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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/plan_cache.h:35, from src/mongo/db/catalog/collection_info_cache.h:33, from src/mongo/db/catalog/collection.h:41, from src/mongo/db/storage/mmap_v1/record_store_v1_repair_iterator.cpp:33: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, unsigned int, mongo::StringMapTraits>': src/mongo/db/op_observer.h:310:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, unsigned int, mongo::StringMapTraits>': src/mongo/db/op_observer.h:310:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call gcc -o build/fedora/third_party/icu4c-57.1/source/common/ucnv_ct.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/ucnv_ct.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C g++ -o build/fedora/mongo/db/auth/user_management_commands_parser.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/auth/user_management_commands_parser.cpp ar rcsTD build/fedora/mongo/db/storage/mmap_v1/librecord_store_v1.a build/fedora/mongo/db/storage/mmap_v1/record_store_v1_base.o build/fedora/mongo/db/storage/mmap_v1/record_store_v1_capped.o build/fedora/mongo/db/storage/mmap_v1/record_store_v1_capped_iterator.o build/fedora/mongo/db/storage/mmap_v1/record_store_v1_repair_iterator.o build/fedora/mongo/db/storage/mmap_v1/record_store_v1_simple.o build/fedora/mongo/db/storage/mmap_v1/record_store_v1_simple_iterator.o build/fedora/mongo/db/storage/mmap_v1/touch_pages.o Skipping ranlib for thin archive build/fedora/mongo/db/storage/mmap_v1/librecord_store_v1.a g++ -o build/fedora/mongo/db/auth/resource_pattern.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/auth/resource_pattern.cpp g++ -o build/fedora/mongo/db/auth/privilege.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/auth/privilege.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/db/auth/user_management_commands_parser.cpp:47: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/db/server_options.h:30, from src/mongo/base/secure_allocator.h:40, from src/mongo/db/auth/authorization_manager.h:35, from src/mongo/db/auth/user_management_commands_parser.h:37, from src/mongo/db/auth/user_management_commands_parser.cpp:31: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/third_party/icu4c-57.1/source/common/uscript_props.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/uscript_props.cpp g++ -o build/fedora/third_party/icu4c-57.1/source/common/umutex.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/umutex.cpp g++ -o build/fedora/mongo/crypto/sha_block_openssl.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/crypto/sha_block_openssl.cpp In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call gcc -o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_llrintd.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -DUSE_COMPILER_F80_TYPE=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -Dlinux=1 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_llrintd.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C g++ -o build/fedora/mongo/db/repl/task_runner.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/repl/task_runner.cpp ar rcsTD build/fedora/mongo/db/auth/libauthprivilege.a build/fedora/mongo/db/auth/action_set.o build/fedora/mongo/db/auth/action_type.o build/fedora/mongo/db/auth/impersonation_session.o build/fedora/mongo/db/auth/privilege.o build/fedora/mongo/db/auth/privilege_parser.o build/fedora/mongo/db/auth/resource_pattern.o build/fedora/mongo/db/auth/user_management_commands_parser.o Skipping ranlib for thin archive build/fedora/mongo/db/auth/libauthprivilege.a g++ -o build/fedora/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src5.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -Wno-non-virtual-dtor -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -include js-confdefs.h -Wno-invalid-offsetof -fPIE -DIMPL_MFBT -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=1 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora/third_party/mozjs-45/extract/js/src -Isrc/third_party/mozjs-45/extract/js/src -Ibuild/fedora/third_party/mozjs-45/extract/mfbt -Isrc/third_party/mozjs-45/extract/mfbt -Ibuild/fedora/third_party/mozjs-45/extract/intl/icu/source/common -Isrc/third_party/mozjs-45/extract/intl/icu/source/common -Ibuild/fedora/third_party/mozjs-45/include -Isrc/third_party/mozjs-45/include -Ibuild/fedora/third_party/mozjs-45/mongo_sources -Isrc/third_party/mozjs-45/mongo_sources -Ibuild/fedora/third_party/mozjs-45/platform/x86_64/linux/build -Isrc/third_party/mozjs-45/platform/x86_64/linux/build -Ibuild/fedora/third_party/mozjs-45/platform/x86_64/linux/include -Isrc/third_party/mozjs-45/platform/x86_64/linux/include src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src5.cpp ar rcsTD build/fedora/mongo/db/repl/libtask_runner.a build/fedora/mongo/db/repl/task_runner.o Skipping ranlib for thin archive build/fedora/mongo/db/repl/libtask_runner.a g++ -o build/fedora/mongo/s/query/router_stage_skip.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/s/query/router_stage_skip.cpp In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/frontend/TokenStream.h:23, from src/third_party/mozjs-45/extract/js/src/frontend/ParseNode.h:12, from src/third_party/mozjs-45/extract/js/src/frontend/ParseNode-inl.h:10, from src/third_party/mozjs-45/extract/js/src/frontend/ParseNode.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src5.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1040:19: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 1040 | memcpy(&elements_[dstStart], src, count * sizeof(HeapSlot)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:22: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here 650 | class HeapSlot : public WriteBarrieredBase | ^~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1048:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 1048 | memcpy(&elements_[dstStart], src, count * sizeof(HeapSlot)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here 650 | class HeapSlot : public WriteBarrieredBase | ^~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1082:20: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 1082 | memmove(elements_ + dstStart, elements_ + srcStart, count * sizeof(HeapSlot)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here 650 | class HeapSlot : public WriteBarrieredBase | ^~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1094:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 1094 | memmove(elements_ + dstStart, elements_ + srcStart, count * sizeof(Value)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here 650 | class HeapSlot : public WriteBarrieredBase | ^~~~~~~~ g++ -o build/fedora/third_party/icu4c-57.1/source/common/uobject.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/uobject.cpp In file included from src/third_party/mozjs-45/extract/js/src/gc/Allocator.cpp:18, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src5.cpp:20: src/third_party/mozjs-45/extract/js/src/jsobjinlines.h: In static member function 'static JSObject* JSObject::create(js::ExclusiveContext*, js::gc::AllocKind, js::gc::InitialHeap, js::HandleShape, js::HandleObjectGroup)': src/third_party/mozjs-45/extract/js/src/jsobjinlines.h:355:15: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::HeapSlot'; use assignment instead [-Wclass-memaccess] 355 | memset(obj->as().fixedSlots(), 0, size - sizeof(js::NativeObject)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -o build/fedora/mongo/db/pipeline/document_source_count.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/pipeline/document_source_count.cpp src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here 650 | class HeapSlot : public WriteBarrieredBase | ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/frontend/TokenStream.h:16: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': src/third_party/mozjs-45/include/js/MemoryMetrics.h:40:34: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/gc/StoreBuffer.h:18, from src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:13: src/third_party/mozjs-45/include/js/MemoryMetrics.h:31:8: note: 'struct JS::TabSizes' declared here 31 | struct TabSizes | ^~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::ServoSizes]': src/third_party/mozjs-45/include/js/MemoryMetrics.h:71:36: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::ServoSizes'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/MemoryMetrics.h:59:8: note: 'struct JS::ServoSizes' declared here 59 | struct ServoSizes | ^~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JSSubString]': src/third_party/mozjs-45/extract/js/src/jsstr.h:73:37: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JSSubString'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/TraceLoggingTypes.h:11, from src/third_party/mozjs-45/extract/js/src/vm/TraceLoggingGraph.h:15, from src/third_party/mozjs-45/extract/js/src/vm/TraceLogging.h:19, from src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:22, from src/third_party/mozjs-45/extract/js/src/jsscript.h:24: src/third_party/mozjs-45/extract/js/src/jsstr.h:68:8: note: 'struct JSSubString' declared here 68 | struct JSSubString { | ^~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::PreliminaryObjectArray]': src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:808:25: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::PreliminaryObjectArray'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:23: src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:796:7: note: 'class js::PreliminaryObjectArray' declared here 796 | class PreliminaryObjectArray | ^~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::TypeNewScript]': src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:939:39: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::TypeNewScript' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:886:7: note: 'class js::TypeNewScript' declared here 886 | class TypeNewScript | ^~~~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:699:25: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:686:8: note: 'struct js::jit::IonScriptCounts' declared here 686 | struct IonScriptCounts | ^~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': src/third_party/mozjs-45/extract/js/src/vm/String.h:1092:25: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/Shape.h:32, from src/third_party/mozjs-45/extract/js/src/jsobj.h:27, from src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:16: src/third_party/mozjs-45/extract/js/src/vm/String.h:1074:7: note: 'class js::StaticStrings' declared here 1074 | class StaticStrings | ^~~~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': src/third_party/mozjs-45/extract/js/src/vm/Shape.h:392:25: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/Shape.h:323:7: note: 'class js::BaseShape' declared here 323 | class BaseShape : public gc::TenuredCell | ^~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:293:40: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:244:7: note: 'class js::NewObjectCache' declared here 244 | class NewObjectCache | ^~~~~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::Address]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:290:33: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::Address'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/Safepoints.h:12, from src/third_party/mozjs-45/extract/js/src/jit/JitFrames.h:16, from src/third_party/mozjs-45/extract/js/src/jscntxtinlines.h:16, from src/third_party/mozjs-45/extract/js/src/frontend/ParseNode.cpp:11: src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:282:8: note: 'struct js::jit::Address' declared here 282 | struct Address | ^~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::BaseIndex]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:306:35: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::BaseIndex'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:295:8: note: 'struct js::jit::BaseIndex' declared here 295 | struct BaseIndex | ^~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::CodeOffsetJump]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:513:25: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::jit::CodeOffsetJump'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:491:7: note: 'class js::jit::CodeOffsetJump' declared here 491 | class CodeOffsetJump | ^~~~~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JSErrorReport]': src/third_party/mozjs-45/extract/js/src/frontend/TokenStream.cpp:602:12: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class JSErrorReport'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsfriendapi.h:15, from src/third_party/mozjs-45/extract/js/src/gc/Heap.h:20, from src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:12: src/third_party/mozjs-45/extract/js/src/jsapi.h:4761:7: note: 'class JSErrorReport' declared here 4761 | class JSErrorReport | ^~~~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::gc::TenureCountCache]': src/third_party/mozjs-45/extract/js/src/gc/GCInternals.h:211:42: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::gc::TenureCountCache'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/gc/Allocator.cpp:11: src/third_party/mozjs-45/extract/js/src/gc/GCInternals.h:207:8: note: 'struct js::gc::TenureCountCache' declared here 207 | struct TenureCountCache | ^~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/include/js/TracingAPI.h:12, from src/third_party/mozjs-45/include/js/TraceableVector.h:13, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:14: src/third_party/mozjs-45/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': src/third_party/mozjs-45/include/js/HashTable.h:186:67: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' src/third_party/mozjs-45/extract/js/src/vm/SPSProfiler.h:256:18: required from here src/third_party/mozjs-45/include/js/HashTable.h:1550:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] 1550 | memset(table, 0, sizeof(*table) * capacity()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/HashTable.h:722:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here 722 | class HashTableEntry | ^~~~~~~~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/bson/bsonobj.h:44, from src/mongo/bson/bsonobj_comparator_interface.h:32, from src/mongo/bson/simple_bsonobj_comparator.h:34, from src/mongo/db/pipeline/document_source.h:41, from src/mongo/db/pipeline/document_source_count.h:31, from src/mongo/db/pipeline/document_source_count.cpp:31: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/db/pipeline/document_source.h:44: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ gcc -o build/fedora/third_party/timelib-2018.01alpha1/timelib.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -DHAVE_GETTIMEOFDAY -DHAVE_STRING_H -DHAVE_DIRENT_H -DHAVE_SYS_TIME_H -DHAVE_UNISTD_H -D_GNU_SOURCE -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/timelib-2018.01alpha1 src/third_party/timelib-2018.01alpha1/timelib.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C g++ -o build/fedora/third_party/icu4c-57.1/source/common/ucasemap_titlecase_brkiter.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/ucasemap_titlecase_brkiter.cpp g++ -o build/fedora/third_party/icu4c-57.1/source/common/ucharstriebuilder.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/ucharstriebuilder.cpp In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call g++ -o build/fedora/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src35.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -Wno-non-virtual-dtor -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -include js-confdefs.h -Wno-invalid-offsetof -fPIE -DIMPL_MFBT -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=1 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora/third_party/mozjs-45/extract/js/src -Isrc/third_party/mozjs-45/extract/js/src -Ibuild/fedora/third_party/mozjs-45/extract/mfbt -Isrc/third_party/mozjs-45/extract/mfbt -Ibuild/fedora/third_party/mozjs-45/extract/intl/icu/source/common -Isrc/third_party/mozjs-45/extract/intl/icu/source/common -Ibuild/fedora/third_party/mozjs-45/include -Isrc/third_party/mozjs-45/include -Ibuild/fedora/third_party/mozjs-45/mongo_sources -Isrc/third_party/mozjs-45/mongo_sources -Ibuild/fedora/third_party/mozjs-45/platform/x86_64/linux/build -Isrc/third_party/mozjs-45/platform/x86_64/linux/build -Ibuild/fedora/third_party/mozjs-45/platform/x86_64/linux/include -Isrc/third_party/mozjs-45/platform/x86_64/linux/include src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src35.cpp In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/vm/ArrayBufferObject.h:14, from src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.h:16, from src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src35.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1040:19: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 1040 | memcpy(&elements_[dstStart], src, count * sizeof(HeapSlot)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsobj.h:21, from src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.h:12: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here 650 | class HeapSlot : public WriteBarrieredBase | ^~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1048:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 1048 | memcpy(&elements_[dstStart], src, count * sizeof(HeapSlot)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here 650 | class HeapSlot : public WriteBarrieredBase | ^~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1082:20: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 1082 | memmove(elements_ + dstStart, elements_ + srcStart, count * sizeof(HeapSlot)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here 650 | class HeapSlot : public WriteBarrieredBase | ^~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1094:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 1094 | memmove(elements_ + dstStart, elements_ + srcStart, count * sizeof(Value)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here 650 | class HeapSlot : public WriteBarrieredBase | ^~~~~~~~ g++ -o build/fedora/mongo/db/matcher/expression_text.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/matcher/expression_text.cpp In file included from src/third_party/mozjs-45/extract/js/src/vm/NativeObject-inl.h:19, from src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:44: src/third_party/mozjs-45/extract/js/src/jsobjinlines.h: In static member function 'static JSObject* JSObject::create(js::ExclusiveContext*, js::gc::AllocKind, js::gc::InitialHeap, js::HandleShape, js::HandleObjectGroup)': src/third_party/mozjs-45/extract/js/src/jsobjinlines.h:355:15: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::HeapSlot'; use assignment instead [-Wclass-memaccess] 355 | memset(obj->as().fixedSlots(), 0, size - sizeof(js::NativeObject)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here 650 | class HeapSlot : public WriteBarrieredBase | ^~~~~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/matcher/expression_leaf.h:34, from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/expression_text.h:34, from src/mongo/db/matcher/expression_text.cpp:33: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/db/fts/fts_util.h:35, from src/mongo/db/fts/fts_query.h:33, from src/mongo/db/fts/fts_query_impl.h:37, from src/mongo/db/matcher/expression_text.h:33: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/CallArgs.h:38, from src/third_party/mozjs-45/include/js/CallNonGenericMethod.h:12, from src/third_party/mozjs-45/extract/js/src/NamespaceImports.h:15, from src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:10: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': src/third_party/mozjs-45/include/js/MemoryMetrics.h:40:34: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/gc/StoreBuffer.h:18, from src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:13: src/third_party/mozjs-45/include/js/MemoryMetrics.h:31:8: note: 'struct JS::TabSizes' declared here 31 | struct TabSizes | ^~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::ServoSizes]': src/third_party/mozjs-45/include/js/MemoryMetrics.h:71:36: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::ServoSizes'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/MemoryMetrics.h:59:8: note: 'struct JS::ServoSizes' declared here 59 | struct ServoSizes | ^~~~~~~~~~ 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::PreliminaryObjectArray]': src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:808:25: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::PreliminaryObjectArray'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/ObjectGroup.h:16, from src/third_party/mozjs-45/extract/js/src/vm/Shape.h:31, from src/third_party/mozjs-45/extract/js/src/jsobj.h:27: src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:796:7: note: 'class js::PreliminaryObjectArray' declared here 796 | class PreliminaryObjectArray | ^~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::TypeNewScript]': src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:939:39: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::TypeNewScript' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ 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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:886:7: note: 'class js::TypeNewScript' declared here 886 | class TypeNewScript | ^~~~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JSSubString]': src/third_party/mozjs-45/extract/js/src/jsstr.h:73:37: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JSSubString'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/String.h:16, from src/third_party/mozjs-45/extract/js/src/vm/Shape.h:32: src/third_party/mozjs-45/extract/js/src/jsstr.h:68:8: note: 'struct JSSubString' declared here 68 | struct JSSubString { | ^~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': src/third_party/mozjs-45/extract/js/src/vm/String.h:1092:25: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/String.h:1074:7: note: 'class js::StaticStrings' declared here 1074 | class StaticStrings | ^~~~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': src/third_party/mozjs-45/extract/js/src/vm/Shape.h:392:25: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ 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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/third_party/mozjs-45/extract/js/src/vm/Shape.h:323:7: note: 'class js::BaseShape' declared here 323 | class BaseShape : public gc::TenuredCell | ^~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:699:25: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ 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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:24: src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:686:8: note: 'struct js::jit::IonScriptCounts' declared here 686 | struct IonScriptCounts | ^~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:293:40: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ 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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:244:7: note: 'class js::NewObjectCache' declared here 244 | class NewObjectCache | ^~~~~~~~~~~~~~ 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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::Address]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:290:33: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::Address'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/Safepoints.h:12, from src/third_party/mozjs-45/extract/js/src/jit/JitFrames.h:16, from src/third_party/mozjs-45/extract/js/src/jscntxtinlines.h:16, from src/third_party/mozjs-45/extract/js/src/jscompartmentinlines.h:14, from src/third_party/mozjs-45/extract/js/src/jsobjinlines.h:29: src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:282:8: note: 'struct js::jit::Address' declared here 282 | struct Address | ^~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::BaseIndex]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:306:35: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::BaseIndex'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:295:8: note: 'struct js::jit::BaseIndex' declared here 295 | struct BaseIndex | ^~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::CodeOffsetJump]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:513:25: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::jit::CodeOffsetJump'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:491:7: note: 'class js::jit::CodeOffsetJump' declared here 491 | class CodeOffsetJump | ^~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/include/js/TracingAPI.h:12, from src/third_party/mozjs-45/include/js/TraceableVector.h:13, from src/third_party/mozjs-45/extract/js/src/NamespaceImports.h:16: src/third_party/mozjs-45/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': src/third_party/mozjs-45/include/js/HashTable.h:186:67: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' src/third_party/mozjs-45/extract/js/src/vm/SPSProfiler.h:256:18: required from here src/third_party/mozjs-45/include/js/HashTable.h:1550:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] 1550 | memset(table, 0, sizeof(*table) * capacity()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/HashTable.h:722:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here 722 | class HashTableEntry | ^~~~~~~~~~~~~~ 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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38, from src/mongo/db/query/plan_cache.h:35, from src/mongo/db/catalog/collection_info_cache.h:33, from src/mongo/db/catalog/collection.h:41, from src/mongo/db/matcher/expression_text.cpp:35: 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: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::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::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::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/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:38: src/third_party/mozjs-45/extract/js/src/vm/TypedArrayCommon.h: In instantiation of 'static void js::UnsharedOps::memmove(SharedMem, SharedMem, size_t) [with T = js::uint8_clamped; size_t = long unsigned int]': src/third_party/mozjs-45/extract/js/src/vm/TypedArrayCommon.h:362:25: required from 'static bool js::ElementSpecific::setFromOverlappingTypedArray(JSContext*, JS::Handle, JS::Handle, uint32_t) [with SpecificArray = {anonymous}::TypedArrayObjectTemplate; Ops = js::UnsharedOps; typename SpecificArray::SomeTypedArray = js::TypedArrayObject; uint32_t = unsigned int]' src/third_party/mozjs-45/extract/js/src/vm/TypedArrayCommon.h:208:52: required from 'static bool js::ElementSpecific::setFromAnyTypedArray(JSContext*, JS::Handle, JS::HandleObject, uint32_t) [with SpecificArray = {anonymous}::TypedArrayObjectTemplate; Ops = js::UnsharedOps; typename SpecificArray::SomeTypedArray = js::TypedArrayObject; JS::HandleObject = JS::Handle; uint32_t = unsigned int]' src/third_party/mozjs-45/extract/js/src/vm/TypedArrayCommon.h:813:94: required from 'static bool js::TypedArrayMethods::setFromAnyTypedArray(JSContext*, JS::Handle, JS::HandleObject, uint32_t) [with SomeTypedArray = js::TypedArrayObject; JS::HandleObject = JS::Handle; uint32_t = unsigned int]' src/third_party/mozjs-45/extract/js/src/vm/TypedArrayCommon.h:735:38: required from 'static bool js::TypedArrayMethods::set(JSContext*, const JS::CallArgs&) [with SomeTypedArray = js::TypedArrayObject]' src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:841:74: required from here src/third_party/mozjs-45/extract/js/src/vm/TypedArrayCommon.h:174:18: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'struct js::uint8_clamped' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 174 | ::memmove(dest.unwrapUnshared(), src.unwrapUnshared(), size); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/ArrayBufferObject.h:414:8: note: 'struct js::uint8_clamped' declared here 414 | struct uint8_clamped { | ^~~~~~~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, unsigned int, mongo::StringMapTraits>': src/mongo/db/op_observer.h:310:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long unsigned int, mongo::StringMapTraits>': src/mongo/db/views/view_graph.h:177:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/db/views/view_catalog.h:174:13: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Collection*, mongo::StringMapTraits>': src/mongo/db/catalog/database.h:165:38: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Top::CollectionData, mongo::StringMapTraits>': src/mongo/db/stats/top.h:150:14: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, bool, mongo::StringMapTraits>': src/mongo/db/fts/stop_words.h:62:21: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = bool; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = bool; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = bool; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = bool; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/db/matcher/expression_text.cpp: In member function 'virtual std::unique_ptr mongo::TextMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_text.cpp:112:21: warning: redundant move in return statement [-Wredundant-move] 112 | return std::move(expr); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_text.cpp:112:21: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSFunction*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'FinishTypedArrayInit(JSContext*, JS::Handle, JS::Handle)' at src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:763:82: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'fun' in 'MEM[(struct Rooted * *)cx_108(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp: In function 'FinishTypedArrayInit(JSContext*, JS::Handle, JS::Handle)': src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:763:20: note: 'fun' declared here 763 | RootedFunction fun(cx, GetSelfHostedFunction(cx, "TypedArrayValues", name, 0)); | ^~~ src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:763:20: note: 'cx_108(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from '(anonymous namespace)::TypedArrayObjectTemplate::createPrototype(JSContext*, JSProtoKey)' at src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:215:22: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'typedArrayProto' in 'MEM[(struct Rooted * *)cx_32(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp: In function '(anonymous namespace)::TypedArrayObjectTemplate::createPrototype(JSContext*, JSProtoKey)': src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:215:22: note: 'typedArrayProto' declared here 215 | RootedObject typedArrayProto(cx, GlobalObject::getOrCreateTypedArrayPrototype(cx, global)); | ^~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:215:22: note: 'cx_32(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSFunction*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from '(anonymous namespace)::TypedArrayObjectTemplate::createConstructor(JSContext*, JSProtoKey)' at src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:227:24: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'ctorProto' in 'MEM[(struct Rooted * *)cx_49(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp: In function '(anonymous namespace)::TypedArrayObjectTemplate::createConstructor(JSContext*, JSProtoKey)': src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:227:24: note: 'ctorProto' declared here 227 | RootedFunction ctorProto(cx, GlobalObject::getOrCreateTypedArrayConstructor(cx, global)); | ^~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:227:24: note: 'cx_49(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::UnboxedArrayObject::obj_lookupProperty(JSContext*, JS::Handle, JS::Handle, JS::MutableHandle, JS::MutableHandle)' at src/third_party/mozjs-45/extract/js/src/vm/UnboxedObject.cpp:1417:43: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'proto' in 'MEM[(struct Rooted * *)cx_43(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src35.cpp:29: src/third_party/mozjs-45/extract/js/src/vm/UnboxedObject.cpp: In function 'js::UnboxedArrayObject::obj_lookupProperty(JSContext*, JS::Handle, JS::Handle, JS::MutableHandle, JS::MutableHandle)': src/third_party/mozjs-45/extract/js/src/vm/UnboxedObject.cpp:1417:18: note: 'proto' declared here 1417 | RootedObject proto(cx, obj->getProto()); | ^~~~~ src/third_party/mozjs-45/extract/js/src/vm/UnboxedObject.cpp:1417:18: note: 'cx_43(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from '(anonymous namespace)::TypedArrayObjectTemplate::createPrototype(JSContext*, JSProtoKey)' at src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:215:22: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'typedArrayProto' in 'MEM[(struct Rooted * *)cx_32(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp: In function '(anonymous namespace)::TypedArrayObjectTemplate::createPrototype(JSContext*, JSProtoKey)': src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:215:22: note: 'typedArrayProto' declared here 215 | RootedObject typedArrayProto(cx, GlobalObject::getOrCreateTypedArrayPrototype(cx, global)); | ^~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:215:22: note: 'cx_32(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from '(anonymous namespace)::TypedArrayObjectTemplate::createPrototype(JSContext*, JSProtoKey)' at src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:215:22: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'typedArrayProto' in 'MEM[(struct Rooted * *)cx_32(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp: In function '(anonymous namespace)::TypedArrayObjectTemplate::createPrototype(JSContext*, JSProtoKey)': src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:215:22: note: 'typedArrayProto' declared here 215 | RootedObject typedArrayProto(cx, GlobalObject::getOrCreateTypedArrayPrototype(cx, global)); | ^~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:215:22: note: 'cx_32(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from '(anonymous namespace)::TypedArrayObjectTemplate::createPrototype(JSContext*, JSProtoKey)' at src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:215:22: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'typedArrayProto' in 'MEM[(struct Rooted * *)cx_32(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp: In function '(anonymous namespace)::TypedArrayObjectTemplate::createPrototype(JSContext*, JSProtoKey)': src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:215:22: note: 'typedArrayProto' declared here 215 | RootedObject typedArrayProto(cx, GlobalObject::getOrCreateTypedArrayPrototype(cx, global)); | ^~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:215:22: note: 'cx_32(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from '(anonymous namespace)::TypedArrayObjectTemplate::createPrototype(JSContext*, JSProtoKey)' at src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:215:22: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'typedArrayProto' in 'MEM[(struct Rooted * *)cx_32(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp: In function '(anonymous namespace)::TypedArrayObjectTemplate::createPrototype(JSContext*, JSProtoKey)': src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:215:22: note: 'typedArrayProto' declared here 215 | RootedObject typedArrayProto(cx, GlobalObject::getOrCreateTypedArrayPrototype(cx, global)); | ^~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:215:22: note: 'cx_32(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from '(anonymous namespace)::TypedArrayObjectTemplate::createPrototype(JSContext*, JSProtoKey)' at src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:215:22: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'typedArrayProto' in 'MEM[(struct Rooted * *)cx_32(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp: In function '(anonymous namespace)::TypedArrayObjectTemplate::createPrototype(JSContext*, JSProtoKey)': src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:215:22: note: 'typedArrayProto' declared here 215 | RootedObject typedArrayProto(cx, GlobalObject::getOrCreateTypedArrayPrototype(cx, global)); | ^~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:215:22: note: 'cx_32(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from '(anonymous namespace)::TypedArrayObjectTemplate::createPrototype(JSContext*, JSProtoKey)' at src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:215:22: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'typedArrayProto' in 'MEM[(struct Rooted * *)cx_32(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp: In function '(anonymous namespace)::TypedArrayObjectTemplate::createPrototype(JSContext*, JSProtoKey)': src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:215:22: note: 'typedArrayProto' declared here 215 | RootedObject typedArrayProto(cx, GlobalObject::getOrCreateTypedArrayPrototype(cx, global)); | ^~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:215:22: note: 'cx_32(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from '(anonymous namespace)::TypedArrayObjectTemplate::createPrototype(JSContext*, JSProtoKey)' at src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:215:22: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'typedArrayProto' in 'MEM[(struct Rooted * *)cx_32(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp: In function '(anonymous namespace)::TypedArrayObjectTemplate::createPrototype(JSContext*, JSProtoKey)': src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:215:22: note: 'typedArrayProto' declared here 215 | RootedObject typedArrayProto(cx, GlobalObject::getOrCreateTypedArrayPrototype(cx, global)); | ^~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:215:22: note: 'cx_32(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from '(anonymous namespace)::TypedArrayObjectTemplate::createPrototype(JSContext*, JSProtoKey)' at src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:215:22: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'typedArrayProto' in 'MEM[(struct Rooted * *)cx_32(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp: In function '(anonymous namespace)::TypedArrayObjectTemplate::createPrototype(JSContext*, JSProtoKey)': src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:215:22: note: 'typedArrayProto' declared here 215 | RootedObject typedArrayProto(cx, GlobalObject::getOrCreateTypedArrayPrototype(cx, global)); | ^~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:215:22: note: 'cx_32(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::UnboxedArrayObject::obj_hasProperty(JSContext*, JS::Handle, JS::Handle, bool*)' at src/third_party/mozjs-45/extract/js/src/vm/UnboxedObject.cpp:1468:43: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'proto' in 'MEM[(struct Rooted * *)cx_37(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/UnboxedObject.cpp: In function 'js::UnboxedArrayObject::obj_hasProperty(JSContext*, JS::Handle, JS::Handle, bool*)': src/third_party/mozjs-45/extract/js/src/vm/UnboxedObject.cpp:1468:18: note: 'proto' declared here 1468 | RootedObject proto(cx, obj->getProto()); | ^~~~~ src/third_party/mozjs-45/extract/js/src/vm/UnboxedObject.cpp:1468:18: note: 'cx_37(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSFunction*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from '(anonymous namespace)::TypedArrayObjectTemplate::createConstructor(JSContext*, JSProtoKey)' at src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:227:24: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'ctorProto' in 'MEM[(struct Rooted * *)cx_49(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp: In function '(anonymous namespace)::TypedArrayObjectTemplate::createConstructor(JSContext*, JSProtoKey)': src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:227:24: note: 'ctorProto' declared here 227 | RootedFunction ctorProto(cx, GlobalObject::getOrCreateTypedArrayConstructor(cx, global)); | ^~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:227:24: note: 'cx_49(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSFunction*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from '(anonymous namespace)::TypedArrayObjectTemplate::createConstructor(JSContext*, JSProtoKey)' at src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:227:24: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'ctorProto' in 'MEM[(struct Rooted * *)cx_49(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp: In function '(anonymous namespace)::TypedArrayObjectTemplate::createConstructor(JSContext*, JSProtoKey)': src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:227:24: note: 'ctorProto' declared here 227 | RootedFunction ctorProto(cx, GlobalObject::getOrCreateTypedArrayConstructor(cx, global)); | ^~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:227:24: note: 'cx_49(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSFunction*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from '(anonymous namespace)::TypedArrayObjectTemplate::createConstructor(JSContext*, JSProtoKey)' at src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:227:24: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'ctorProto' in 'MEM[(struct Rooted * *)cx_49(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp: In function '(anonymous namespace)::TypedArrayObjectTemplate::createConstructor(JSContext*, JSProtoKey)': src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:227:24: note: 'ctorProto' declared here 227 | RootedFunction ctorProto(cx, GlobalObject::getOrCreateTypedArrayConstructor(cx, global)); | ^~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:227:24: note: 'cx_49(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSFunction*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from '(anonymous namespace)::TypedArrayObjectTemplate::createConstructor(JSContext*, JSProtoKey)' at src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:227:24: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'ctorProto' in 'MEM[(struct Rooted * *)cx_49(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp: In function '(anonymous namespace)::TypedArrayObjectTemplate::createConstructor(JSContext*, JSProtoKey)': src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:227:24: note: 'ctorProto' declared here 227 | RootedFunction ctorProto(cx, GlobalObject::getOrCreateTypedArrayConstructor(cx, global)); | ^~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:227:24: note: 'cx_49(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSFunction*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from '(anonymous namespace)::TypedArrayObjectTemplate::createConstructor(JSContext*, JSProtoKey)' at src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:227:24: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'ctorProto' in 'MEM[(struct Rooted * *)cx_49(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp: In function '(anonymous namespace)::TypedArrayObjectTemplate::createConstructor(JSContext*, JSProtoKey)': src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:227:24: note: 'ctorProto' declared here 227 | RootedFunction ctorProto(cx, GlobalObject::getOrCreateTypedArrayConstructor(cx, global)); | ^~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:227:24: note: 'cx_49(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSFunction*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from '(anonymous namespace)::TypedArrayObjectTemplate::createConstructor(JSContext*, JSProtoKey)' at src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:227:24: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'ctorProto' in 'MEM[(struct Rooted * *)cx_49(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp: In function '(anonymous namespace)::TypedArrayObjectTemplate::createConstructor(JSContext*, JSProtoKey)': src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:227:24: note: 'ctorProto' declared here 227 | RootedFunction ctorProto(cx, GlobalObject::getOrCreateTypedArrayConstructor(cx, global)); | ^~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:227:24: note: 'cx_49(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSFunction*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from '(anonymous namespace)::TypedArrayObjectTemplate::createConstructor(JSContext*, JSProtoKey)' at src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:227:24: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'ctorProto' in 'MEM[(struct Rooted * *)cx_49(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp: In function '(anonymous namespace)::TypedArrayObjectTemplate::createConstructor(JSContext*, JSProtoKey)': src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:227:24: note: 'ctorProto' declared here 227 | RootedFunction ctorProto(cx, GlobalObject::getOrCreateTypedArrayConstructor(cx, global)); | ^~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:227:24: note: 'cx_49(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSFunction*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from '(anonymous namespace)::TypedArrayObjectTemplate::createConstructor(JSContext*, JSProtoKey)' at src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:227:24: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'ctorProto' in 'MEM[(struct Rooted * *)cx_49(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp: In function '(anonymous namespace)::TypedArrayObjectTemplate::createConstructor(JSContext*, JSProtoKey)': src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:227:24: note: 'ctorProto' declared here 227 | RootedFunction ctorProto(cx, GlobalObject::getOrCreateTypedArrayConstructor(cx, global)); | ^~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:227:24: note: 'cx_49(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:708:30, inlined from 'js::ElementSpecific<(anonymous namespace)::TypedArrayObjectTemplate, js::SharedOps>::setFromNonTypedArray(JSContext*, JS::Handle, JS::Handle, unsigned int, unsigned int)' at src/third_party/mozjs-45/extract/js/src/vm/TypedArrayCommon.h:322:21: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'v' in 'MEM[(struct Rooted * *)cx_97(D) + 104B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/TypedArrayCommon.h: In function 'js::ElementSpecific<(anonymous namespace)::TypedArrayObjectTemplate, js::SharedOps>::setFromNonTypedArray(JSContext*, JS::Handle, JS::Handle, unsigned int, unsigned int)': src/third_party/mozjs-45/extract/js/src/vm/TypedArrayCommon.h:322:21: note: 'v' declared here 322 | RootedValue v(cx); | ^ src/third_party/mozjs-45/extract/js/src/vm/TypedArrayCommon.h:322:21: note: 'cx_97(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:708:30, inlined from 'js::ElementSpecific<(anonymous namespace)::TypedArrayObjectTemplate, js::SharedOps>::setFromNonTypedArray(JSContext*, JS::Handle, JS::Handle, unsigned int, unsigned int)' at src/third_party/mozjs-45/extract/js/src/vm/TypedArrayCommon.h:322:21: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'v' in 'MEM[(struct Rooted * *)cx_97(D) + 104B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/TypedArrayCommon.h: In function 'js::ElementSpecific<(anonymous namespace)::TypedArrayObjectTemplate, js::SharedOps>::setFromNonTypedArray(JSContext*, JS::Handle, JS::Handle, unsigned int, unsigned int)': src/third_party/mozjs-45/extract/js/src/vm/TypedArrayCommon.h:322:21: note: 'v' declared here 322 | RootedValue v(cx); | ^ src/third_party/mozjs-45/extract/js/src/vm/TypedArrayCommon.h:322:21: note: 'cx_97(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:708:30, inlined from 'js::ElementSpecific<(anonymous namespace)::TypedArrayObjectTemplate, js::SharedOps>::setFromNonTypedArray(JSContext*, JS::Handle, JS::Handle, unsigned int, unsigned int)' at src/third_party/mozjs-45/extract/js/src/vm/TypedArrayCommon.h:322:21: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'v' in 'MEM[(struct Rooted * *)cx_95(D) + 104B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/TypedArrayCommon.h: In function 'js::ElementSpecific<(anonymous namespace)::TypedArrayObjectTemplate, js::SharedOps>::setFromNonTypedArray(JSContext*, JS::Handle, JS::Handle, unsigned int, unsigned int)': src/third_party/mozjs-45/extract/js/src/vm/TypedArrayCommon.h:322:21: note: 'v' declared here 322 | RootedValue v(cx); | ^ src/third_party/mozjs-45/extract/js/src/vm/TypedArrayCommon.h:322:21: note: 'cx_95(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:708:30, inlined from 'js::ElementSpecific<(anonymous namespace)::TypedArrayObjectTemplate, js::SharedOps>::setFromNonTypedArray(JSContext*, JS::Handle, JS::Handle, unsigned int, unsigned int)' at src/third_party/mozjs-45/extract/js/src/vm/TypedArrayCommon.h:322:21: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'v' in 'MEM[(struct Rooted * *)cx_95(D) + 104B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/TypedArrayCommon.h: In function 'js::ElementSpecific<(anonymous namespace)::TypedArrayObjectTemplate, js::SharedOps>::setFromNonTypedArray(JSContext*, JS::Handle, JS::Handle, unsigned int, unsigned int)': src/third_party/mozjs-45/extract/js/src/vm/TypedArrayCommon.h:322:21: note: 'v' declared here 322 | RootedValue v(cx); | ^ src/third_party/mozjs-45/extract/js/src/vm/TypedArrayCommon.h:322:21: note: 'cx_95(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:708:30, inlined from 'js::ElementSpecific<(anonymous namespace)::TypedArrayObjectTemplate, js::SharedOps>::setFromNonTypedArray(JSContext*, JS::Handle, JS::Handle, unsigned int, unsigned int)' at src/third_party/mozjs-45/extract/js/src/vm/TypedArrayCommon.h:322:21: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'v' in 'MEM[(struct Rooted * *)cx_97(D) + 104B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/TypedArrayCommon.h: In function 'js::ElementSpecific<(anonymous namespace)::TypedArrayObjectTemplate, js::SharedOps>::setFromNonTypedArray(JSContext*, JS::Handle, JS::Handle, unsigned int, unsigned int)': src/third_party/mozjs-45/extract/js/src/vm/TypedArrayCommon.h:322:21: note: 'v' declared here 322 | RootedValue v(cx); | ^ src/third_party/mozjs-45/extract/js/src/vm/TypedArrayCommon.h:322:21: note: 'cx_97(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:708:30, inlined from 'js::ElementSpecific<(anonymous namespace)::TypedArrayObjectTemplate, js::SharedOps>::setFromNonTypedArray(JSContext*, JS::Handle, JS::Handle, unsigned int, unsigned int)' at src/third_party/mozjs-45/extract/js/src/vm/TypedArrayCommon.h:322:21: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'v' in 'MEM[(struct Rooted * *)cx_97(D) + 104B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/TypedArrayCommon.h: In function 'js::ElementSpecific<(anonymous namespace)::TypedArrayObjectTemplate, js::SharedOps>::setFromNonTypedArray(JSContext*, JS::Handle, JS::Handle, unsigned int, unsigned int)': src/third_party/mozjs-45/extract/js/src/vm/TypedArrayCommon.h:322:21: note: 'v' declared here 322 | RootedValue v(cx); | ^ src/third_party/mozjs-45/extract/js/src/vm/TypedArrayCommon.h:322:21: note: 'cx_97(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:708:30, inlined from 'js::ElementSpecific<(anonymous namespace)::TypedArrayObjectTemplate, js::SharedOps>::setFromNonTypedArray(JSContext*, JS::Handle, JS::Handle, unsigned int, unsigned int)' at src/third_party/mozjs-45/extract/js/src/vm/TypedArrayCommon.h:322:21: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'v' in 'MEM[(struct Rooted * *)cx_97(D) + 104B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/TypedArrayCommon.h: In function 'js::ElementSpecific<(anonymous namespace)::TypedArrayObjectTemplate, js::SharedOps>::setFromNonTypedArray(JSContext*, JS::Handle, JS::Handle, unsigned int, unsigned int)': src/third_party/mozjs-45/extract/js/src/vm/TypedArrayCommon.h:322:21: note: 'v' declared here 322 | RootedValue v(cx); | ^ src/third_party/mozjs-45/extract/js/src/vm/TypedArrayCommon.h:322:21: note: 'cx_97(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:708:30, inlined from 'js::ElementSpecific<(anonymous namespace)::TypedArrayObjectTemplate, js::SharedOps>::setFromNonTypedArray(JSContext*, JS::Handle, JS::Handle, unsigned int, unsigned int)' at src/third_party/mozjs-45/extract/js/src/vm/TypedArrayCommon.h:322:21: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'v' in 'MEM[(struct Rooted * *)cx_97(D) + 104B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/TypedArrayCommon.h: In function 'js::ElementSpecific<(anonymous namespace)::TypedArrayObjectTemplate, js::SharedOps>::setFromNonTypedArray(JSContext*, JS::Handle, JS::Handle, unsigned int, unsigned int)': src/third_party/mozjs-45/extract/js/src/vm/TypedArrayCommon.h:322:21: note: 'v' declared here 322 | RootedValue v(cx); | ^ src/third_party/mozjs-45/extract/js/src/vm/TypedArrayCommon.h:322:21: note: 'cx_97(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::UnboxedPlainObject::obj_getProperty(JSContext*, JS::Handle, JS::Handle, JS::Handle, JS::MutableHandle)' at src/third_party/mozjs-45/extract/js/src/vm/UnboxedObject.cpp:802:43: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'proto' in 'MEM[(struct Rooted * *)cx_78(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/UnboxedObject.cpp: In function 'js::UnboxedPlainObject::obj_getProperty(JSContext*, JS::Handle, JS::Handle, JS::Handle, JS::MutableHandle)': src/third_party/mozjs-45/extract/js/src/vm/UnboxedObject.cpp:802:18: note: 'proto' declared here 802 | RootedObject proto(cx, obj->getProto()); | ^~~~~ src/third_party/mozjs-45/extract/js/src/vm/UnboxedObject.cpp:802:18: note: 'cx_78(D)' declared here g++ -o build/fedora/mongo/db/update/rename_node.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/update/rename_node.cpp In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::UnboxedPlainObject::obj_lookupProperty(JSContext*, JS::Handle, JS::Handle, JS::MutableHandle, JS::MutableHandle)' at src/third_party/mozjs-45/extract/js/src/vm/UnboxedObject.cpp:724:43: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'proto' in 'MEM[(struct Rooted * *)cx_45(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/UnboxedObject.cpp: In function 'js::UnboxedPlainObject::obj_lookupProperty(JSContext*, JS::Handle, JS::Handle, JS::MutableHandle, JS::MutableHandle)': src/third_party/mozjs-45/extract/js/src/vm/UnboxedObject.cpp:724:18: note: 'proto' declared here 724 | RootedObject proto(cx, obj->getProto()); | ^~~~~ src/third_party/mozjs-45/extract/js/src/vm/UnboxedObject.cpp:724:18: note: 'cx_45(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::UnboxedPlainObject::obj_hasProperty(JSContext*, JS::Handle, JS::Handle, bool*)' at src/third_party/mozjs-45/extract/js/src/vm/UnboxedObject.cpp:775:43: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'proto' in 'MEM[(struct Rooted * *)cx_39(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/UnboxedObject.cpp: In function 'js::UnboxedPlainObject::obj_hasProperty(JSContext*, JS::Handle, JS::Handle, bool*)': src/third_party/mozjs-45/extract/js/src/vm/UnboxedObject.cpp:775:18: note: 'proto' declared here 775 | RootedObject proto(cx, obj->getProto()); | ^~~~~ src/third_party/mozjs-45/extract/js/src/vm/UnboxedObject.cpp:775:18: note: 'cx_39(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::UnboxedArrayObject::obj_getProperty(JSContext*, JS::Handle, JS::Handle, JS::Handle, JS::MutableHandle)' at src/third_party/mozjs-45/extract/js/src/vm/UnboxedObject.cpp:1489:43: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'proto' in 'MEM[(struct Rooted * *)cx_51(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/UnboxedObject.cpp: In function 'js::UnboxedArrayObject::obj_getProperty(JSContext*, JS::Handle, JS::Handle, JS::Handle, JS::MutableHandle)': src/third_party/mozjs-45/extract/js/src/vm/UnboxedObject.cpp:1489:18: note: 'proto' declared here 1489 | RootedObject proto(cx, obj->getProto()); | ^~~~~ src/third_party/mozjs-45/extract/js/src/vm/UnboxedObject.cpp:1489:18: note: 'cx_51(D)' declared here In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/document_comparator.h:32, from src/mongo/db/pipeline/expression_context.h:41, from src/mongo/db/update/update_leaf_node.h:31, from src/mongo/db/update/rename_node.h:31, from src/mongo/db/update/rename_node.cpp:31: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/bson/bsonobj.h:44, from src/mongo/db/pipeline/expression_context.h:37: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:708:30, inlined from 'js::ElementSpecific<(anonymous namespace)::TypedArrayObjectTemplate, js::SharedOps>::setFromNonTypedArray(JSContext*, JS::Handle, JS::Handle, unsigned int, unsigned int)' at src/third_party/mozjs-45/extract/js/src/vm/TypedArrayCommon.h:322:21, inlined from 'js::TypedArrayMethods::setFromNonTypedArray(JSContext*, JS::Handle, JS::Handle, unsigned int, unsigned int)' at src/third_party/mozjs-45/extract/js/src/vm/TypedArrayCommon.h:866:95: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'v' in 'MEM[(struct Rooted * *)cx_10(D) + 104B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/TypedArrayCommon.h: In function 'js::TypedArrayMethods::setFromNonTypedArray(JSContext*, JS::Handle, JS::Handle, unsigned int, unsigned int)': src/third_party/mozjs-45/extract/js/src/vm/TypedArrayCommon.h:322:21: note: 'v' declared here 322 | RootedValue v(cx); | ^ src/third_party/mozjs-45/extract/js/src/vm/TypedArrayCommon.h:322:21: note: 'cx_10(D)' declared here src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/update/path_support.h:39, from src/mongo/db/update/rename_node.cpp:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::PlainObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'JS::ubi::cStringCountMapToObject(JSContext*, js::HashMap, JS::ubi::CStringHashPolicy, js::SystemAllocPolicy>&)' at src/third_party/mozjs-45/extract/js/src/vm/UbiNodeCensus.cpp:316:71: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'obj' in 'MEM[(struct Rooted * *)cx_151(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src35.cpp:20: src/third_party/mozjs-45/extract/js/src/vm/UbiNodeCensus.cpp: In function 'JS::ubi::cStringCountMapToObject(JSContext*, js::HashMap, JS::ubi::CStringHashPolicy, js::SystemAllocPolicy>&)': src/third_party/mozjs-45/extract/js/src/vm/UbiNodeCensus.cpp:316:23: note: 'obj' declared here 316 | RootedPlainObject obj(cx, NewBuiltinClassInstance(cx)); | ^~~ src/third_party/mozjs-45/extract/js/src/vm/UbiNodeCensus.cpp:316:23: note: 'cx_151(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::ArrayBufferObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::TypedArrayObject::ensureHasBuffer(JSContext*, JS::Handle)' at src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:100:94: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'buffer' in 'MEM[(struct Rooted * *)cx_78(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp: In function 'js::TypedArrayObject::ensureHasBuffer(JSContext*, JS::Handle)': src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:100:32: note: 'buffer' declared here 100 | Rooted buffer(cx, ArrayBufferObject::create(cx, tarray->byteLength())); | ^~~~~~ src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:100:32: note: 'cx_78(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::NativeObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::DataViewObject::initClass(JSContext*)' at src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:2125:95: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'proto' in 'MEM[(struct Rooted * *)cx_154(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp: In function 'js::DataViewObject::initClass(JSContext*)': src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:2125:24: note: 'proto' declared here 2125 | RootedNativeObject proto(cx, global->createBlankPrototype(cx, &DataViewObject::protoClass)); | ^~~~~ src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:2125:24: note: 'cx_154(D)' declared here g++ -o build/fedora/mongo/util/tcmalloc_set_parameter.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/asio-master/asio/include -Ibuild/fedora -Isrc src/mongo/util/tcmalloc_set_parameter.cpp In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:708:30, inlined from '(anonymous namespace)::TypedArrayObjectTemplate::fromArray(JSContext*, JS::Handle, JS::Handle)' at src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:741:32: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'buffer' in 'MEM[(struct Rooted * *)cx_118(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp: In function '(anonymous namespace)::TypedArrayObjectTemplate::fromArray(JSContext*, JS::Handle, JS::Handle)': src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:741:32: note: 'buffer' declared here 741 | Rooted buffer(cx); | ^~~~~~ src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:741:32: note: 'cx_118(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:708:30, inlined from '(anonymous namespace)::TypedArrayObjectTemplate::fromLength(JSContext*, unsigned int, JS::Handle)' at src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:669:36, inlined from '(anonymous namespace)::TypedArrayObjectTemplate::create(JSContext*, JS::CallArgs const&)' at src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:460:30, inlined from '(anonymous namespace)::TypedArrayObjectTemplate::class_constructor(JSContext*, unsigned int, JS::Value*)' at src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:444:31: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'buffer' in 'MEM[(struct Rooted * *)cx_7(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp: In function '(anonymous namespace)::TypedArrayObjectTemplate::class_constructor(JSContext*, unsigned int, JS::Value*)': src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:669:36: note: 'buffer' declared here 669 | Rooted buffer(cx); | ^~~~~~ src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:669:36: note: 'cx_7(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:708:30, inlined from '(anonymous namespace)::TypedArrayObjectTemplate::fromLength(JSContext*, unsigned int, JS::Handle)' at src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:669:36, inlined from 'JS_NewInt8Array(JSContext*, unsigned int)' at src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:1892:1: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'buffer' in 'MEM[(struct Rooted * *)cx_2(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp: In function 'JS_NewInt8Array(JSContext*, unsigned int)': src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:669:36: note: 'buffer' declared here 669 | Rooted buffer(cx); | ^~~~~~ src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:669:36: note: 'cx_2(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:708:30, inlined from '(anonymous namespace)::TypedArrayObjectTemplate::fromArray(JSContext*, JS::Handle, JS::Handle)' at src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:741:32: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'buffer' in 'MEM[(struct Rooted * *)cx_118(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp: In function '(anonymous namespace)::TypedArrayObjectTemplate::fromArray(JSContext*, JS::Handle, JS::Handle)': src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:741:32: note: 'buffer' declared here 741 | Rooted buffer(cx); | ^~~~~~ src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:741:32: note: 'cx_118(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:708:30, inlined from '(anonymous namespace)::TypedArrayObjectTemplate::fromLength(JSContext*, unsigned int, JS::Handle)' at src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:669:36, inlined from '(anonymous namespace)::TypedArrayObjectTemplate::create(JSContext*, JS::CallArgs const&)' at src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:460:30, inlined from '(anonymous namespace)::TypedArrayObjectTemplate::class_constructor(JSContext*, unsigned int, JS::Value*)' at src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:444:31: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'buffer' in 'MEM[(struct Rooted * *)cx_7(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp: In function '(anonymous namespace)::TypedArrayObjectTemplate::class_constructor(JSContext*, unsigned int, JS::Value*)': src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:669:36: note: 'buffer' declared here 669 | Rooted buffer(cx); | ^~~~~~ src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:669:36: note: 'cx_7(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:708:30, inlined from '(anonymous namespace)::TypedArrayObjectTemplate::fromLength(JSContext*, unsigned int, JS::Handle)' at src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:669:36, inlined from 'JS_NewUint8Array(JSContext*, unsigned int)' at src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:1893:1: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'buffer' in 'MEM[(struct Rooted * *)cx_2(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp: In function 'JS_NewUint8Array(JSContext*, unsigned int)': src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:669:36: note: 'buffer' declared here 669 | Rooted buffer(cx); | ^~~~~~ src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:669:36: note: 'cx_2(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:708:30, inlined from '(anonymous namespace)::TypedArrayObjectTemplate::fromArray(JSContext*, JS::Handle, JS::Handle)' at src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:741:32: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'buffer' in 'MEM[(struct Rooted * *)cx_118(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp: In function '(anonymous namespace)::TypedArrayObjectTemplate::fromArray(JSContext*, JS::Handle, JS::Handle)': src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:741:32: note: 'buffer' declared here 741 | Rooted buffer(cx); | ^~~~~~ src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:741:32: note: 'cx_118(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:708:30, inlined from '(anonymous namespace)::TypedArrayObjectTemplate::fromLength(JSContext*, unsigned int, JS::Handle)' at src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:669:36, inlined from '(anonymous namespace)::TypedArrayObjectTemplate::create(JSContext*, JS::CallArgs const&)' at src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:460:30, inlined from '(anonymous namespace)::TypedArrayObjectTemplate::class_constructor(JSContext*, unsigned int, JS::Value*)' at src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:444:31: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'buffer' in 'MEM[(struct Rooted * *)cx_7(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp: In function '(anonymous namespace)::TypedArrayObjectTemplate::class_constructor(JSContext*, unsigned int, JS::Value*)': src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:669:36: note: 'buffer' declared here 669 | Rooted buffer(cx); | ^~~~~~ src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:669:36: note: 'cx_7(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:708:30, inlined from '(anonymous namespace)::TypedArrayObjectTemplate::fromLength(JSContext*, unsigned int, JS::Handle)' at src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:669:36, inlined from 'JS_NewUint8ClampedArray(JSContext*, unsigned int)' at src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:1894:1: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'buffer' in 'MEM[(struct Rooted * *)cx_2(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp: In function 'JS_NewUint8ClampedArray(JSContext*, unsigned int)': src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:669:36: note: 'buffer' declared here 669 | Rooted buffer(cx); | ^~~~~~ src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:669:36: note: 'cx_2(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:708:30, inlined from '(anonymous namespace)::TypedArrayObjectTemplate::fromArray(JSContext*, JS::Handle, JS::Handle)' at src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:741:32: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'buffer' in 'MEM[(struct Rooted * *)cx_118(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp: In function '(anonymous namespace)::TypedArrayObjectTemplate::fromArray(JSContext*, JS::Handle, JS::Handle)': src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:741:32: note: 'buffer' declared here 741 | Rooted buffer(cx); | ^~~~~~ src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:741:32: note: 'cx_118(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:708:30, inlined from '(anonymous namespace)::TypedArrayObjectTemplate::fromLength(JSContext*, unsigned int, JS::Handle)' at src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:669:36, inlined from '(anonymous namespace)::TypedArrayObjectTemplate::create(JSContext*, JS::CallArgs const&)' at src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:460:30, inlined from '(anonymous namespace)::TypedArrayObjectTemplate::class_constructor(JSContext*, unsigned int, JS::Value*)' at src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:444:31: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'buffer' in 'MEM[(struct Rooted * *)cx_7(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp: In function '(anonymous namespace)::TypedArrayObjectTemplate::class_constructor(JSContext*, unsigned int, JS::Value*)': src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:669:36: note: 'buffer' declared here 669 | Rooted buffer(cx); | ^~~~~~ src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:669:36: note: 'cx_7(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:708:30, inlined from '(anonymous namespace)::TypedArrayObjectTemplate::fromLength(JSContext*, unsigned int, JS::Handle)' at src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:669:36, inlined from 'JS_NewInt16Array(JSContext*, unsigned int)' at src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:1895:1: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'buffer' in 'MEM[(struct Rooted * *)cx_2(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp: In function 'JS_NewInt16Array(JSContext*, unsigned int)': src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:669:36: note: 'buffer' declared here 669 | Rooted buffer(cx); | ^~~~~~ src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:669:36: note: 'cx_2(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:708:30, inlined from '(anonymous namespace)::TypedArrayObjectTemplate::fromArray(JSContext*, JS::Handle, JS::Handle)' at src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:741:32: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'buffer' in 'MEM[(struct Rooted * *)cx_118(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp: In function '(anonymous namespace)::TypedArrayObjectTemplate::fromArray(JSContext*, JS::Handle, JS::Handle)': src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:741:32: note: 'buffer' declared here 741 | Rooted buffer(cx); | ^~~~~~ src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:741:32: note: 'cx_118(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:708:30, inlined from '(anonymous namespace)::TypedArrayObjectTemplate::fromLength(JSContext*, unsigned int, JS::Handle)' at src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:669:36, inlined from '(anonymous namespace)::TypedArrayObjectTemplate::create(JSContext*, JS::CallArgs const&)' at src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:460:30, inlined from '(anonymous namespace)::TypedArrayObjectTemplate::class_constructor(JSContext*, unsigned int, JS::Value*)' at src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:444:31: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'buffer' in 'MEM[(struct Rooted * *)cx_7(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp: In function '(anonymous namespace)::TypedArrayObjectTemplate::class_constructor(JSContext*, unsigned int, JS::Value*)': src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:669:36: note: 'buffer' declared here 669 | Rooted buffer(cx); | ^~~~~~ src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:669:36: note: 'cx_7(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:708:30, inlined from '(anonymous namespace)::TypedArrayObjectTemplate::fromLength(JSContext*, unsigned int, JS::Handle)' at src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:669:36, inlined from 'JS_NewUint16Array(JSContext*, unsigned int)' at src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:1896:1: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'buffer' in 'MEM[(struct Rooted * *)cx_2(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp: In function 'JS_NewUint16Array(JSContext*, unsigned int)': src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:669:36: note: 'buffer' declared here 669 | Rooted buffer(cx); | ^~~~~~ src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:669:36: note: 'cx_2(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:708:30, inlined from '(anonymous namespace)::TypedArrayObjectTemplate::fromArray(JSContext*, JS::Handle, JS::Handle)' at src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:741:32: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'buffer' in 'MEM[(struct Rooted * *)cx_118(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp: In function '(anonymous namespace)::TypedArrayObjectTemplate::fromArray(JSContext*, JS::Handle, JS::Handle)': src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:741:32: note: 'buffer' declared here 741 | Rooted buffer(cx); | ^~~~~~ src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:741:32: note: 'cx_118(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:708:30, inlined from '(anonymous namespace)::TypedArrayObjectTemplate::fromLength(JSContext*, unsigned int, JS::Handle)' at src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:669:36, inlined from '(anonymous namespace)::TypedArrayObjectTemplate::create(JSContext*, JS::CallArgs const&)' at src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:460:30, inlined from '(anonymous namespace)::TypedArrayObjectTemplate::class_constructor(JSContext*, unsigned int, JS::Value*)' at src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:444:31: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'buffer' in 'MEM[(struct Rooted * *)cx_7(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp: In function '(anonymous namespace)::TypedArrayObjectTemplate::class_constructor(JSContext*, unsigned int, JS::Value*)': src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:669:36: note: 'buffer' declared here 669 | Rooted buffer(cx); | ^~~~~~ src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:669:36: note: 'cx_7(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:708:30, inlined from '(anonymous namespace)::TypedArrayObjectTemplate::fromLength(JSContext*, unsigned int, JS::Handle)' at src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:669:36, inlined from 'JS_NewInt32Array(JSContext*, unsigned int)' at src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:1897:1: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'buffer' in 'MEM[(struct Rooted * *)cx_2(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp: In function 'JS_NewInt32Array(JSContext*, unsigned int)': src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:669:36: note: 'buffer' declared here 669 | Rooted buffer(cx); | ^~~~~~ src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:669:36: note: 'cx_2(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:708:30, inlined from '(anonymous namespace)::TypedArrayObjectTemplate::fromArray(JSContext*, JS::Handle, JS::Handle)' at src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:741:32: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'buffer' in 'MEM[(struct Rooted * *)cx_118(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp: In function '(anonymous namespace)::TypedArrayObjectTemplate::fromArray(JSContext*, JS::Handle, JS::Handle)': src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:741:32: note: 'buffer' declared here 741 | Rooted buffer(cx); | ^~~~~~ src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:741:32: note: 'cx_118(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:708:30, inlined from '(anonymous namespace)::TypedArrayObjectTemplate::fromLength(JSContext*, unsigned int, JS::Handle)' at src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:669:36, inlined from '(anonymous namespace)::TypedArrayObjectTemplate::create(JSContext*, JS::CallArgs const&)' at src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:460:30, inlined from '(anonymous namespace)::TypedArrayObjectTemplate::class_constructor(JSContext*, unsigned int, JS::Value*)' at src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:444:31: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'buffer' in 'MEM[(struct Rooted * *)cx_7(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp: In function '(anonymous namespace)::TypedArrayObjectTemplate::class_constructor(JSContext*, unsigned int, JS::Value*)': src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:669:36: note: 'buffer' declared here 669 | Rooted buffer(cx); | ^~~~~~ src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:669:36: note: 'cx_7(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:708:30, inlined from '(anonymous namespace)::TypedArrayObjectTemplate::fromLength(JSContext*, unsigned int, JS::Handle)' at src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:669:36, inlined from 'JS_NewUint32Array(JSContext*, unsigned int)' at src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:1898:1: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'buffer' in 'MEM[(struct Rooted * *)cx_2(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp: In function 'JS_NewUint32Array(JSContext*, unsigned int)': src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:669:36: note: 'buffer' declared here 669 | Rooted buffer(cx); | ^~~~~~ src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:669:36: note: 'cx_2(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:708:30, inlined from '(anonymous namespace)::TypedArrayObjectTemplate::fromArray(JSContext*, JS::Handle, JS::Handle)' at src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:741:32: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'buffer' in 'MEM[(struct Rooted * *)cx_118(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp: In function '(anonymous namespace)::TypedArrayObjectTemplate::fromArray(JSContext*, JS::Handle, JS::Handle)': src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:741:32: note: 'buffer' declared here 741 | Rooted buffer(cx); | ^~~~~~ src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:741:32: note: 'cx_118(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:708:30, inlined from '(anonymous namespace)::TypedArrayObjectTemplate::fromLength(JSContext*, unsigned int, JS::Handle)' at src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:669:36, inlined from '(anonymous namespace)::TypedArrayObjectTemplate::create(JSContext*, JS::CallArgs const&)' at src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:460:30, inlined from '(anonymous namespace)::TypedArrayObjectTemplate::class_constructor(JSContext*, unsigned int, JS::Value*)' at src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:444:31: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'buffer' in 'MEM[(struct Rooted * *)cx_7(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp: In function '(anonymous namespace)::TypedArrayObjectTemplate::class_constructor(JSContext*, unsigned int, JS::Value*)': src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:669:36: note: 'buffer' declared here 669 | Rooted buffer(cx); | ^~~~~~ src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:669:36: note: 'cx_7(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:708:30, inlined from '(anonymous namespace)::TypedArrayObjectTemplate::fromLength(JSContext*, unsigned int, JS::Handle)' at src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:669:36, inlined from 'JS_NewFloat32Array(JSContext*, unsigned int)' at src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:1899:1: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'buffer' in 'MEM[(struct Rooted * *)cx_2(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp: In function 'JS_NewFloat32Array(JSContext*, unsigned int)': src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:669:36: note: 'buffer' declared here 669 | Rooted buffer(cx); | ^~~~~~ src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:669:36: note: 'cx_2(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:708:30, inlined from '(anonymous namespace)::TypedArrayObjectTemplate::fromArray(JSContext*, JS::Handle, JS::Handle)' at src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:741:32: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'buffer' in 'MEM[(struct Rooted * *)cx_118(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp: In function '(anonymous namespace)::TypedArrayObjectTemplate::fromArray(JSContext*, JS::Handle, JS::Handle)': src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:741:32: note: 'buffer' declared here 741 | Rooted buffer(cx); | ^~~~~~ src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:741:32: note: 'cx_118(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:708:30, inlined from '(anonymous namespace)::TypedArrayObjectTemplate::fromLength(JSContext*, unsigned int, JS::Handle)' at src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:669:36, inlined from '(anonymous namespace)::TypedArrayObjectTemplate::create(JSContext*, JS::CallArgs const&)' at src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:460:30, inlined from '(anonymous namespace)::TypedArrayObjectTemplate::class_constructor(JSContext*, unsigned int, JS::Value*)' at src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:444:31: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'buffer' in 'MEM[(struct Rooted * *)cx_7(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp: In function '(anonymous namespace)::TypedArrayObjectTemplate::class_constructor(JSContext*, unsigned int, JS::Value*)': src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:669:36: note: 'buffer' declared here 669 | Rooted buffer(cx); | ^~~~~~ src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:669:36: note: 'cx_7(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:708:30, inlined from '(anonymous namespace)::TypedArrayObjectTemplate::fromLength(JSContext*, unsigned int, JS::Handle)' at src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:669:36, inlined from 'JS_NewFloat64Array(JSContext*, unsigned int)' at src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:1900:1: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'buffer' in 'MEM[(struct Rooted * *)cx_2(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp: In function 'JS_NewFloat64Array(JSContext*, unsigned int)': src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:669:36: note: 'buffer' declared here 669 | Rooted buffer(cx); | ^~~~~~ src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:669:36: note: 'cx_2(D)' declared here ar rcsTD build/fedora/mongo/util/libtcmalloc_set_parameter.a build/fedora/mongo/util/tcmalloc_server_status_section.o build/fedora/mongo/util/tcmalloc_set_parameter.o build/fedora/mongo/util/heap_profiler.o Skipping ranlib for thin archive build/fedora/mongo/util/libtcmalloc_set_parameter.a g++ -o build/fedora/mongo/db/pipeline/lite_parsed_document_source.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/pipeline/lite_parsed_document_source.cpp In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/bson/mutable/element.h:34, from src/mongo/db/auth/privilege.h:32, from src/mongo/db/pipeline/lite_parsed_document_source.h:35, from src/mongo/db/pipeline/lite_parsed_document_source.cpp:31: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::function(const mongo::AggregationRequest&, const mongo::BSONElement&)>, mongo::StringMapTraits>': src/mongo/db/pipeline/lite_parsed_document_source.cpp:40:19: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::function(const mongo::AggregationRequest&, const mongo::BSONElement&)>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::function(const mongo::AggregationRequest&, const mongo::BSONElement&)>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::function(const mongo::AggregationRequest&, const mongo::BSONElement&)>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::function(const mongo::AggregationRequest&, const mongo::BSONElement&)>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::UnboxedExpandoObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::UnboxedPlainObject::obj_defineProperty(JSContext*, JS::Handle, JS::Handle, JS::Handle, JS::ObjectOpResult&)' at src/third_party/mozjs-45/extract/js/src/vm/UnboxedObject.cpp:757:94: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'expando' in 'MEM[(struct Rooted * *)cx_58(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/UnboxedObject.cpp: In function 'js::UnboxedPlainObject::obj_defineProperty(JSContext*, JS::Handle, JS::Handle, JS::Handle, JS::ObjectOpResult&)': src/third_party/mozjs-45/extract/js/src/vm/UnboxedObject.cpp:757:35: note: 'expando' declared here 757 | Rooted expando(cx, ensureExpando(cx, obj.as())); | ^~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/UnboxedObject.cpp:757:35: note: 'cx_58(D)' declared here ar rcsTD build/fedora/mongo/db/pipeline/liblite_parsed_document_source.a build/fedora/mongo/db/pipeline/lite_parsed_document_source.o Skipping ranlib for thin archive build/fedora/mongo/db/pipeline/liblite_parsed_document_source.a g++ -o build/fedora/mongo/db/keys_collection_client_sharded.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/keys_collection_client_sharded.cpp g++ -o build/fedora/mongo/db/transaction_reaper.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/transaction_reaper.cpp g++ -o build/fedora/third_party/icu4c-57.1/source/i18n/uni2name.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/uni2name.cpp gcc -o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_llrintd.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -DUSE_COMPILER_F80_TYPE=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -Dlinux=1 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_llrintd.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C g++ -o build/fedora/mongo/client/authenticate.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/client/authenticate.cpp In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/bson/bsonmisc.h:32, from src/mongo/db/transaction_reaper.cpp:33: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/plan_cache.h:35, from src/mongo/db/catalog/collection_info_cache.h:33, from src/mongo/db/catalog/collection.h:41, from src/mongo/db/catalog_raii.h:32, from src/mongo/db/transaction_reaper.cpp:34: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/client/authenticate.cpp: In function 'mongo::StatusWith > mongo::auth::{anonymous}::extractDBField(const mongo::BSONObj&)': src/mongo/client/authenticate.cpp:83:21: warning: redundant move in return statement [-Wredundant-move] 83 | return std::move(db); | ~~~~~~~~~^~~~ src/mongo/client/authenticate.cpp:83:21: note: remove 'std::move' call src/mongo/client/authenticate.cpp: In function 'mongo::auth::AuthRequest mongo::auth::{anonymous}::createX509AuthCmd(const mongo::BSONObj&, mongo::StringData)': src/mongo/client/authenticate.cpp:130:21: warning: redundant move in return statement [-Wredundant-move] 130 | return std::move(request); | ~~~~~~~~~^~~~~~~~~ src/mongo/client/authenticate.cpp:130:21: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, unsigned int, mongo::StringMapTraits>': src/mongo/db/op_observer.h:310:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/third_party/icu4c-57.1/source/common/servslkf.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/servslkf.cpp src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long unsigned int, mongo::StringMapTraits>': src/mongo/db/views/view_graph.h:177:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/db/views/view_catalog.h:174:13: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Collection*, mongo::StringMapTraits>': src/mongo/db/catalog/database.h:165:38: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/s/catalog_cache.h:377:21: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/s/catalog_cache.h:379:24: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/s/catalog_cache.h:379:24: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/s/catalog_cache.h:379:24: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/third_party/icu4c-57.1/source/common/unistr_props.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/unistr_props.cpp g++ -o build/fedora/third_party/s2/s2loop.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -DDEBUG_MODE=false -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/third_party/s2/s2loop.cc src/third_party/s2/s2loop.cc: In member function 'void S2Loop::Init(const std::vector >&)': src/third_party/s2/s2loop.cc:97:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'S2Point' {aka 'class Vector3'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 97 | memcpy(vertices_, &vertices[0], num_vertices_ * sizeof(vertices_[0])); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/third_party/s2/util/math/vector3-inl.h:29, from src/third_party/s2/s2.h:26, from src/third_party/s2/s2loop.cc:16: src/third_party/s2/util/math/vector3.h:30:7: note: 'S2Point' {aka 'class Vector3'} declared here 30 | class Vector3 { | ^~~~~~~ src/third_party/s2/s2loop.cc: In constructor 'S2Loop::S2Loop(const S2Loop*)': src/third_party/s2/s2loop.cc:268:9: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'S2Point' {aka 'class Vector3'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 268 | memcpy(vertices_, src->vertices_, num_vertices_ * sizeof(vertices_[0])); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/s2/util/math/vector3.h:30:7: note: 'S2Point' {aka 'class Vector3'} declared here 30 | class Vector3 { | ^~~~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call g++ -o build/fedora/mongo/db/free_mon/http_client_curl.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/free_mon/http_client_curl.cpp ar rcsTD build/fedora/mongo/db/libtransaction_reaper.a build/fedora/mongo/db/transaction_reaper.o Skipping ranlib for thin archive build/fedora/mongo/db/libtransaction_reaper.a g++ -o build/fedora/mongo/db/keys_collection_client_direct.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/keys_collection_client_direct.cpp g++ -o build/fedora/third_party/icu4c-57.1/source/i18n/nultrans.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/nultrans.cpp g++ -o build/fedora/mongo/db/storage/ephemeral_for_test/ephemeral_for_test_init.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/storage/ephemeral_for_test/ephemeral_for_test_init.cpp In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from build/fedora/mongo/db/logical_session_id_gen.h:16, from src/mongo/db/logical_session_id.h:34, from src/mongo/db/service_context.h:36, from src/mongo/db/storage/ephemeral_for_test/ephemeral_for_test_init.cpp:32: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/db/storage/ephemeral_for_test/ephemeral_for_test_engine.h:121:13: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ ar rcsTD build/fedora/mongo/db/libkeys_collection_client_direct.a build/fedora/mongo/db/keys_collection_client_direct.o Skipping ranlib for thin archive build/fedora/mongo/db/libkeys_collection_client_direct.a g++ -o build/fedora/mongo/db/fts/tokenizer.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/fts/tokenizer.cpp g++ -o build/fedora/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src36.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -Wno-non-virtual-dtor -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -include js-confdefs.h -Wno-invalid-offsetof -fPIE -DIMPL_MFBT -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=1 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora/third_party/mozjs-45/extract/js/src -Isrc/third_party/mozjs-45/extract/js/src -Ibuild/fedora/third_party/mozjs-45/extract/mfbt -Isrc/third_party/mozjs-45/extract/mfbt -Ibuild/fedora/third_party/mozjs-45/extract/intl/icu/source/common -Isrc/third_party/mozjs-45/extract/intl/icu/source/common -Ibuild/fedora/third_party/mozjs-45/include -Isrc/third_party/mozjs-45/include -Ibuild/fedora/third_party/mozjs-45/mongo_sources -Isrc/third_party/mozjs-45/mongo_sources -Ibuild/fedora/third_party/mozjs-45/platform/x86_64/linux/build -Isrc/third_party/mozjs-45/platform/x86_64/linux/build -Ibuild/fedora/third_party/mozjs-45/platform/x86_64/linux/include -Isrc/third_party/mozjs-45/platform/x86_64/linux/include src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src36.cpp g++ -o build/fedora/third_party/icu4c-57.1/source/i18n/plurfmt.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/plurfmt.cpp g++ -o build/fedora/mongo/db/catalog/health_log_gen.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc build/fedora/mongo/db/catalog/health_log_gen.cpp In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/vm/RegExpObject.h:13, from src/third_party/mozjs-45/extract/js/src/builtin/RegExp.h:10, from src/third_party/mozjs-45/extract/js/src/jscompartment.h:15, from src/third_party/mozjs-45/extract/js/src/jsweakmap.h:13, from src/third_party/mozjs-45/extract/js/src/vm/WeakMapPtr.cpp:9, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src36.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1040:19: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 1040 | memcpy(&elements_[dstStart], src, count * sizeof(HeapSlot)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:22: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here 650 | class HeapSlot : public WriteBarrieredBase | ^~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1048:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 1048 | memcpy(&elements_[dstStart], src, count * sizeof(HeapSlot)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here 650 | class HeapSlot : public WriteBarrieredBase | ^~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1082:20: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 1082 | memmove(elements_ + dstStart, elements_ + srcStart, count * sizeof(HeapSlot)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here 650 | class HeapSlot : public WriteBarrieredBase | ^~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1094:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 1094 | memmove(elements_ + dstStart, elements_ + srcStart, count * sizeof(Value)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here 650 | class HeapSlot : public WriteBarrieredBase | ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/WeakMapPtr.h:10, from src/third_party/mozjs-45/extract/js/src/vm/WeakMapPtr.cpp:7: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': src/third_party/mozjs-45/include/js/MemoryMetrics.h:40:34: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/gc/StoreBuffer.h:18, from src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:13: src/third_party/mozjs-45/include/js/MemoryMetrics.h:31:8: note: 'struct JS::TabSizes' declared here 31 | struct TabSizes | ^~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::ServoSizes]': src/third_party/mozjs-45/include/js/MemoryMetrics.h:71:36: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::ServoSizes'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/MemoryMetrics.h:59:8: note: 'struct JS::ServoSizes' declared here 59 | struct ServoSizes | ^~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JSSubString]': src/third_party/mozjs-45/extract/js/src/jsstr.h:73:37: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JSSubString'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/TraceLoggingTypes.h:11, from src/third_party/mozjs-45/extract/js/src/vm/TraceLoggingGraph.h:15, from src/third_party/mozjs-45/extract/js/src/vm/TraceLogging.h:19, from src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:22, from src/third_party/mozjs-45/extract/js/src/jsscript.h:24: src/third_party/mozjs-45/extract/js/src/jsstr.h:68:8: note: 'struct JSSubString' declared here 68 | struct JSSubString { | ^~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::PreliminaryObjectArray]': src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:808:25: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::PreliminaryObjectArray'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:23: src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:796:7: note: 'class js::PreliminaryObjectArray' declared here 796 | class PreliminaryObjectArray | ^~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::TypeNewScript]': src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:939:39: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::TypeNewScript' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:886:7: note: 'class js::TypeNewScript' declared here 886 | class TypeNewScript | ^~~~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:699:25: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:686:8: note: 'struct js::jit::IonScriptCounts' declared here 686 | struct IonScriptCounts | ^~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': src/third_party/mozjs-45/extract/js/src/vm/String.h:1092:25: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/Shape.h:32, from src/third_party/mozjs-45/extract/js/src/jsobj.h:27, from src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:16: src/third_party/mozjs-45/extract/js/src/vm/String.h:1074:7: note: 'class js::StaticStrings' declared here 1074 | class StaticStrings | ^~~~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': src/third_party/mozjs-45/extract/js/src/vm/Shape.h:392:25: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/Shape.h:323:7: note: 'class js::BaseShape' declared here 323 | class BaseShape : public gc::TenuredCell | ^~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:293:40: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:244:7: note: 'class js::NewObjectCache' declared here 244 | class NewObjectCache | ^~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/include/js/TracingAPI.h:12, from src/third_party/mozjs-45/include/js/TraceableVector.h:13, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:14: src/third_party/mozjs-45/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': src/third_party/mozjs-45/include/js/HashTable.h:186:67: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' src/third_party/mozjs-45/extract/js/src/vm/SPSProfiler.h:256:18: required from here src/third_party/mozjs-45/include/js/HashTable.h:1550:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] 1550 | memset(table, 0, sizeof(*table) * capacity()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/HashTable.h:722:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here 722 | class HashTableEntry | ^~~~~~~~~~~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from build/fedora/mongo/db/catalog/health_log_gen.cpp:16: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from build/fedora/mongo/db/catalog/health_log_gen.h:16, from build/fedora/mongo/db/catalog/health_log_gen.cpp:9: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/mongo/db/repl/repl_set_heartbeat_args.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/repl/repl_set_heartbeat_args.cpp src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/bson/util/bson_check.h:33, from src/mongo/db/repl/repl_set_heartbeat_args.cpp:33: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/net/hostandport.h:35, from src/mongo/db/repl/repl_set_heartbeat_args.h:33, from src/mongo/db/repl/repl_set_heartbeat_args.cpp:31: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: 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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, bool, mongo::StringMapTraits>': src/mongo/bson/util/bson_check.h:62:43: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = bool; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = bool; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = bool; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = bool; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ ar rcsTD build/fedora/mongo/db/catalog/libhealth_log.a build/fedora/mongo/db/catalog/health_log.o build/fedora/mongo/db/catalog/health_log_gen.o Skipping ranlib for thin archive build/fedora/mongo/db/catalog/libhealth_log.a ar rcsTD build/fedora/mongo/db/catalog/libdocument_validation.a build/fedora/mongo/db/catalog/document_validation.o Skipping ranlib for thin archive build/fedora/mongo/db/catalog/libdocument_validation.a g++ -o build/fedora/third_party/icu4c-57.1/source/common/uniset_props.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/uniset_props.cpp ar rcsTD build/fedora/mongo/db/libdbhelpers.a build/fedora/mongo/db/dbhelpers.o Skipping ranlib for thin archive build/fedora/mongo/db/libdbhelpers.a ar rcsTD build/fedora/mongo/db/s/libmigration_types.a build/fedora/mongo/db/s/migration_session_id.o build/fedora/mongo/db/s/start_chunk_clone_request.o Skipping ranlib for thin archive build/fedora/mongo/db/s/libmigration_types.a g++ -o build/fedora/third_party/icu4c-57.1/source/common/appendable.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/appendable.cpp g++ -o build/fedora/mongo/s/catalog_cache.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/s/catalog_cache.cpp In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/s/catalog/type_database.h:34, from src/mongo/s/catalog_cache.h:34, from src/mongo/s/catalog_cache.cpp:33: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/s/catalog_cache.h:377:21: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/s/catalog_cache.h:379:24: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/s/catalog_cache.h:379:24: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/s/catalog_cache.h:379:24: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/mongo/util/errno_util.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/util/errno_util.cpp g++ -o build/fedora/mongo/db/ftdc/varint.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/ftdc/varint.cpp g++ -o build/fedora/mongo/s/catalog/dist_lock_catalog.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/s/catalog/dist_lock_catalog.cpp g++ -o build/fedora/third_party/icu4c-57.1/source/common/stringtriebuilder.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/stringtriebuilder.cpp gcc -o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_string.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -DUSE_COMPILER_F80_TYPE=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -Dlinux=1 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_string.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C gcc -o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_trig.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -DUSE_COMPILER_F80_TYPE=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -Dlinux=1 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_trig.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C g++ -o build/fedora/mongo/db/storage/wiredtiger/wiredtiger_options_init.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora/third_party/wiredtiger -Isrc/third_party/wiredtiger -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/storage/wiredtiger/wiredtiger_options_init.cpp g++ -o build/fedora/mongo/rpc/get_status_from_command_result.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/rpc/get_status_from_command_result.cpp gcc -o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_atanh.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -DUSE_COMPILER_F80_TYPE=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -Dlinux=1 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_atanh.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C g++ -o build/fedora/third_party/icu4c-57.1/source/i18n/nfrs.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/nfrs.cpp ar rcsTD build/fedora/mongo/crypto/libsha_block_openssl.a build/fedora/mongo/crypto/sha_block_openssl.o Skipping ranlib for thin archive build/fedora/mongo/crypto/libsha_block_openssl.a ar rcsTD build/fedora/mongo/s/catalog/libdist_lock_catalog_impl.a build/fedora/mongo/s/catalog/dist_lock_catalog_impl.o Skipping ranlib for thin archive build/fedora/mongo/s/catalog/libdist_lock_catalog_impl.a g++ -o build/fedora/mongo/db/fts/fts_unicode_tokenizer.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/fts/fts_unicode_tokenizer.cpp gcc -o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_cos.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -DUSE_COMPILER_F80_TYPE=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -Dlinux=1 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_cos.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C g++ -o build/fedora/third_party/icu4c-57.1/source/i18n/simpletz.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/simpletz.cpp gcc -o build/fedora/third_party/icu4c-57.1/source/common/umath.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/umath.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C gcc -o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_pow.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -DUSE_COMPILER_F80_TYPE=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -Dlinux=1 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_pow.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C g++ -o build/fedora/third_party/icu4c-57.1/source/i18n/ucal.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/ucal.cpp g++ -o build/fedora/third_party/s2/s1interval.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -DDEBUG_MODE=false -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/third_party/s2/s1interval.cc In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/db/fts/fts_util.h:35, from src/mongo/db/fts/fts_language.h:37, from src/mongo/db/fts/stemmer.h:35, from src/mongo/db/fts/fts_unicode_tokenizer.h:34, from src/mongo/db/fts/fts_unicode_tokenizer.cpp:31: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, bool, mongo::StringMapTraits>': src/mongo/db/fts/stop_words.h:62:21: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = bool; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = bool; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = bool; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = bool; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/mongo/util/uuid.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/util/uuid.cpp ar rcsTD build/fedora/mongo/s/catalog/libdist_lock_catalog_interface.a build/fedora/mongo/s/catalog/dist_lock_catalog.o Skipping ranlib for thin archive build/fedora/mongo/s/catalog/libdist_lock_catalog_interface.a gcc -o build/fedora/third_party/icu4c-57.1/source/common/ulist.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/ulist.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C ar rcsTD build/fedora/mongo/db/repl/libscatter_gather.a build/fedora/mongo/db/repl/scatter_gather_algorithm.o build/fedora/mongo/db/repl/scatter_gather_runner.o Skipping ranlib for thin archive build/fedora/mongo/db/repl/libscatter_gather.a g++ -o build/fedora/mongo/db/update/bit_node.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/update/bit_node.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/document_comparator.h:32, from src/mongo/db/pipeline/expression_context.h:41, from src/mongo/db/update/update_leaf_node.h:31, from src/mongo/db/update/modifier_node.h:31, from src/mongo/db/update/bit_node.h:31, from src/mongo/db/update/bit_node.cpp:31: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/bson/bsonobj.h:44, from src/mongo/db/pipeline/expression_context.h:37: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/third_party/icu4c-57.1/source/i18n/csrmbcs.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/csrmbcs.cpp g++ -o build/fedora/mongo/rpc/op_msg.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/rpc/op_msg.cpp g++ -o build/fedora/mongo/db/storage/wiredtiger/wiredtiger_record_store_mongod.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora/third_party/wiredtiger -Isrc/third_party/wiredtiger -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/storage/wiredtiger/wiredtiger_record_store_mongod.cpp g++ -o build/fedora/mongo/db/storage/wiredtiger/wiredtiger_server_status.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora/third_party/wiredtiger -Isrc/third_party/wiredtiger -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/storage/wiredtiger/wiredtiger_server_status.cpp In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/bson/timestamp.h:31, from src/mongo/db/catalog/collection.h:39, from src/mongo/db/storage/wiredtiger/wiredtiger_record_store_mongod.cpp:38: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/plan_cache.h:35, from src/mongo/db/catalog/collection_info_cache.h:33, from src/mongo/db/catalog/collection.h:41: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/db/commands/server_status.h:33, from src/mongo/db/storage/wiredtiger/wiredtiger_server_status.h:33, from src/mongo/db/storage/wiredtiger/wiredtiger_server_status.cpp:34: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/bson/mutable/element.h:34, from src/mongo/db/auth/privilege.h:32, from src/mongo/db/commands.h:39: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/db/storage/wiredtiger/wiredtiger_size_storer.h:106:12: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, unsigned int, mongo::StringMapTraits>': src/mongo/db/op_observer.h:310:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long unsigned int, mongo::StringMapTraits>': src/mongo/db/views/view_graph.h:177:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/db/views/view_catalog.h:174:13: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Collection*, mongo::StringMapTraits>': src/mongo/db/catalog/database.h:165:38: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Top::CollectionData, mongo::StringMapTraits>': src/mongo/db/stats/top.h:150:14: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/db/storage/wiredtiger/wiredtiger_size_storer.h:106:12: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call g++ -o build/fedora/mongo/db/storage/wiredtiger/wiredtiger_parameters.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora/third_party/wiredtiger -Isrc/third_party/wiredtiger -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/storage/wiredtiger/wiredtiger_parameters.cpp In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/db/server_parameters.h:39, from src/mongo/db/storage/wiredtiger/wiredtiger_parameters.h:30, from src/mongo/db/storage/wiredtiger/wiredtiger_parameters.cpp:32: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/db/storage/wiredtiger/wiredtiger_size_storer.h:106:12: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ ar rcsTD build/fedora/mongo/db/catalog/libindex_catalog_entry.a build/fedora/mongo/db/catalog/index_catalog_entry.o Skipping ranlib for thin archive build/fedora/mongo/db/catalog/libindex_catalog_entry.a /usr/bin/python3 src/mongo/db/fts/unicode/gen_diacritic_list.py src/third_party/unicode-8.0.0/PropList.txt build/fedora/mongo/db/fts/unicode/codepoints_diacritic_list.cpp g++ -o build/fedora/mongo/db/fts/unicode/codepoints_diacritic_list.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc build/fedora/mongo/db/fts/unicode/codepoints_diacritic_list.cpp g++ -o build/fedora/mongo/db/keys_collection_cache.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/keys_collection_cache.cpp ar rcsTD build/fedora/mongo/db/storage/wiredtiger/libstorage_wiredtiger.a build/fedora/mongo/db/storage/wiredtiger/wiredtiger_init.o build/fedora/mongo/db/storage/wiredtiger/wiredtiger_options_init.o build/fedora/mongo/db/storage/wiredtiger/wiredtiger_parameters.o build/fedora/mongo/db/storage/wiredtiger/wiredtiger_record_store_mongod.o build/fedora/mongo/db/storage/wiredtiger/wiredtiger_server_status.o Skipping ranlib for thin archive build/fedora/mongo/db/storage/wiredtiger/libstorage_wiredtiger.a g++ -o build/fedora/mongo/db/commands/feature_compatibility_version_parser.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/commands/feature_compatibility_version_parser.cpp g++ -o build/fedora/mongo/logger/redaction.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/logger/redaction.cpp ar rcsTD build/fedora/mongo/db/commands/libfeature_compatibility_parsers.a build/fedora/mongo/db/commands/feature_compatibility_version_parser.o build/fedora/mongo/db/commands/feature_compatibility_version_command_parser.o Skipping ranlib for thin archive build/fedora/mongo/db/commands/libfeature_compatibility_parsers.a g++ -o build/fedora/mongo/util/net/ssl_dummy.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/asio-master/asio/include -Ibuild/fedora -Isrc src/mongo/util/net/ssl_dummy.cpp ar rcsTD build/fedora/mongo/util/net/libssl_manager.a build/fedora/mongo/util/net/ssl_dummy.o Skipping ranlib for thin archive build/fedora/mongo/util/net/libssl_manager.a g++ -o build/fedora/third_party/icu4c-57.1/source/i18n/calendar.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/calendar.cpp g++ -o build/fedora/mongo/db/logical_session_cache_factory_mongod.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/logical_session_cache_factory_mongod.cpp g++ -o build/fedora/third_party/icu4c-57.1/source/common/uvector.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/uvector.cpp g++ -o build/fedora/mongo/db/concurrency/d_concurrency.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/concurrency/d_concurrency.cpp gcc -o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_erfc.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -DUSE_COMPILER_F80_TYPE=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -Dlinux=1 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_erfc.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C g++ -o build/fedora/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src4.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -Wno-non-virtual-dtor -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -include js-confdefs.h -Wno-invalid-offsetof -fPIE -DIMPL_MFBT -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=1 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora/third_party/mozjs-45/extract/js/src -Isrc/third_party/mozjs-45/extract/js/src -Ibuild/fedora/third_party/mozjs-45/extract/mfbt -Isrc/third_party/mozjs-45/extract/mfbt -Ibuild/fedora/third_party/mozjs-45/extract/intl/icu/source/common -Isrc/third_party/mozjs-45/extract/intl/icu/source/common -Ibuild/fedora/third_party/mozjs-45/include -Isrc/third_party/mozjs-45/include -Ibuild/fedora/third_party/mozjs-45/mongo_sources -Isrc/third_party/mozjs-45/mongo_sources -Ibuild/fedora/third_party/mozjs-45/platform/x86_64/linux/build -Isrc/third_party/mozjs-45/platform/x86_64/linux/build -Ibuild/fedora/third_party/mozjs-45/platform/x86_64/linux/include -Isrc/third_party/mozjs-45/platform/x86_64/linux/include src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src4.cpp gcc -o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_tan.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -DUSE_COMPILER_F80_TYPE=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -Dlinux=1 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_tan.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C g++ -o build/fedora/mongo/db/concurrency/lock_state.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/concurrency/lock_state.cpp In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/frontend/BytecodeCompiler.cpp:9, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src4.cpp:11: src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1040:19: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 1040 | memcpy(&elements_[dstStart], src, count * sizeof(HeapSlot)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/String.h:18, from src/third_party/mozjs-45/extract/js/src/frontend/BytecodeCompiler.h:12, from src/third_party/mozjs-45/extract/js/src/frontend/BytecodeCompiler.cpp:7: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here 650 | class HeapSlot : public WriteBarrieredBase | ^~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1048:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 1048 | memcpy(&elements_[dstStart], src, count * sizeof(HeapSlot)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here 650 | class HeapSlot : public WriteBarrieredBase | ^~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1082:20: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 1082 | memmove(elements_ + dstStart, elements_ + srcStart, count * sizeof(HeapSlot)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here 650 | class HeapSlot : public WriteBarrieredBase | ^~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1094:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 1094 | memmove(elements_ + dstStart, elements_ + srcStart, count * sizeof(Value)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here 650 | class HeapSlot : public WriteBarrieredBase | ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/frontend/BytecodeCompiler.cpp:21: src/third_party/mozjs-45/extract/js/src/jsobjinlines.h: In static member function 'static JSObject* JSObject::create(js::ExclusiveContext*, js::gc::AllocKind, js::gc::InitialHeap, js::HandleShape, js::HandleObjectGroup)': src/third_party/mozjs-45/extract/js/src/jsobjinlines.h:355:15: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::HeapSlot'; use assignment instead [-Wclass-memaccess] 355 | memset(obj->as().fixedSlots(), 0, size - sizeof(js::NativeObject)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here 650 | class HeapSlot : public WriteBarrieredBase | ^~~~~~~~ src/mongo/db/concurrency/lock_state.cpp: In instantiation of 'boost::optional mongo::LockerImpl::getLockerInfo() const [with bool IsForMMAPV1 = true]': src/mongo/db/concurrency/lock_state.cpp:1135:16: required from here src/mongo/db/concurrency/lock_state.cpp:667:32: warning: redundant move in return statement [-Wredundant-move] 667 | return std::move(lockerInfo); | ^ src/mongo/db/concurrency/lock_state.cpp:667:32: note: remove 'std::move' call src/mongo/db/concurrency/lock_state.cpp: In instantiation of 'boost::optional mongo::LockerImpl::getLockerInfo() const [with bool IsForMMAPV1 = false]': src/mongo/db/concurrency/lock_state.cpp:1136:16: required from here src/mongo/db/concurrency/lock_state.cpp:667:32: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/concurrency/lock_state.cpp:667:32: note: remove 'std::move' call In file included from src/third_party/mozjs-45/extract/js/src/ds/LifoAlloc.h:15, from src/third_party/mozjs-45/extract/js/src/ds/LifoAlloc.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src4.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JSSubString]': src/third_party/mozjs-45/extract/js/src/jsstr.h:73:37: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JSSubString'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/String.h:16: src/third_party/mozjs-45/extract/js/src/jsstr.h:68:8: note: 'struct JSSubString' declared here 68 | struct JSSubString { | ^~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': src/third_party/mozjs-45/include/js/MemoryMetrics.h:40:34: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/gc/StoreBuffer.h:18, from src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:13: src/third_party/mozjs-45/include/js/MemoryMetrics.h:31:8: note: 'struct JS::TabSizes' declared here 31 | struct TabSizes | ^~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::ServoSizes]': src/third_party/mozjs-45/include/js/MemoryMetrics.h:71:36: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::ServoSizes'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/MemoryMetrics.h:59:8: note: 'struct JS::ServoSizes' declared here 59 | struct ServoSizes | ^~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': src/third_party/mozjs-45/extract/js/src/vm/String.h:1092:25: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/String.h:1074:7: note: 'class js::StaticStrings' declared here 1074 | class StaticStrings | ^~~~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::PreliminaryObjectArray]': src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:808:25: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::PreliminaryObjectArray'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:23, from src/third_party/mozjs-45/extract/js/src/jsscript.h:24: src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:796:7: note: 'class js::PreliminaryObjectArray' declared here 796 | class PreliminaryObjectArray | ^~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::TypeNewScript]': src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:939:39: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::TypeNewScript' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:886:7: note: 'class js::TypeNewScript' declared here 886 | class TypeNewScript | ^~~~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:699:25: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:686:8: note: 'struct js::jit::IonScriptCounts' declared here 686 | struct IonScriptCounts | ^~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': src/third_party/mozjs-45/extract/js/src/vm/Shape.h:392:25: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsobj.h:27, from src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:16: src/third_party/mozjs-45/extract/js/src/vm/Shape.h:323:7: note: 'class js::BaseShape' declared here 323 | class BaseShape : public gc::TenuredCell | ^~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:293:40: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:244:7: note: 'class js::NewObjectCache' declared here 244 | class NewObjectCache | ^~~~~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::Address]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:290:33: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::Address'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/Safepoints.h:12, from src/third_party/mozjs-45/extract/js/src/jit/JitFrames.h:16, from src/third_party/mozjs-45/extract/js/src/jscntxtinlines.h:16, from src/third_party/mozjs-45/extract/js/src/jscompartmentinlines.h:14, from src/third_party/mozjs-45/extract/js/src/jsobjinlines.h:29: src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:282:8: note: 'struct js::jit::Address' declared here 282 | struct Address | ^~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::BaseIndex]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:306:35: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::BaseIndex'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:295:8: note: 'struct js::jit::BaseIndex' declared here 295 | struct BaseIndex | ^~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::CodeOffsetJump]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:513:25: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::jit::CodeOffsetJump'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:491:7: note: 'class js::jit::CodeOffsetJump' declared here 491 | class CodeOffsetJump | ^~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/include/js/TracingAPI.h:12, from src/third_party/mozjs-45/include/js/TraceableVector.h:13, from src/third_party/mozjs-45/extract/js/src/NamespaceImports.h:16, from src/third_party/mozjs-45/extract/js/src/frontend/BytecodeCompiler.h:10: src/third_party/mozjs-45/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': src/third_party/mozjs-45/include/js/HashTable.h:186:67: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' src/third_party/mozjs-45/extract/js/src/vm/SPSProfiler.h:256:18: required from here src/third_party/mozjs-45/include/js/HashTable.h:1550:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] 1550 | memset(table, 0, sizeof(*table) * capacity()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/HashTable.h:722:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here 722 | class HashTableEntry | ^~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': src/third_party/mozjs-45/include/js/HashTable.h:186:67: required from 'void js::HashMap::clear() [with Key = JSAtom*; Value = long unsigned int; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' src/third_party/mozjs-45/extract/js/src/ds/InlineMap.h:63:22: required from 'bool js::InlineMap::switchToMap() [with K = JSAtom*; V = long unsigned int; long unsigned int InlineElems = 24]' src/third_party/mozjs-45/extract/js/src/ds/InlineMap.h:84:14: required from 'bool js::InlineMap::switchAndAdd(const K&, const V&) [with K = JSAtom*; V = long unsigned int; long unsigned int InlineElems = 24]' src/third_party/mozjs-45/extract/js/src/ds/InlineMap.h:265:24: required from 'bool js::InlineMap::add(AddPtr&, const K&, const V&) [with K = JSAtom*; V = long unsigned int; long unsigned int InlineElems = 24]' src/third_party/mozjs-45/extract/js/src/frontend/BytecodeEmitter.h:266:30: required from here src/third_party/mozjs-45/include/js/HashTable.h:1550:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] 1550 | memset(table, 0, sizeof(*table) * capacity()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/HashTable.h:722:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here 722 | class HashTableEntry | ^~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': src/third_party/mozjs-45/include/js/HashTable.h:186:67: required from 'void js::HashMap::clear() [with Key = JSAtom*; Value = js::frontend::DefinitionList; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' src/third_party/mozjs-45/extract/js/src/ds/InlineMap.h:63:22: required from 'bool js::InlineMap::switchToMap() [with K = JSAtom*; V = js::frontend::DefinitionList; long unsigned int InlineElems = 24]' src/third_party/mozjs-45/extract/js/src/ds/InlineMap.h:84:14: required from 'bool js::InlineMap::switchAndAdd(const K&, const V&) [with K = JSAtom*; V = js::frontend::DefinitionList; long unsigned int InlineElems = 24]' src/third_party/mozjs-45/extract/js/src/ds/InlineMap.h:265:24: required from 'bool js::InlineMap::add(AddPtr&, const K&, const V&) [with K = JSAtom*; V = js::frontend::DefinitionList; long unsigned int InlineElems = 24]' src/third_party/mozjs-45/extract/js/src/frontend/ParseMaps.h:457:28: required from 'bool js::frontend::AtomDecls::addUnique(JSAtom*, DefinitionNode) [with ParseHandler = js::frontend::FullParseHandler; DefinitionNode = js::frontend::Definition*]' src/third_party/mozjs-45/extract/js/src/frontend/ParseMaps.cpp:136:30: required from here src/third_party/mozjs-45/include/js/HashTable.h:1550:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] 1550 | memset(table, 0, sizeof(*table) * capacity()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/HashTable.h:722:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here 722 | class HashTableEntry | ^~~~~~~~~~~~~~ g++ -o build/fedora/mongo/db/concurrency/lock_manager.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/concurrency/lock_manager.cpp In file included from src/third_party/mozjs-45/include/js/Value.h:22, from src/third_party/mozjs-45/extract/js/src/jsutil.h:22, from src/third_party/mozjs-45/extract/js/src/ds/LifoAlloc.h:24: In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSScript*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'BytecodeCompiler::checkArgumentsWithinEval(JSContext*, JS::Handle)' at src/third_party/mozjs-45/extract/js/src/frontend/BytecodeCompiler.cpp:404:55: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'script' in 'MEM[(struct Rooted * *)cx_30(D) + 80B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/frontend/BytecodeCompiler.cpp: In member function 'BytecodeCompiler::checkArgumentsWithinEval(JSContext*, JS::Handle)': src/third_party/mozjs-45/extract/js/src/frontend/BytecodeCompiler.cpp:404:18: note: 'script' declared here 404 | RootedScript script(cx, fun->getOrCreateScript(cx)); | ^~~~~~ src/third_party/mozjs-45/extract/js/src/frontend/BytecodeCompiler.cpp:404:18: note: 'cx_30(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(js::ExclusiveContext* const&, js::PlainObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::frontend::BytecodeEmitter::iteratorResultShape(unsigned int*)' at src/third_party/mozjs-45/extract/js/src/frontend/BytecodeEmitter.cpp:2500:92: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'obj' in 'MEM[(struct Rooted * *)_18 + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src4.cpp:20: src/third_party/mozjs-45/extract/js/src/frontend/BytecodeEmitter.cpp: In member function 'js::frontend::BytecodeEmitter::iteratorResultShape(unsigned int*)': src/third_party/mozjs-45/extract/js/src/frontend/BytecodeEmitter.cpp:2500:23: note: 'obj' declared here 2500 | RootedPlainObject obj(cx, NewBuiltinClassInstance(cx, kind, TenuredObject)); | ^~~ src/third_party/mozjs-45/extract/js/src/frontend/BytecodeEmitter.cpp:2500:23: note: 'MEM[(struct ExclusiveContext * const &)this_17(D) + 8]' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted&>(js::ExclusiveContext* const&, JS::Handle&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from '(anonymous namespace)::NameResolver::resolve(js::frontend::ParseNode*, JS::Handle)' at src/third_party/mozjs-45/extract/js/src/frontend/NameFunctions.cpp:336:40: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'prefix' in 'MEM[(struct Rooted * *)_232 + 56B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src4.cpp:38: src/third_party/mozjs-45/extract/js/src/frontend/NameFunctions.cpp: In member function '(anonymous namespace)::NameResolver::resolve(js::frontend::ParseNode*, JS::Handle)': src/third_party/mozjs-45/extract/js/src/frontend/NameFunctions.cpp:336:20: note: 'prefix' declared here 336 | RootedAtom prefix(cx, prefixArg); | ^~~~~~ src/third_party/mozjs-45/extract/js/src/frontend/NameFunctions.cpp:336:20: note: 'MEM[(struct ExclusiveContext * const &)this_56(D)]' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(js::ExclusiveContext* const&, JSFunction*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::frontend::BytecodeEmitter::emitFunction(js::frontend::ParseNode*, bool)' at src/third_party/mozjs-45/extract/js/src/frontend/BytecodeEmitter.cpp:6202:46: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'fun' in 'MEM[(struct Rooted * *)_141 + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/frontend/BytecodeEmitter.cpp: In member function 'js::frontend::BytecodeEmitter::emitFunction(js::frontend::ParseNode*, bool)': src/third_party/mozjs-45/extract/js/src/frontend/BytecodeEmitter.cpp:6202:20: note: 'fun' declared here 6202 | RootedFunction fun(cx, funbox->function()); | ^~~ src/third_party/mozjs-45/extract/js/src/frontend/BytecodeEmitter.cpp:6202:20: note: 'MEM[(struct ExclusiveContext * const &)this_59(D) + 8]' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(js::ExclusiveContext* const&, JSScript*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::frontend::BytecodeEmitter::emitFunction(js::frontend::ParseNode*, bool)' at src/third_party/mozjs-45/extract/js/src/frontend/BytecodeEmitter.cpp:6257:92: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'script' in 'MEM[(struct Rooted * *)_177 + 80B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/frontend/BytecodeEmitter.cpp: In member function 'js::frontend::BytecodeEmitter::emitFunction(js::frontend::ParseNode*, bool)': src/third_party/mozjs-45/extract/js/src/frontend/BytecodeEmitter.cpp:6255:31: note: 'script' declared here 6255 | Rooted script(cx, JSScript::Create(cx, enclosingScope, false, options, | ^~~~~~ src/third_party/mozjs-45/extract/js/src/frontend/BytecodeEmitter.cpp:6255:31: note: 'MEM[(struct ExclusiveContext * const &)this_59(D) + 8]' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(js::ExclusiveContext* const&, js::ModuleObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'BytecodeCompiler::compileModule()' at src/third_party/mozjs-45/extract/js/src/frontend/BytecodeCompiler.cpp:570:84: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'module' in 'MEM[(struct Rooted * *)_65 + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/frontend/BytecodeCompiler.cpp: In member function 'BytecodeCompiler::compileModule()': src/third_party/mozjs-45/extract/js/src/frontend/BytecodeCompiler.cpp:570:27: note: 'module' declared here 570 | Rooted module(cx, ModuleObject::create(cx, enclosingStaticScope)); | ^~~~~~ src/third_party/mozjs-45/extract/js/src/frontend/BytecodeCompiler.cpp:570:27: note: 'MEM[(struct ExclusiveContext * const &)this_30(D) + 32]' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(js::ExclusiveContext* const&, js::ModuleEnvironmentObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'BytecodeCompiler::compileModule()' at src/third_party/mozjs-45/extract/js/src/frontend/BytecodeCompiler.cpp:592:95: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'dynamicScope' in 'MEM[(struct Rooted * *)_88 + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/frontend/BytecodeCompiler.cpp: In member function 'BytecodeCompiler::compileModule()': src/third_party/mozjs-45/extract/js/src/frontend/BytecodeCompiler.cpp:592:35: note: 'dynamicScope' declared here 592 | RootedModuleEnvironmentObject dynamicScope(cx, ModuleEnvironmentObject::create(cx, module)); | ^~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/frontend/BytecodeCompiler.cpp:592:35: note: 'MEM[(struct ExclusiveContext * const &)this_30(D) + 32]' declared here ar rcsTD build/fedora/mongo/db/concurrency/liblock_manager.a build/fedora/mongo/db/concurrency/d_concurrency.o build/fedora/mongo/db/concurrency/global_lock_acquisition_tracker.o build/fedora/mongo/db/concurrency/lock_manager.o build/fedora/mongo/db/concurrency/lock_state.o build/fedora/mongo/db/concurrency/lock_stats.o Skipping ranlib for thin archive build/fedora/mongo/db/concurrency/liblock_manager.a g++ -o build/fedora/mongo/base/data_type_string_data.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/base/data_type_string_data.cpp g++ -o build/fedora/mongo/db/catalog_raii.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/catalog_raii.cpp In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/bson/timestamp.h:31, from src/mongo/db/catalog/collection.h:39, from src/mongo/db/catalog_raii.h:32, from src/mongo/db/catalog_raii.cpp:31: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/plan_cache.h:35, from src/mongo/db/catalog/collection_info_cache.h:33, from src/mongo/db/catalog/collection.h:41: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call g++ -o build/fedora/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src16.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -Wno-non-virtual-dtor -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -include js-confdefs.h -Wno-invalid-offsetof -fPIE -DIMPL_MFBT -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=1 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora/third_party/mozjs-45/extract/js/src -Isrc/third_party/mozjs-45/extract/js/src -Ibuild/fedora/third_party/mozjs-45/extract/mfbt -Isrc/third_party/mozjs-45/extract/mfbt -Ibuild/fedora/third_party/mozjs-45/extract/intl/icu/source/common -Isrc/third_party/mozjs-45/extract/intl/icu/source/common -Ibuild/fedora/third_party/mozjs-45/include -Isrc/third_party/mozjs-45/include -Ibuild/fedora/third_party/mozjs-45/mongo_sources -Isrc/third_party/mozjs-45/mongo_sources -Ibuild/fedora/third_party/mozjs-45/platform/x86_64/linux/build -Isrc/third_party/mozjs-45/platform/x86_64/linux/build -Ibuild/fedora/third_party/mozjs-45/platform/x86_64/linux/include -Isrc/third_party/mozjs-45/platform/x86_64/linux/include src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src16.cpp 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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jit/JitAllocPolicy.h:13, from src/third_party/mozjs-45/extract/js/src/jit/IonAnalysis.h:12, from src/third_party/mozjs-45/extract/js/src/jit/RangeAnalysis.h:13, from src/third_party/mozjs-45/extract/js/src/jit/RangeAnalysis.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src16.cpp:11: src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1040:19: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 1040 | memcpy(&elements_[dstStart], src, count * sizeof(HeapSlot)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:22: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here 650 | class HeapSlot : public WriteBarrieredBase | ^~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1048:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 1048 | memcpy(&elements_[dstStart], src, count * sizeof(HeapSlot)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here 650 | class HeapSlot : public WriteBarrieredBase | ^~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1082:20: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 1082 | memmove(elements_ + dstStart, elements_ + srcStart, count * sizeof(HeapSlot)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here 650 | class HeapSlot : public WriteBarrieredBase | ^~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1094:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 1094 | memmove(elements_ + dstStart, elements_ + srcStart, count * sizeof(Value)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here 650 | class HeapSlot : public WriteBarrieredBase | ^~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/Interpreter-inl.h:20, from src/third_party/mozjs-45/extract/js/src/jit/Recover.cpp:29, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src16.cpp:20: src/third_party/mozjs-45/extract/js/src/jsobjinlines.h: In static member function 'static JSObject* JSObject::create(js::ExclusiveContext*, js::gc::AllocKind, js::gc::InitialHeap, js::HandleShape, js::HandleObjectGroup)': src/third_party/mozjs-45/extract/js/src/jsobjinlines.h:355:15: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::HeapSlot'; use assignment instead [-Wclass-memaccess] 355 | memset(obj->as().fixedSlots(), 0, size - sizeof(js::NativeObject)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here 650 | class HeapSlot : public WriteBarrieredBase | ^~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, unsigned int, mongo::StringMapTraits>': src/mongo/db/op_observer.h:310:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long unsigned int, mongo::StringMapTraits>': src/mongo/db/views/view_graph.h:177:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/db/views/view_catalog.h:174:13: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Collection*, mongo::StringMapTraits>': src/mongo/db/catalog/database.h:165:38: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::vector, mongo::StringMapTraits>': src/mongo/db/catalog/uuid_catalog.h:234:44: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::vector; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::vector; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::vector; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::vector; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/extract/js/src/jsapi.h:25, from src/third_party/mozjs-45/extract/js/src/jsfriendapi.h:15, from src/third_party/mozjs-45/extract/js/src/jit/ProcessExecutableMemory.cpp:16, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src16.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': src/third_party/mozjs-45/include/js/MemoryMetrics.h:40:34: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/gc/StoreBuffer.h:18, from src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:13: src/third_party/mozjs-45/include/js/MemoryMetrics.h:31:8: note: 'struct JS::TabSizes' declared here 31 | struct TabSizes | ^~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::ServoSizes]': src/third_party/mozjs-45/include/js/MemoryMetrics.h:71:36: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::ServoSizes'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/MemoryMetrics.h:59:8: note: 'struct JS::ServoSizes' declared here 59 | struct ServoSizes | ^~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JSSubString]': src/third_party/mozjs-45/extract/js/src/jsstr.h:73:37: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JSSubString'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/TraceLoggingTypes.h:11, from src/third_party/mozjs-45/extract/js/src/vm/TraceLoggingGraph.h:15, from src/third_party/mozjs-45/extract/js/src/vm/TraceLogging.h:19, from src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:22, from src/third_party/mozjs-45/extract/js/src/jsscript.h:24: src/third_party/mozjs-45/extract/js/src/jsstr.h:68:8: note: 'struct JSSubString' declared here 68 | struct JSSubString { | ^~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::PreliminaryObjectArray]': src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:808:25: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::PreliminaryObjectArray'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:23: src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:796:7: note: 'class js::PreliminaryObjectArray' declared here 796 | class PreliminaryObjectArray | ^~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::TypeNewScript]': src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:939:39: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::TypeNewScript' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:886:7: note: 'class js::TypeNewScript' declared here 886 | class TypeNewScript | ^~~~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:699:25: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:686:8: note: 'struct js::jit::IonScriptCounts' declared here 686 | struct IonScriptCounts | ^~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': src/third_party/mozjs-45/extract/js/src/vm/String.h:1092:25: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/Shape.h:32, from src/third_party/mozjs-45/extract/js/src/jsobj.h:27, from src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:16: src/third_party/mozjs-45/extract/js/src/vm/String.h:1074:7: note: 'class js::StaticStrings' declared here 1074 | class StaticStrings | ^~~~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': src/third_party/mozjs-45/extract/js/src/vm/Shape.h:392:25: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/Shape.h:323:7: note: 'class js::BaseShape' declared here 323 | class BaseShape : public gc::TenuredCell | ^~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:293:40: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:244:7: note: 'class js::NewObjectCache' declared here 244 | class NewObjectCache | ^~~~~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::Address]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:290:33: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::Address'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/Safepoints.h:12, from src/third_party/mozjs-45/extract/js/src/jit/JitFrames.h:16, from src/third_party/mozjs-45/extract/js/src/jit/Bailouts.h:13, from src/third_party/mozjs-45/extract/js/src/jit/BaselineJIT.h:16, from src/third_party/mozjs-45/extract/js/src/jit/BaselineIC.h:19, from src/third_party/mozjs-45/extract/js/src/jit/MIR.h:20, from src/third_party/mozjs-45/extract/js/src/jit/IonAnalysis.h:13: src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:282:8: note: 'struct js::jit::Address' declared here 282 | struct Address | ^~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::BaseIndex]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:306:35: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::BaseIndex'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:295:8: note: 'struct js::jit::BaseIndex' declared here 295 | struct BaseIndex | ^~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::CodeOffsetJump]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:513:25: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::jit::CodeOffsetJump'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:491:7: note: 'class js::jit::CodeOffsetJump' declared here 491 | class CodeOffsetJump | ^~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsapi.h:29: src/third_party/mozjs-45/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': src/third_party/mozjs-45/include/js/HashTable.h:186:67: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' src/third_party/mozjs-45/extract/js/src/vm/SPSProfiler.h:256:18: required from here src/third_party/mozjs-45/include/js/HashTable.h:1550:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] 1550 | memset(table, 0, sizeof(*table) * capacity()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/HashTable.h:722:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here 722 | class HashTableEntry | ^~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jit/JitAllocPolicy.h: In instantiation of 'T* js::jit::JitAllocPolicy::maybe_pod_calloc(size_t) [with T = js::detail::HashTableEntry >; size_t = long unsigned int]': src/third_party/mozjs-45/include/js/HashTable.h:1144:54: required from 'static js::detail::HashTable::Entry* js::detail::HashTable::createTable(AllocPolicy&, uint32_t, FailureBehavior) [with T = js::HashMapEntry; HashPolicy = js::HashMap::MapHashPolicy; AllocPolicy = js::jit::JitAllocPolicy; Entry = js::detail::HashTableEntry >; uint32_t = unsigned int]' src/third_party/mozjs-45/include/js/HashTable.h:1212:28: required from 'bool js::detail::HashTable::init(uint32_t) [with T = js::HashMapEntry; HashPolicy = js::HashMap::MapHashPolicy; AllocPolicy = js::jit::JitAllocPolicy; uint32_t = unsigned int]' src/third_party/mozjs-45/include/js/HashTable.h:79:73: required from 'bool js::HashMap::init(uint32_t) [with Key = JS::Value; Value = unsigned int; HashPolicy = js::jit::LIRGraph::ValueHasher; AllocPolicy = js::jit::JitAllocPolicy; uint32_t = unsigned int]' src/third_party/mozjs-45/extract/js/src/jit/LIR.h:1696:37: required from here src/third_party/mozjs-45/extract/js/src/jit/JitAllocPolicy.h:92:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::detail::HashTableEntry >' with no trivial copy-assignment [-Wclass-memaccess] 92 | memset(p, 0, numElems * sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/HashTable.h:722:7: note: 'class js::detail::HashTableEntry >' declared here 722 | class HashTableEntry | ^~~~~~~~~~~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call g++ -o build/fedora/mongo/s/write_ops/cluster_write.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/s/write_ops/cluster_write.cpp In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/bson/timestamp.h:31, from src/mongo/s/write_ops/batch_write_exec.h:34, from src/mongo/s/write_ops/cluster_write.h:33, from src/mongo/s/write_ops/cluster_write.cpp:33: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/s/catalog_cache.h:377:21: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/s/catalog_cache.h:379:24: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/s/catalog_cache.h:379:24: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/s/catalog_cache.h:379:24: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ gcc -o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_expm1.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -DUSE_COMPILER_F80_TYPE=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -Dlinux=1 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_expm1.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C g++ -o build/fedora/mongo/db/curop.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/curop.cpp ar rcsTD build/fedora/mongo/s/libsharding_api.a build/fedora/mongo/s/write_ops/cluster_write.o Skipping ranlib for thin archive build/fedora/mongo/s/libsharding_api.a g++ -o build/fedora/mongo/db/prefetch.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/prefetch.cpp In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/bson/timestamp.h:31, from src/mongo/db/catalog/collection.h:39, from src/mongo/db/prefetch.cpp:35: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/plan_cache.h:35, from src/mongo/db/catalog/collection_info_cache.h:33, from src/mongo/db/catalog/collection.h:41: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/db/curop.h:35, from src/mongo/db/curop.cpp:35: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/bson/mutable/element.h:34, from src/mongo/db/auth/privilege.h:32, from src/mongo/db/commands.h:39: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ 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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ 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: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 In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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: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_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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: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_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, unsigned int, mongo::StringMapTraits>': src/mongo/db/op_observer.h:310:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long unsigned int, mongo::StringMapTraits>': src/mongo/db/views/view_graph.h:177:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/db/views/view_catalog.h:174:13: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Collection*, mongo::StringMapTraits>': src/mongo/db/catalog/database.h:165:38: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call In file included from src/mongo/util/progress_meter.h:32, from src/mongo/db/curop.h:40: src/mongo/util/thread_safe_string.h: In member function 'mongo::CurOp::CurOp(mongo::OperationContext*, mongo::CurOp::CurOpStack*)': src/mongo/util/thread_safe_string.h:64:16: warning: 'strncpy' output truncated copying between 0 and 8 bytes from a string of length 8 [-Wstringop-truncation] 64 | strncpy(_buf, str.rawData(), s); | ^ g++ -o build/fedora/third_party/s2/s2cellunion.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -DDEBUG_MODE=false -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/third_party/s2/s2cellunion.cc g++ -o build/fedora/mongo/db/pipeline/variables.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/pipeline/variables.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/variables.h:31, from src/mongo/db/pipeline/variables.cpp:31: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/bson/bsonmisc.h:32, from src/mongo/db/pipeline/value_internal.h:35: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/mongo/db/pipeline/expression_context.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/pipeline/expression_context.cpp g++ -o build/fedora/mongo/db/repl/rs_rollback.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/repl/rs_rollback.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/document_comparator.h:32, from src/mongo/db/pipeline/expression_context.h:41, from src/mongo/db/pipeline/expression_context.cpp:31: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/bson/bsonobj.h:44, from src/mongo/db/pipeline/expression_context.h:37: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:36, from src/mongo/db/pipeline/pipeline.h:36, from src/mongo/db/pipeline/stub_mongo_process_interface.h:32, from src/mongo/db/pipeline/expression_context.cpp:32: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37: 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: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::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::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::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/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/db/repl/rs_rollback.h:32, from src/mongo/db/repl/rs_rollback.cpp:33: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/plan_cache.h:35, from src/mongo/db/catalog/collection_info_cache.h:33, from src/mongo/db/catalog/collection.h:41, from src/mongo/db/catalog/uuid_catalog.h:34, from src/mongo/db/repl/rs_rollback.cpp:47: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ 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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ 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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, unsigned int, mongo::StringMapTraits>': src/mongo/db/op_observer.h:310:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::vector, mongo::StringMapTraits>': src/mongo/db/catalog/uuid_catalog.h:234:44: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::vector; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::vector; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::vector; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::vector; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long unsigned int, mongo::StringMapTraits>': src/mongo/db/views/view_graph.h:177:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/db/views/view_catalog.h:174:13: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Collection*, mongo::StringMapTraits>': src/mongo/db/catalog/database.h:165:38: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Top::CollectionData, mongo::StringMapTraits>': src/mongo/db/stats/top.h:150:14: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::repl::ReplSetTagPattern, mongo::StringMapTraits>': src/mongo/db/repl/repl_set_config.h:402:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::repl::ReplSetTagPattern; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::repl::ReplSetTagPattern; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::repl::ReplSetTagPattern; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::repl::ReplSetTagPattern; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ ar rcsTD build/fedora/mongo/db/pipeline/libexpression_context.a build/fedora/mongo/db/pipeline/expression_context.o build/fedora/mongo/db/pipeline/variables.o Skipping ranlib for thin archive build/fedora/mongo/db/pipeline/libexpression_context.a g++ -o build/fedora/mongo/db/service_liaison_mongod.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/service_liaison_mongod.cpp In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/query_solution.h:36, from src/mongo/db/query/plan_executor.h:37, from src/mongo/db/clientcursor.h:38, from src/mongo/db/cursor_manager.h:34, from src/mongo/db/service_liaison_mongod.cpp:34: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from build/fedora/mongo/db/logical_session_id_gen.h:16, from src/mongo/db/logical_session_id.h:34, from src/mongo/db/service_liaison_mongod.h:31, from src/mongo/db/service_liaison_mongod.cpp:31: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36, from src/mongo/db/query/plan_cache.h:35, from src/mongo/db/query/query_solution.h:38: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call g++ -o build/fedora/third_party/s2/s2pointregion.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -DDEBUG_MODE=false -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/third_party/s2/s2pointregion.cc g++ -o build/fedora/mongo/db/db.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/db/db.cpp ar rcsTD build/fedora/mongo/db/repl/librs_rollback.a build/fedora/mongo/db/repl/rs_rollback.o Skipping ranlib for thin archive build/fedora/mongo/db/repl/librs_rollback.a g++ -o build/fedora/third_party/mozjs-45/extract/js/src/builtin/RegExp.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -Wno-non-virtual-dtor -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -include js-confdefs.h -Wno-invalid-offsetof -fPIE -DIMPL_MFBT -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=1 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora/third_party/mozjs-45/extract/js/src -Isrc/third_party/mozjs-45/extract/js/src -Ibuild/fedora/third_party/mozjs-45/extract/mfbt -Isrc/third_party/mozjs-45/extract/mfbt -Ibuild/fedora/third_party/mozjs-45/extract/intl/icu/source/common -Isrc/third_party/mozjs-45/extract/intl/icu/source/common -Ibuild/fedora/third_party/mozjs-45/include -Isrc/third_party/mozjs-45/include -Ibuild/fedora/third_party/mozjs-45/mongo_sources -Isrc/third_party/mozjs-45/mongo_sources -Ibuild/fedora/third_party/mozjs-45/platform/x86_64/linux/build -Isrc/third_party/mozjs-45/platform/x86_64/linux/build -Ibuild/fedora/third_party/mozjs-45/platform/x86_64/linux/include -Isrc/third_party/mozjs-45/platform/x86_64/linux/include src/third_party/mozjs-45/extract/js/src/builtin/RegExp.cpp In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/client/connection_string.h:38, from src/mongo/client/dbclientinterface.h:34, from src/mongo/client/connpool.h:35, from src/mongo/client/global_conn_pool.h:31, from src/mongo/db/db.cpp:46: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::weak_ptr, mongo::StringMapTraits>': src/mongo/client/replica_set_monitor_manager.h:101:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::weak_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::weak_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::weak_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::weak_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/vm/RegExpObject.h:13, from src/third_party/mozjs-45/extract/js/src/builtin/RegExp.h:10, from src/third_party/mozjs-45/extract/js/src/builtin/RegExp.cpp:7: src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1040:19: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 1040 | memcpy(&elements_[dstStart], src, count * sizeof(HeapSlot)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:22: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here 650 | class HeapSlot : public WriteBarrieredBase | ^~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1048:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 1048 | memcpy(&elements_[dstStart], src, count * sizeof(HeapSlot)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here 650 | class HeapSlot : public WriteBarrieredBase | ^~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1082:20: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 1082 | memmove(elements_ + dstStart, elements_ + srcStart, count * sizeof(HeapSlot)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here 650 | class HeapSlot : public WriteBarrieredBase | ^~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1094:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 1094 | memmove(elements_ + dstStart, elements_ + srcStart, count * sizeof(Value)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here 650 | class HeapSlot : public WriteBarrieredBase | ^~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/plan_cache.h:35, from src/mongo/db/catalog/collection_info_cache.h:33, from src/mongo/db/catalog/collection.h:41, from src/mongo/db/db.cpp:53: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/third_party/mozjs-45/extract/js/src/builtin/RegExp.cpp:18: src/third_party/mozjs-45/extract/js/src/jsobjinlines.h: In static member function 'static JSObject* JSObject::create(js::ExclusiveContext*, js::gc::AllocKind, js::gc::InitialHeap, js::HandleShape, js::HandleObjectGroup)': src/third_party/mozjs-45/extract/js/src/jsobjinlines.h:355:15: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::HeapSlot'; use assignment instead [-Wclass-memaccess] 355 | memset(obj->as().fixedSlots(), 0, size - sizeof(js::NativeObject)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here 650 | class HeapSlot : public WriteBarrieredBase | ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/TraceableVector.h:12, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:14: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': src/third_party/mozjs-45/include/js/MemoryMetrics.h:40:34: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/gc/StoreBuffer.h:18, from src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:13: src/third_party/mozjs-45/include/js/MemoryMetrics.h:31:8: note: 'struct JS::TabSizes' declared here 31 | struct TabSizes | ^~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::ServoSizes]': src/third_party/mozjs-45/include/js/MemoryMetrics.h:71:36: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::ServoSizes'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/MemoryMetrics.h:59:8: note: 'struct JS::ServoSizes' declared here 59 | struct ServoSizes | ^~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JSSubString]': src/third_party/mozjs-45/extract/js/src/jsstr.h:73:37: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JSSubString'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/TraceLoggingTypes.h:11, from src/third_party/mozjs-45/extract/js/src/vm/TraceLoggingGraph.h:15, from src/third_party/mozjs-45/extract/js/src/vm/TraceLogging.h:19, from src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:22, from src/third_party/mozjs-45/extract/js/src/jsscript.h:24: src/third_party/mozjs-45/extract/js/src/jsstr.h:68:8: note: 'struct JSSubString' declared here 68 | struct JSSubString { | ^~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::PreliminaryObjectArray]': src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:808:25: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::PreliminaryObjectArray'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:23: src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:796:7: note: 'class js::PreliminaryObjectArray' declared here 796 | class PreliminaryObjectArray | ^~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::TypeNewScript]': src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:939:39: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::TypeNewScript' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:886:7: note: 'class js::TypeNewScript' declared here 886 | class TypeNewScript | ^~~~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:699:25: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:686:8: note: 'struct js::jit::IonScriptCounts' declared here 686 | struct IonScriptCounts | ^~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': src/third_party/mozjs-45/extract/js/src/vm/String.h:1092:25: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/Shape.h:32, from src/third_party/mozjs-45/extract/js/src/jsobj.h:27, from src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:16: src/third_party/mozjs-45/extract/js/src/vm/String.h:1074:7: note: 'class js::StaticStrings' declared here 1074 | class StaticStrings | ^~~~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': src/third_party/mozjs-45/extract/js/src/vm/Shape.h:392:25: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/Shape.h:323:7: note: 'class js::BaseShape' declared here 323 | class BaseShape : public gc::TenuredCell | ^~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:293:40: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:244:7: note: 'class js::NewObjectCache' declared here 244 | class NewObjectCache | ^~~~~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::Address]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:290:33: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::Address'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/Safepoints.h:12, from src/third_party/mozjs-45/extract/js/src/jit/JitFrames.h:16, from src/third_party/mozjs-45/extract/js/src/jscntxtinlines.h:16, from src/third_party/mozjs-45/extract/js/src/jscompartmentinlines.h:14, from src/third_party/mozjs-45/extract/js/src/jsobjinlines.h:29: src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:282:8: note: 'struct js::jit::Address' declared here 282 | struct Address | ^~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::BaseIndex]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:306:35: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::BaseIndex'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:295:8: note: 'struct js::jit::BaseIndex' declared here 295 | struct BaseIndex | ^~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::CodeOffsetJump]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:513:25: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::jit::CodeOffsetJump'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:491:7: note: 'class js::jit::CodeOffsetJump' declared here 491 | class CodeOffsetJump | ^~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/include/js/TracingAPI.h:12, from src/third_party/mozjs-45/include/js/TraceableVector.h:13: src/third_party/mozjs-45/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': src/third_party/mozjs-45/include/js/HashTable.h:186:67: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' src/third_party/mozjs-45/extract/js/src/vm/SPSProfiler.h:256:18: required from here src/third_party/mozjs-45/include/js/HashTable.h:1550:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] 1550 | memset(table, 0, sizeof(*table) * capacity()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/HashTable.h:722:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here 722 | class HashTableEntry | ^~~~~~~~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted >(JSContext* const&, JS::Handle&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'regexp_compile_impl(JSContext*, JS::CallArgs const&)' at src/third_party/mozjs-45/extract/js/src/builtin/RegExp.cpp:241:45: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'patternValue' in 'MEM[(struct Rooted * *)cx_695(D) + 104B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/RegExp.cpp: In function 'regexp_compile_impl(JSContext*, JS::CallArgs const&)': src/third_party/mozjs-45/extract/js/src/builtin/RegExp.cpp:241:17: note: 'patternValue' declared here 241 | RootedValue patternValue(cx, args.get(0)); | ^~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/RegExp.cpp:241:17: note: 'cx_695(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSAtom*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'regexp_source_impl(JSContext*, JS::CallArgs const&)' at src/third_party/mozjs-45/extract/js/src/builtin/RegExp.cpp:523:42: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'src' in 'MEM[(struct Rooted * *)cx_157(D) + 56B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/RegExp.cpp: In function 'regexp_source_impl(JSContext*, JS::CallArgs const&)': src/third_party/mozjs-45/extract/js/src/builtin/RegExp.cpp:523:16: note: 'src' declared here 523 | RootedAtom src(cx, reObj->getSource()); | ^~~ src/third_party/mozjs-45/extract/js/src/builtin/RegExp.cpp:523:16: note: 'cx_157(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSString*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'RegExpInitializeIgnoringLastIndex(JSContext*, JS::Handle, JS::Handle, JS::Handle, js::RegExpStaticsUse)' at src/third_party/mozjs-45/extract/js/src/builtin/RegExp.cpp:167:65: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'flagStr' in 'MEM[(struct Rooted * *)cx_124(D) + 56B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/RegExp.cpp: In function 'RegExpInitializeIgnoringLastIndex(JSContext*, JS::Handle, JS::Handle, JS::Handle, js::RegExpStaticsUse)': src/third_party/mozjs-45/extract/js/src/builtin/RegExp.cpp:167:22: note: 'flagStr' declared here 167 | RootedString flagStr(cx, ToString(cx, flagsValue)); | ^~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/RegExp.cpp:167:22: note: 'cx_124(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSAtom*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'regexp_source_impl(JSContext*, JS::CallArgs const&)' at src/third_party/mozjs-45/extract/js/src/builtin/RegExp.cpp:523:42, inlined from 'JS::CallNonGenericMethod<&(IsRegExpObject(JS::Handle)), &(regexp_source_impl(JSContext*, JS::CallArgs const&))>(JSContext*, JS::CallArgs const&)bool' at src/third_party/mozjs-45/include/js/CallNonGenericMethod.h:100:20, inlined from 'regexp_source(JSContext*, unsigned int, JS::Value*)' at src/third_party/mozjs-45/extract/js/src/builtin/RegExp.cpp:541:68: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'src' in 'MEM[(struct Rooted * *)cx_5(D) + 56B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/RegExp.cpp: In function 'regexp_source(JSContext*, unsigned int, JS::Value*)': src/third_party/mozjs-45/extract/js/src/builtin/RegExp.cpp:523:16: note: 'src' declared here 523 | RootedAtom src(cx, reObj->getSource()); | ^~~ src/third_party/mozjs-45/extract/js/src/builtin/RegExp.cpp:523:16: note: 'cx_5(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSString*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'static_input_setter(JSContext*, unsigned int, JS::Value*)' at src/third_party/mozjs-45/extract/js/src/builtin/RegExp.cpp:653:58: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'str' in 'MEM[(struct Rooted * *)cx_48(D) + 56B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/RegExp.cpp: In function 'static_input_setter(JSContext*, unsigned int, JS::Value*)': src/third_party/mozjs-45/extract/js/src/builtin/RegExp.cpp:653:18: note: 'str' declared here 653 | RootedString str(cx, ToString(cx, args.get(0))); | ^~~ src/third_party/mozjs-45/extract/js/src/builtin/RegExp.cpp:653:18: note: 'cx_48(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::RegExpObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::CreateRegExpPrototype(JSContext*, JSProtoKey)' at src/third_party/mozjs-45/extract/js/src/builtin/RegExp.cpp:708:89: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'proto' in 'MEM[(struct Rooted * *)cx_63(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/RegExp.cpp: In function 'js::CreateRegExpPrototype(JSContext*, JSProtoKey)': src/third_party/mozjs-45/extract/js/src/builtin/RegExp.cpp:708:27: note: 'proto' declared here 708 | Rooted proto(cx, cx->global()->createBlankPrototype(cx)); | ^~~~~ src/third_party/mozjs-45/extract/js/src/builtin/RegExp.cpp:708:27: note: 'cx_63(D)' declared here src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, unsigned int, mongo::StringMapTraits>': src/mongo/db/op_observer.h:310:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted >(JSContext* const&, JS::Handle&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::regexp_construct(JSContext*, unsigned int, JS::Value*)' at src/third_party/mozjs-45/extract/js/src/builtin/RegExp.cpp:335:45: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'patternValue' in 'MEM[(struct Rooted * *)cx_504(D) + 104B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/RegExp.cpp: In function 'js::regexp_construct(JSContext*, unsigned int, JS::Value*)': src/third_party/mozjs-45/extract/js/src/builtin/RegExp.cpp:335:17: note: 'patternValue' declared here 335 | RootedValue patternValue(cx, args.get(0)); | ^~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/RegExp.cpp:335:17: note: 'cx_504(D)' declared here src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long unsigned int, mongo::StringMapTraits>': src/mongo/db/views/view_graph.h:177:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSLinearString*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::ExecuteRegExp(JSContext*, JS::Handle, JS::Handle, js::MatchPairs*, js::RegExpStaticsUpdate)' at src/third_party/mozjs-45/extract/js/src/builtin/RegExp.cpp:766:58: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'input' in 'MEM[(struct Rooted * *)cx_220(D) + 56B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/RegExp.cpp: In function 'js::ExecuteRegExp(JSContext*, JS::Handle, JS::Handle, js::MatchPairs*, js::RegExpStaticsUpdate)': src/third_party/mozjs-45/extract/js/src/builtin/RegExp.cpp:766:24: note: 'input' declared here 766 | RootedLinearString input(cx, string->ensureLinear(cx)); | ^~~~~ src/third_party/mozjs-45/extract/js/src/builtin/RegExp.cpp:766:24: note: 'cx_220(D)' declared here src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/db/views/view_catalog.h:174:13: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Collection*, mongo::StringMapTraits>': src/mongo/db/catalog/database.h:165:38: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::RegExpObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::regexp_construct_no_statics(JSContext*, unsigned int, JS::Value*)' at src/third_party/mozjs-45/extract/js/src/builtin/RegExp.cpp:443:53: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'regexp' in 'MEM[(struct Rooted * *)cx_54(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/RegExp.cpp: In function 'js::regexp_construct_no_statics(JSContext*, unsigned int, JS::Value*)': src/third_party/mozjs-45/extract/js/src/builtin/RegExp.cpp:443:27: note: 'regexp' declared here 443 | Rooted regexp(cx, RegExpAlloc(cx)); | ^~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/RegExp.cpp:443:27: note: 'cx_54(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::ArrayObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::CreateRegExpMatchResult(JSContext*, JS::Handle, js::MatchPairs const&, JS::MutableHandle)' at src/third_party/mozjs-45/extract/js/src/builtin/RegExp.cpp:51:100: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'arr' in 'MEM[(struct Rooted * *)cx_99(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/RegExp.cpp: In function 'js::CreateRegExpMatchResult(JSContext*, JS::Handle, js::MatchPairs const&, JS::MutableHandle)': src/third_party/mozjs-45/extract/js/src/builtin/RegExp.cpp:51:23: note: 'arr' declared here 51 | RootedArrayObject arr(cx, NewDenseFullyAllocatedArrayWithTemplate(cx, numPairs, templateObject)); | ^~~ src/third_party/mozjs-45/extract/js/src/builtin/RegExp.cpp:51:23: note: 'cx_99(D)' declared here src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::vector, mongo::StringMapTraits>': src/mongo/db/catalog/uuid_catalog.h:234:44: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::vector; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::vector; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::vector; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::vector; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSString*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'regexp_exec_impl(JSContext*, JS::CallArgs const&)' at src/third_party/mozjs-45/extract/js/src/builtin/RegExp.cpp:879:61: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'string' in 'MEM[(struct Rooted * *)cx_69(D) + 56B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/RegExp.cpp: In function 'regexp_exec_impl(JSContext*, JS::CallArgs const&)': src/third_party/mozjs-45/extract/js/src/builtin/RegExp.cpp:879:18: note: 'string' declared here 879 | RootedString string(cx, ToString(cx, args.get(0))); | ^~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/RegExp.cpp:879:18: note: 'cx_69(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted >(JSContext* const&, JS::Handle&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'regexp_compile_impl(JSContext*, JS::CallArgs const&)' at src/third_party/mozjs-45/extract/js/src/builtin/RegExp.cpp:241:45, inlined from 'JS::CallNonGenericMethod<&(IsRegExpObject(JS::Handle)), &(regexp_compile_impl(JSContext*, JS::CallArgs const&))>(JSContext*, JS::CallArgs const&)bool' at src/third_party/mozjs-45/include/js/CallNonGenericMethod.h:100:20, inlined from 'regexp_compile(JSContext*, unsigned int, JS::Value*)' at src/third_party/mozjs-45/extract/js/src/builtin/RegExp.cpp:299:69: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'patternValue' in 'MEM[(struct Rooted * *)cx_4(D) + 104B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/RegExp.cpp: In function 'regexp_compile(JSContext*, unsigned int, JS::Value*)': src/third_party/mozjs-45/extract/js/src/builtin/RegExp.cpp:241:17: note: 'patternValue' declared here 241 | RootedValue patternValue(cx, args.get(0)); | ^~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/RegExp.cpp:241:17: note: 'cx_4(D)' declared here src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Top::CollectionData, mongo::StringMapTraits>': src/mongo/db/stats/top.h:150:14: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ ar rcsTD build/fedora/mongo/db/libcommands.a build/fedora/mongo/db/commands.o Skipping ranlib for thin archive build/fedora/mongo/db/libcommands.a g++ -o build/fedora/mongo/db/pipeline/document_source.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/pipeline/document_source.cpp src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::repl::ReplSetTagPattern, mongo::StringMapTraits>': src/mongo/db/repl/repl_set_config.h:402:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::repl::ReplSetTagPattern; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::repl::ReplSetTagPattern; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::repl::ReplSetTagPattern; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::repl::ReplSetTagPattern; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/db/s/config/namespace_serializer.h:73:40: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/bson/bsonobj.h:44, from src/mongo/bson/bsonobj_comparator_interface.h:32, from src/mongo/bson/simple_bsonobj_comparator.h:34, from src/mongo/db/pipeline/document_source.h:41, from src/mongo/db/pipeline/document_source.cpp:31: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/db/pipeline/document_source.h:44: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::function >(mongo::BSONElement, const boost::intrusive_ptr&)>, mongo::StringMapTraits>': src/mongo/db/pipeline/document_source.cpp:54:26: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::function >(mongo::BSONElement, const boost::intrusive_ptr&)>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::function >(mongo::BSONElement, const boost::intrusive_ptr&)>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::function >(mongo::BSONElement, const boost::intrusive_ptr&)>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::function >(mongo::BSONElement, const boost::intrusive_ptr&)>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call g++ -o build/fedora/mongo/db/auth/authorization_manager_global.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/auth/authorization_manager_global.cpp ar rcsTD build/fedora/mongo/db/auth/libauthorization_manager_global.a build/fedora/mongo/db/auth/authorization_manager_global.o Skipping ranlib for thin archive build/fedora/mongo/db/auth/libauthorization_manager_global.a g++ -o build/fedora/third_party/icu4c-57.1/source/i18n/datefmt.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/datefmt.cpp gcc -o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_to_uint8.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -DUSE_COMPILER_F80_TYPE=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -Dlinux=1 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_to_uint8.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C ar rcsTD build/fedora/mongo/db/libstartup_warnings_common.a build/fedora/mongo/db/startup_warnings_common.o Skipping ranlib for thin archive build/fedora/mongo/db/libstartup_warnings_common.a g++ -o build/fedora/third_party/icu4c-57.1/source/i18n/msgfmt.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/msgfmt.cpp g++ -o build/fedora/third_party/icu4c-57.1/source/i18n/fmtable.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/fmtable.cpp gcc -o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_log.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -DUSE_COMPILER_F80_TYPE=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -Dlinux=1 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_log.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C g++ -o build/fedora/third_party/icu4c-57.1/source/i18n/uitercollationiterator.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/uitercollationiterator.cpp g++ -o build/fedora/mongo/db/commands/conn_pool_stats.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/commands/conn_pool_stats.cpp g++ -o build/fedora/third_party/icu4c-57.1/source/common/messagepattern.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/messagepattern.cpp g++ -o build/fedora/mongo/logger/parse_log_component_settings.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/logger/parse_log_component_settings.cpp In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/bson/bsonobj.h:44, from src/mongo/bson/bson_field.h:34, from src/mongo/bson/bsonobjbuilder.h:44, from src/mongo/db/commands/conn_pool_stats.cpp:34: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::weak_ptr, mongo::StringMapTraits>': src/mongo/client/replica_set_monitor_manager.h:101:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::weak_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::weak_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::weak_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::weak_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/db/commands/conn_pool_stats.cpp:37: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ ar rcsTD build/fedora/mongo/logger/libparse_log_component_settings.a build/fedora/mongo/logger/parse_log_component_settings.o Skipping ranlib for thin archive build/fedora/mongo/logger/libparse_log_component_settings.a g++ -o build/fedora/mongo/db/index_builder.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/index_builder.cpp In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/bson/bsonobj.h:44, from src/mongo/bson/ordering.h:32, from src/mongo/db/catalog/index_catalog_entry.h:36, from src/mongo/db/catalog/index_catalog.h:36, from src/mongo/db/index_builder.h:34, from src/mongo/db/index_builder.cpp:33: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/plan_cache.h:35, from src/mongo/db/catalog/collection_info_cache.h:33, from src/mongo/db/catalog/collection.h:41, from src/mongo/db/catalog/database.h:38, from src/mongo/db/index_builder.cpp:36: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ gcc -o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_sin.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -DUSE_COMPILER_F80_TYPE=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -Dlinux=1 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_sin.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C g++ -o build/fedora/third_party/icu4c-57.1/source/i18n/repattrn.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/repattrn.cpp src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/third_party/icu4c-57.1/source/i18n/nortrans.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/nortrans.cpp gcc -o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_to_uint16.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -DUSE_COMPILER_F80_TYPE=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -Dlinux=1 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_to_uint16.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C g++ -o build/fedora/mongo/db/catalog/rename_collection.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/catalog/rename_collection.cpp src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, unsigned int, mongo::StringMapTraits>': src/mongo/db/op_observer.h:310:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long unsigned int, mongo::StringMapTraits>': src/mongo/db/views/view_graph.h:177:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/db/views/view_catalog.h:174:13: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Collection*, mongo::StringMapTraits>': src/mongo/db/catalog/database.h:165:38: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Top::CollectionData, mongo::StringMapTraits>': src/mongo/db/stats/top.h:150:14: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/catalog/rename_collection.h:30, from src/mongo/db/catalog/rename_collection.cpp:33: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/plan_cache.h:35, from src/mongo/db/catalog/collection_info_cache.h:33, from src/mongo/db/catalog/collection.h:41, from src/mongo/db/catalog/uuid_catalog.h:34, from src/mongo/db/catalog/rename_collection.cpp:42: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, unsigned int, mongo::StringMapTraits>': src/mongo/db/op_observer.h:310:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::vector, mongo::StringMapTraits>': src/mongo/db/catalog/uuid_catalog.h:234:44: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::vector; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::vector; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::vector; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::vector; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long unsigned int, mongo::StringMapTraits>': src/mongo/db/views/view_graph.h:177:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/db/views/view_catalog.h:174:13: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Collection*, mongo::StringMapTraits>': src/mongo/db/catalog/database.h:165:38: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Top::CollectionData, mongo::StringMapTraits>': src/mongo/db/stats/top.h:150:14: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ ar rcsTD build/fedora/mongo/db/storage/kv/libkv_database_catalog_entry_core.a build/fedora/mongo/db/storage/kv/kv_database_catalog_entry_base.o Skipping ranlib for thin archive build/fedora/mongo/db/storage/kv/libkv_database_catalog_entry_core.a g++ -o build/fedora/mongo/db/sessions_collection_sharded.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/sessions_collection_sharded.cpp In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/matcher/extensions_callback.h:31, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/sessions_collection_sharded.cpp:33: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from build/fedora/mongo/db/logical_session_id_gen.h:16, from src/mongo/db/logical_session_id.h:34, from src/mongo/db/sessions_collection_sharded.h:33, from src/mongo/db/sessions_collection_sharded.cpp:31: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38, from src/mongo/db/sessions_collection_sharded.cpp:35: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/s/catalog_cache.h:377:21: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/s/catalog_cache.h:379:24: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/s/catalog_cache.h:379:24: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/s/catalog_cache.h:379:24: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ ar rcsTD build/fedora/mongo/db/liblogical_session_cache_factory_mongod.a build/fedora/mongo/db/logical_session_cache_factory_mongod.o Skipping ranlib for thin archive build/fedora/mongo/db/liblogical_session_cache_factory_mongod.a g++ -o build/fedora/third_party/icu4c-57.1/source/i18n/tzfmt.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/tzfmt.cpp gcc -o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_lgamma.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -DUSE_COMPILER_F80_TYPE=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -Dlinux=1 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_lgamma.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call gcc -o build/fedora/third_party/timelib-2018.01alpha1/parse_tz.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -DHAVE_GETTIMEOFDAY -DHAVE_STRING_H -DHAVE_DIRENT_H -DHAVE_SYS_TIME_H -DHAVE_UNISTD_H -D_GNU_SOURCE -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/timelib-2018.01alpha1 src/third_party/timelib-2018.01alpha1/parse_tz.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C g++ -o build/fedora/third_party/icu4c-57.1/source/common/icuplug.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/icuplug.cpp g++ -o build/fedora/mongo/bson/bsonelement.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/bson/bsonelement.cpp ar rcsTD build/fedora/mongo/db/libsessions_collection_sharded.a build/fedora/mongo/db/sessions_collection_sharded.o Skipping ranlib for thin archive build/fedora/mongo/db/libsessions_collection_sharded.a gcc -o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_to_int8.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -DUSE_COMPILER_F80_TYPE=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -Dlinux=1 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_to_int8.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C gcc -o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_pow.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -DUSE_COMPILER_F80_TYPE=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -Dlinux=1 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_pow.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C gcc -o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_frexp.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -DUSE_COMPILER_F80_TYPE=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -Dlinux=1 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_frexp.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C ar rcsTD build/fedora/mongo/base/libsecure_allocator.a build/fedora/mongo/base/secure_allocator.o Skipping ranlib for thin archive build/fedora/mongo/base/libsecure_allocator.a g++ -o build/fedora/third_party/icu4c-57.1/source/common/normalizer2impl.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/normalizer2impl.cpp ar rcsTD build/fedora/mongo/db/pipeline/libdocument_sources_idl.a build/fedora/mongo/db/pipeline/document_sources_gen.o build/fedora/mongo/db/pipeline/resume_token.o Skipping ranlib for thin archive build/fedora/mongo/db/pipeline/libdocument_sources_idl.a g++ -o build/fedora/mongo/s/cluster_last_error_info.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/s/cluster_last_error_info.cpp g++ -o build/fedora/third_party/icu4c-57.1/source/common/schriter.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/schriter.cpp gcc -o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_cosh.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -DUSE_COMPILER_F80_TYPE=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -Dlinux=1 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_cosh.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C ar rcsTD build/fedora/mongo/util/libntservice.a build/fedora/mongo/util/ntservice.o Skipping ranlib for thin archive build/fedora/mongo/util/libntservice.a g++ -o build/fedora/third_party/icu4c-57.1/source/i18n/identifier_info.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/identifier_info.cpp g++ -o build/fedora/third_party/icu4c-57.1/source/i18n/transreg.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/transreg.cpp g++ -o build/fedora/mongo/db/query/count_request.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/query/count_request.cpp g++ -o build/fedora/third_party/icu4c-57.1/source/i18n/collationfcd.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/collationfcd.cpp g++ -o build/fedora/third_party/s2/s2polygonbuilder.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -DDEBUG_MODE=false -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/third_party/s2/s2polygonbuilder.cc g++ -o build/fedora/mongo/db/fts/fts_unicode_phrase_matcher.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/fts/fts_unicode_phrase_matcher.cpp g++ -o build/fedora/mongo/db/update/addtoset_node.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/update/addtoset_node.cpp g++ -o build/fedora/mongo/db/sessions_collection_rs.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/sessions_collection_rs.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/document_comparator.h:32, from src/mongo/db/pipeline/expression_context.h:41, from src/mongo/db/update/update_leaf_node.h:31, from src/mongo/db/update/modifier_node.h:31, from src/mongo/db/update/addtoset_node.h:31, from src/mongo/db/update/addtoset_node.cpp:31: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/bson/bsonobj.h:44, from src/mongo/db/pipeline/expression_context.h:37: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/client/connection_string.h:38, from src/mongo/db/sessions_collection_rs.h:33, from src/mongo/db/sessions_collection_rs.cpp:31: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::repl::ReplSetTagPattern, mongo::StringMapTraits>': src/mongo/db/repl/repl_set_config.h:402:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::repl::ReplSetTagPattern; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::repl::ReplSetTagPattern; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::repl::ReplSetTagPattern; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::repl::ReplSetTagPattern; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/db/sessions_collection_rs.cpp: In instantiation of 'decltype (declval()(static_cast(nullptr))) mongo::{anonymous}::sendToPrimary(mongo::OperationContext*, Callback) [with Callback = mongo::SessionsCollectionRS::setupSessionsCollection(mongo::OperationContext*)::; decltype (declval()(static_cast(nullptr))) = mongo::Status]': src/mongo/db/sessions_collection_rs.cpp:149:25: required from 'decltype (declval()(static_cast(nullptr))) mongo::{anonymous}::dispatch(const mongo::NamespaceString&, mongo::LockMode, mongo::OperationContext*, LocalCallback, RemoteCallback) [with LocalCallback = mongo::SessionsCollectionRS::setupSessionsCollection(mongo::OperationContext*)::; RemoteCallback = mongo::SessionsCollectionRS::setupSessionsCollection(mongo::OperationContext*)::; decltype (declval()(static_cast(nullptr))) = mongo::Status]' src/mongo/db/sessions_collection_rs.cpp:155:20: required from here src/mongo/db/sessions_collection_rs.cpp:132:25: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] 132 | return std::move(val); | ^ src/mongo/db/sessions_collection_rs.cpp:132:25: note: remove 'std::move' call src/mongo/db/sessions_collection_rs.cpp: In instantiation of 'decltype (declval()(static_cast(nullptr))) mongo::{anonymous}::sendToPrimary(mongo::OperationContext*, Callback) [with Callback = mongo::SessionsCollectionRS::refreshSessions(mongo::OperationContext*, const mongo::LogicalSessionRecordSet&)::; decltype (declval()(static_cast(nullptr))) = mongo::Status]': src/mongo/db/sessions_collection_rs.cpp:149:25: required from 'decltype (declval()(static_cast(nullptr))) mongo::{anonymous}::dispatch(const mongo::NamespaceString&, mongo::LockMode, mongo::OperationContext*, LocalCallback, RemoteCallback) [with LocalCallback = mongo::SessionsCollectionRS::refreshSessions(mongo::OperationContext*, const mongo::LogicalSessionRecordSet&)::; RemoteCallback = mongo::SessionsCollectionRS::refreshSessions(mongo::OperationContext*, const mongo::LogicalSessionRecordSet&)::; decltype (declval()(static_cast(nullptr))) = mongo::Status]' src/mongo/db/sessions_collection_rs.cpp:182:20: required from here src/mongo/db/sessions_collection_rs.cpp:132:25: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] src/mongo/db/sessions_collection_rs.cpp:132:25: note: remove 'std::move' call src/mongo/db/sessions_collection_rs.cpp: In instantiation of 'decltype (declval()(static_cast(nullptr))) mongo::{anonymous}::sendToPrimary(mongo::OperationContext*, Callback) [with Callback = mongo::SessionsCollectionRS::removeRecords(mongo::OperationContext*, const mongo::LogicalSessionIdSet&)::; decltype (declval()(static_cast(nullptr))) = mongo::Status]': src/mongo/db/sessions_collection_rs.cpp:149:25: required from 'decltype (declval()(static_cast(nullptr))) mongo::{anonymous}::dispatch(const mongo::NamespaceString&, mongo::LockMode, mongo::OperationContext*, LocalCallback, RemoteCallback) [with LocalCallback = mongo::SessionsCollectionRS::removeRecords(mongo::OperationContext*, const mongo::LogicalSessionIdSet&)::; RemoteCallback = mongo::SessionsCollectionRS::removeRecords(mongo::OperationContext*, const mongo::LogicalSessionIdSet&)::; decltype (declval()(static_cast(nullptr))) = mongo::Status]' src/mongo/db/sessions_collection_rs.cpp:201:20: required from here src/mongo/db/sessions_collection_rs.cpp:132:25: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/db/sessions_collection_rs.cpp:132:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/db/sessions_collection_rs.cpp: In instantiation of 'decltype (declval()(static_cast(nullptr))) mongo::{anonymous}::sendToPrimary(mongo::OperationContext*, Callback) [with Callback = mongo::SessionsCollectionRS::findRemovedSessions(mongo::OperationContext*, const mongo::LogicalSessionIdSet&)::; decltype (declval()(static_cast(nullptr))) = mongo::StatusWith >]': src/mongo/db/sessions_collection_rs.cpp:149:25: required from 'decltype (declval()(static_cast(nullptr))) mongo::{anonymous}::dispatch(const mongo::NamespaceString&, mongo::LockMode, mongo::OperationContext*, LocalCallback, RemoteCallback) [with LocalCallback = mongo::SessionsCollectionRS::findRemovedSessions(mongo::OperationContext*, const mongo::LogicalSessionIdSet&)::; RemoteCallback = mongo::SessionsCollectionRS::findRemovedSessions(mongo::OperationContext*, const mongo::LogicalSessionIdSet&)::; decltype (declval()(static_cast(nullptr))) = mongo::StatusWith >]' src/mongo/db/sessions_collection_rs.cpp:219:20: required from here src/mongo/db/sessions_collection_rs.cpp:132:25: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] src/mongo/db/sessions_collection_rs.cpp:132:25: note: remove 'std::move' call src/mongo/db/sessions_collection_rs.cpp: In instantiation of 'decltype (declval()(static_cast(nullptr))) mongo::{anonymous}::sendToPrimary(mongo::OperationContext*, Callback) [with Callback = mongo::SessionsCollectionRS::removeTransactionRecords(mongo::OperationContext*, const mongo::LogicalSessionIdSet&)::; decltype (declval()(static_cast(nullptr))) = mongo::Status]': src/mongo/db/sessions_collection_rs.cpp:149:25: required from 'decltype (declval()(static_cast(nullptr))) mongo::{anonymous}::dispatch(const mongo::NamespaceString&, mongo::LockMode, mongo::OperationContext*, LocalCallback, RemoteCallback) [with LocalCallback = mongo::SessionsCollectionRS::removeTransactionRecords(mongo::OperationContext*, const mongo::LogicalSessionIdSet&)::; RemoteCallback = mongo::SessionsCollectionRS::removeTransactionRecords(mongo::OperationContext*, const mongo::LogicalSessionIdSet&)::; decltype (declval()(static_cast(nullptr))) = mongo::Status]' src/mongo/db/sessions_collection_rs.cpp:237:20: required from here src/mongo/db/sessions_collection_rs.cpp:132:25: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] src/mongo/db/sessions_collection_rs.cpp:132:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ gcc -o build/fedora/third_party/icu4c-57.1/source/common/ucnv_cb.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/ucnv_cb.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C g++ -o build/fedora/third_party/icu4c-57.1/source/i18n/uspoof.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/uspoof.cpp ar rcsTD build/fedora/mongo/db/libsessions_collection_rs.a build/fedora/mongo/db/sessions_collection_rs.o Skipping ranlib for thin archive build/fedora/mongo/db/libsessions_collection_rs.a g++ -o build/fedora/mongo/platform/strcasestr.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/platform/strcasestr.cpp g++ -o build/fedora/mongo/db/storage/wiredtiger/wiredtiger_kv_engine.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora/third_party/wiredtiger -Isrc/third_party/wiredtiger -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/storage/wiredtiger/wiredtiger_kv_engine.cpp g++ -o build/fedora/mongo/db/storage/wiredtiger/wiredtiger_util.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora/third_party/wiredtiger -Isrc/third_party/wiredtiger -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/storage/wiredtiger/wiredtiger_util.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/db/curop.h:35, from src/mongo/db/concurrency/write_conflict_exception.h:36, from src/mongo/db/storage/wiredtiger/wiredtiger_util.cpp:40: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/bson/bsonobj.h:44, from src/mongo/db/storage/wiredtiger/wiredtiger_util.h:39, from src/mongo/db/storage/wiredtiger/wiredtiger_util.cpp:34: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/bson/bsonobj.h:44, from src/mongo/bson/ordering.h:32, from src/mongo/db/storage/wiredtiger/wiredtiger_kv_engine.h:41, from src/mongo/db/storage/wiredtiger/wiredtiger_kv_engine.cpp:46: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/db/storage/wiredtiger/wiredtiger_size_storer.h:106:12: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/plan_cache.h:35, from src/mongo/db/catalog/collection_info_cache.h:33, from src/mongo/db/catalog/collection.h:41, from src/mongo/db/storage/wiredtiger/wiredtiger_kv_engine.cpp:57: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ 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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ 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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ 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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, unsigned int, mongo::StringMapTraits>': src/mongo/db/op_observer.h:310:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/db/storage/wiredtiger/wiredtiger_kv_engine.cpp: In member function 'virtual std::unique_ptr mongo::WiredTigerKVEngine::getGroupedRecordStore(mongo::OperationContext*, mongo::StringData, mongo::StringData, const mongo::CollectionOptions&, mongo::KVPrefix)': src/mongo/db/storage/wiredtiger/wiredtiger_kv_engine.cpp:1044:21: warning: redundant move in return statement [-Wredundant-move] 1044 | return std::move(ret); | ~~~~~~~~~^~~~~ src/mongo/db/storage/wiredtiger/wiredtiger_kv_engine.cpp:1044:21: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call In file included from /usr/include/string.h:535, from /usr/include/c++/12/cstring:42, from src/mongo/base/string_data.h:33, from build/fedora/mongo/base/error_codes.h:35, from src/mongo/base/status.h:33, from src/mongo/db/storage/wiredtiger/wiredtiger_util.h:37: In function 'memcpy', inlined from 'mongo::StringData::copyTo(char*, bool) const' at src/mongo/base/string_data.h:266:15, inlined from 'mongo::StringBuilderImpl::append(mongo::StringData)' at src/mongo/bson/util/builder.h:484:19, inlined from 'mongo::StringBuilderImpl::operator<<(mongo::StringData)' at src/mongo/bson/util/builder.h:441:15, inlined from 'mongo::StringBuilderImpl::operator<<(char const*)' at src/mongo/bson/util/builder.h:438:22, inlined from 'mongoutils::str::stream::operator<< (char const (&) [34])mongoutils::str::stream&' at src/mongo/util/mongoutils/str.h:66:12, inlined from 'mongo::WiredTigerUtil::getApplicationMetadata(mongo::OperationContext*, mongo::StringData, mongo::BSONObjBuilder*)' at src/mongo/db/storage/wiredtiger/wiredtiger_util.cpp:187:44: /usr/include/bits/string_fortified.h:29:33: warning: 'memcpy' offset [0, 32] is out of the bounds [0, 0] [-Warray-bounds] 29 | return __builtin___memcpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 30 | __glibc_objsize0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -o build/fedora/mongo/db/storage/wiredtiger/wiredtiger_session_cache.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora/third_party/wiredtiger -Isrc/third_party/wiredtiger -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/storage/wiredtiger/wiredtiger_session_cache.cpp In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/bson/timestamp.h:31, from src/mongo/db/repl/optime.h:33, from src/mongo/db/storage/journal_listener.h:31, from src/mongo/db/storage/wiredtiger/wiredtiger_session_cache.h:39, from src/mongo/db/storage/wiredtiger/wiredtiger_session_cache.cpp:36: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/db/storage/wiredtiger/wiredtiger_size_storer.h:106:12: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/mongo/db/storage/wiredtiger/wiredtiger_recovery_unit.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora/third_party/wiredtiger -Isrc/third_party/wiredtiger -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/storage/wiredtiger/wiredtiger_recovery_unit.cpp g++ -o build/fedora/mongo/db/storage/wiredtiger/wiredtiger_global_options.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora/third_party/wiredtiger -Isrc/third_party/wiredtiger -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/storage/wiredtiger/wiredtiger_global_options.cpp In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/bson/timestamp.h:31, from src/mongo/db/storage/wiredtiger/wiredtiger_recovery_unit.h:39, from src/mongo/db/storage/wiredtiger/wiredtiger_recovery_unit.cpp:35: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/db/storage/wiredtiger/wiredtiger_size_storer.h:106:12: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/db/curop.h:35, from src/mongo/db/storage/wiredtiger/wiredtiger_prepare_conflict.h:32, from src/mongo/db/storage/wiredtiger/wiredtiger_recovery_unit.cpp:41: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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 In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/util/options_parser/environment.h:34, from src/mongo/util/options_parser/startup_options.h:29, from src/mongo/db/storage/wiredtiger/wiredtiger_global_options.h:34, from src/mongo/db/storage/wiredtiger/wiredtiger_global_options.cpp:34: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/db/storage/wiredtiger/wiredtiger_size_storer.h:106:12: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ 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: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/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/mongo/db/storage/wiredtiger/wiredtiger_oplog_manager.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora/third_party/wiredtiger -Isrc/third_party/wiredtiger -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/storage/wiredtiger/wiredtiger_oplog_manager.cpp In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/bson/bsonobj.h:44, from src/mongo/bson/ordering.h:32, from src/mongo/db/storage/wiredtiger/wiredtiger_kv_engine.h:41, from src/mongo/db/storage/wiredtiger/wiredtiger_oplog_manager.cpp:36: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/db/storage/wiredtiger/wiredtiger_size_storer.h:106:12: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/mongo/db/pipeline/document_source_add_fields.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/pipeline/document_source_add_fields.cpp ar rcsTD build/fedora/mongo/db/storage/wiredtiger/libstorage_wiredtiger_core.a build/fedora/mongo/db/storage/wiredtiger/wiredtiger_begin_transaction_block.o build/fedora/mongo/db/storage/wiredtiger/wiredtiger_global_options.o build/fedora/mongo/db/storage/wiredtiger/wiredtiger_index.o build/fedora/mongo/db/storage/wiredtiger/wiredtiger_kv_engine.o build/fedora/mongo/db/storage/wiredtiger/wiredtiger_oplog_manager.o build/fedora/mongo/db/storage/wiredtiger/wiredtiger_prepare_conflict.o build/fedora/mongo/db/storage/wiredtiger/wiredtiger_record_store.o build/fedora/mongo/db/storage/wiredtiger/wiredtiger_recovery_unit.o build/fedora/mongo/db/storage/wiredtiger/wiredtiger_session_cache.o build/fedora/mongo/db/storage/wiredtiger/wiredtiger_snapshot_manager.o build/fedora/mongo/db/storage/wiredtiger/wiredtiger_size_storer.o build/fedora/mongo/db/storage/wiredtiger/wiredtiger_util.o Skipping ranlib for thin archive build/fedora/mongo/db/storage/wiredtiger/libstorage_wiredtiger_core.a g++ -o build/fedora/mongo/base/make_string_vector.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/base/make_string_vector.cpp In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/bson/bsonobj.h:44, from src/mongo/bson/bsonobj_comparator_interface.h:32, from src/mongo/bson/simple_bsonobj_comparator.h:34, from src/mongo/db/pipeline/document_source.h:41, from src/mongo/db/pipeline/document_source_single_document_transformation.h:31, from src/mongo/db/pipeline/document_source_add_fields.h:31, from src/mongo/db/pipeline/document_source_add_fields.cpp:31: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ ar rcsTD build/fedora/mongo/db/storage/libencryption_hooks.a build/fedora/mongo/db/storage/encryption_hooks.o Skipping ranlib for thin archive build/fedora/mongo/db/storage/libencryption_hooks.a g++ -o build/fedora/mongo/bson/bsonobjbuilder.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/bson/bsonobjbuilder.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/db/pipeline/document_source.h:44: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, boost::intrusive_ptr, mongo::StringMapTraits>': src/mongo/db/pipeline/parsed_inclusion_projection.h:171:49: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = boost::intrusive_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = boost::intrusive_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = boost::intrusive_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = boost::intrusive_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/mongo/rpc/command_request_builder.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/rpc/command_request_builder.cpp In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/rpc/command_request_builder.cpp:35: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/rpc/message.h:37, from src/mongo/rpc/command_request_builder.h:31, from src/mongo/rpc/command_request_builder.cpp:31: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call gcc -o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_compare.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -DUSE_COMPILER_F80_TYPE=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -Dlinux=1 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_compare.c 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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C 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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/mongo/db/geo/geometry_container.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/geo/geometry_container.cpp In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call In file included from /usr/include/string.h:535, from /usr/include/c++/12/cstring:42, from src/mongo/base/data_type_endian.h:30, from src/mongo/rpc/message.h:33: In function 'memcpy', inlined from 'mongo::StringData::copyTo(char*, bool) const' at src/mongo/base/string_data.h:266:15, inlined from 'mongo::StringBuilderImpl::append(mongo::StringData)' at src/mongo/bson/util/builder.h:484:19, inlined from 'mongo::StringBuilderImpl::appendIntegral(int, int)mongo::StringBuilderImpl&' at src/mongo/bson/util/builder.h:518:19, inlined from 'mongo::StringBuilderImpl::appendIntegral(int, int)mongo::StringBuilderImpl&' at src/mongo/bson/util/builder.h:512:24, inlined from 'mongo::StringBuilderImpl::operator<<(int)' at src/mongo/bson/util/builder.h:402:30, inlined from 'mongo::BSONObjBuilder::numStr[abi:cxx11](int)' at src/mongo/bson/bsonobjbuilder.h:719:14, inlined from 'mongo::BSONObjBuilder::append(mongo::StringData, std::vector > const&)mongo::BSONObjBuilder&' at src/mongo/bson/bsonobjbuilder.h:958:26, inlined from 'mongo::rpc::opCommandRequestFromOpMsgRequest(mongo::OpMsgRequest const&)' at src/mongo/rpc/command_request_builder.cpp:93:31: /usr/include/bits/string_fortified.h:29:33: warning: 'memcpy' offset [0, 511] is out of the bounds [0, 0] [-Warray-bounds] 29 | return __builtin___memcpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 30 | __glibc_objsize0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -o build/fedora/third_party/icu4c-57.1/source/i18n/dayperiodrules.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/dayperiodrules.cpp g++ -o build/fedora/mongo/db/s/sharding_migration_critical_section.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/s/sharding_migration_critical_section.cpp ar rcsTD build/fedora/mongo/db/geo/libgeoparser.a build/fedora/mongo/db/geo/geoparser.o build/fedora/mongo/db/geo/geometry_container.o Skipping ranlib for thin archive build/fedora/mongo/db/geo/libgeoparser.a g++ -o build/fedora/third_party/icu4c-57.1/source/i18n/brktrans.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/brktrans.cpp g++ -o build/fedora/mongo/db/auth/role_graph_builtin_roles.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/auth/role_graph_builtin_roles.cpp ar rcsTD build/fedora/mongo/db/storage/libindex_entry_comparison.a build/fedora/mongo/db/storage/index_entry_comparison.o Skipping ranlib for thin archive build/fedora/mongo/db/storage/libindex_entry_comparison.a g++ -o build/fedora/mongo/base/global_initializer.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/base/global_initializer.cpp g++ -o build/fedora/mongo/platform/process_id.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/platform/process_id.cpp g++ -o build/fedora/third_party/icu4c-57.1/source/i18n/olsontz.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/olsontz.cpp g++ -o build/fedora/mongo/db/index/btree_key_generator.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/index/btree_key_generator.cpp g++ -o build/fedora/mongo/s/write_ops/batched_command_response.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/s/write_ops/batched_command_response.cpp ar rcsTD build/fedora/mongo/db/index/libkey_generator.a build/fedora/mongo/db/index/btree_key_generator.o build/fedora/mongo/db/index/expression_keys_private.o build/fedora/mongo/db/index/sort_key_generator.o Skipping ranlib for thin archive build/fedora/mongo/db/index/libkey_generator.a ar rcsTD build/fedora/mongo/db/commands/libserver_status_servers.a build/fedora/mongo/db/commands/server_status_servers.o Skipping ranlib for thin archive build/fedora/mongo/db/commands/libserver_status_servers.a g++ -o build/fedora/third_party/icu4c-57.1/source/common/unifilt.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/unifilt.cpp Creating 'build/fedora/mongo/util/version_constants.h' g++ -o build/fedora/mongo/util/version_impl.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/asio-master/asio/include -Ibuild/fedora -Isrc src/mongo/util/version_impl.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/s/write_ops/batched_command_response.cpp:34: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/s/write_ops/batched_command_response.h:36, from src/mongo/s/write_ops/batched_command_response.cpp:31: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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 g++ -o build/fedora/mongo/util/base64.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/util/base64.cpp src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/mongo/db/auth/role_graph.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/auth/role_graph.cpp In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call g++ -o build/fedora/mongo/rpc/command_request.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/rpc/command_request.cpp g++ -o build/fedora/mongo/db/ftdc/ftdc_system_stats_linux.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/ftdc/ftdc_system_stats_linux.cpp ar rcsTD build/fedora/mongo/rpc/libcommand_request.a build/fedora/mongo/rpc/command_request.o build/fedora/mongo/rpc/command_request_builder.o Skipping ranlib for thin archive build/fedora/mongo/rpc/libcommand_request.a g++ -o build/fedora/third_party/icu4c-57.1/source/i18n/taiwncal.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/taiwncal.cpp g++ -o build/fedora/third_party/icu4c-57.1/source/i18n/csmatch.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/csmatch.cpp g++ -o build/fedora/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src15.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -Wno-non-virtual-dtor -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -include js-confdefs.h -Wno-invalid-offsetof -fPIE -DIMPL_MFBT -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=1 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora/third_party/mozjs-45/extract/js/src -Isrc/third_party/mozjs-45/extract/js/src -Ibuild/fedora/third_party/mozjs-45/extract/mfbt -Isrc/third_party/mozjs-45/extract/mfbt -Ibuild/fedora/third_party/mozjs-45/extract/intl/icu/source/common -Isrc/third_party/mozjs-45/extract/intl/icu/source/common -Ibuild/fedora/third_party/mozjs-45/include -Isrc/third_party/mozjs-45/include -Ibuild/fedora/third_party/mozjs-45/mongo_sources -Isrc/third_party/mozjs-45/mongo_sources -Ibuild/fedora/third_party/mozjs-45/platform/x86_64/linux/build -Isrc/third_party/mozjs-45/platform/x86_64/linux/build -Ibuild/fedora/third_party/mozjs-45/platform/x86_64/linux/include -Isrc/third_party/mozjs-45/platform/x86_64/linux/include src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src15.cpp g++ -o build/fedora/mongo/db/commands/refresh_sessions_command_internal.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/commands/refresh_sessions_command_internal.cpp In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/vm/RegExpObject.h:13, from src/third_party/mozjs-45/extract/js/src/builtin/RegExp.h:10, from src/third_party/mozjs-45/extract/js/src/jscompartment.h:15, from src/third_party/mozjs-45/extract/js/src/jsweakmap.h:13, from src/third_party/mozjs-45/extract/js/src/builtin/TypedObject.h:11, from src/third_party/mozjs-45/extract/js/src/builtin/SIMD.h:13, from src/third_party/mozjs-45/extract/js/src/jit/MIR.h:18, from src/third_party/mozjs-45/extract/js/src/jit/MIR.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src15.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1040:19: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 1040 | memcpy(&elements_[dstStart], src, count * sizeof(HeapSlot)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsobj.h:21, from src/third_party/mozjs-45/extract/js/src/builtin/SIMD.h:11: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here 650 | class HeapSlot : public WriteBarrieredBase | ^~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1048:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 1048 | memcpy(&elements_[dstStart], src, count * sizeof(HeapSlot)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here 650 | class HeapSlot : public WriteBarrieredBase | ^~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1082:20: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 1082 | memmove(elements_ + dstStart, elements_ + srcStart, count * sizeof(HeapSlot)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here 650 | class HeapSlot : public WriteBarrieredBase | ^~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1094:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 1094 | memmove(elements_ + dstStart, elements_ + srcStart, count * sizeof(Value)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here 650 | class HeapSlot : public WriteBarrieredBase | ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/MIR.cpp:28: src/third_party/mozjs-45/extract/js/src/jsobjinlines.h: In static member function 'static JSObject* JSObject::create(js::ExclusiveContext*, js::gc::AllocKind, js::gc::InitialHeap, js::HandleShape, js::HandleObjectGroup)': src/third_party/mozjs-45/extract/js/src/jsobjinlines.h:355:15: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::HeapSlot'; use assignment instead [-Wclass-memaccess] 355 | memset(obj->as().fixedSlots(), 0, size - sizeof(js::NativeObject)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here 650 | class HeapSlot : public WriteBarrieredBase | ^~~~~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/db/commands/refresh_sessions_command_internal.cpp:34: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/db/server_options.h:30, from src/mongo/base/secure_allocator.h:40, from src/mongo/db/auth/authorization_manager.h:35, from src/mongo/db/auth/authorization_session.h:38, from src/mongo/db/commands/refresh_sessions_command_internal.cpp:32: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/extract/js/src/jsapi.h:25, from src/third_party/mozjs-45/extract/js/src/builtin/SIMD.h:10: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': src/third_party/mozjs-45/include/js/MemoryMetrics.h:40:34: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/gc/StoreBuffer.h:18, from src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:13: src/third_party/mozjs-45/include/js/MemoryMetrics.h:31:8: note: 'struct JS::TabSizes' declared here 31 | struct TabSizes | ^~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::ServoSizes]': src/third_party/mozjs-45/include/js/MemoryMetrics.h:71:36: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::ServoSizes'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/MemoryMetrics.h:59:8: note: 'struct JS::ServoSizes' declared here 59 | struct ServoSizes | ^~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::PreliminaryObjectArray]': src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:808:25: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::PreliminaryObjectArray'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/ObjectGroup.h:16, from src/third_party/mozjs-45/extract/js/src/vm/Shape.h:31, from src/third_party/mozjs-45/extract/js/src/jsobj.h:27: src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:796:7: note: 'class js::PreliminaryObjectArray' declared here 796 | class PreliminaryObjectArray | ^~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::TypeNewScript]': src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:939:39: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::TypeNewScript' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:886:7: note: 'class js::TypeNewScript' declared here 886 | class TypeNewScript | ^~~~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JSSubString]': src/third_party/mozjs-45/extract/js/src/jsstr.h:73:37: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JSSubString'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/String.h:16, from src/third_party/mozjs-45/extract/js/src/vm/Shape.h:32: src/third_party/mozjs-45/extract/js/src/jsstr.h:68:8: note: 'struct JSSubString' declared here 68 | struct JSSubString { | ^~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': src/third_party/mozjs-45/extract/js/src/vm/String.h:1092:25: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/String.h:1074:7: note: 'class js::StaticStrings' declared here 1074 | class StaticStrings | ^~~~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': src/third_party/mozjs-45/extract/js/src/vm/Shape.h:392:25: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/Shape.h:323:7: note: 'class js::BaseShape' declared here 323 | class BaseShape : public gc::TenuredCell | ^~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:699:25: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:24: src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:686:8: note: 'struct js::jit::IonScriptCounts' declared here 686 | struct IonScriptCounts | ^~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:293:40: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:244:7: note: 'class js::NewObjectCache' declared here 244 | class NewObjectCache | ^~~~~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::Address]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:290:33: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::Address'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/Safepoints.h:12, from src/third_party/mozjs-45/extract/js/src/jit/JitFrames.h:16, from src/third_party/mozjs-45/extract/js/src/jit/Bailouts.h:13, from src/third_party/mozjs-45/extract/js/src/jit/BaselineJIT.h:16, from src/third_party/mozjs-45/extract/js/src/jit/BaselineIC.h:19, from src/third_party/mozjs-45/extract/js/src/jit/MIR.h:20: src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:282:8: note: 'struct js::jit::Address' declared here 282 | struct Address | ^~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::BaseIndex]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:306:35: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::BaseIndex'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:295:8: note: 'struct js::jit::BaseIndex' declared here 295 | struct BaseIndex | ^~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::CodeOffsetJump]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:513:25: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::jit::CodeOffsetJump'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:491:7: note: 'class js::jit::CodeOffsetJump' declared here 491 | class CodeOffsetJump | ^~~~~~~~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsapi.h:29: src/third_party/mozjs-45/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': src/third_party/mozjs-45/include/js/HashTable.h:186:67: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' src/third_party/mozjs-45/extract/js/src/vm/SPSProfiler.h:256:18: required from here src/third_party/mozjs-45/include/js/HashTable.h:1550:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] 1550 | memset(table, 0, sizeof(*table) * capacity()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/HashTable.h:722:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here 722 | class HashTableEntry | ^~~~~~~~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/BitSet.h:12, from src/third_party/mozjs-45/extract/js/src/jit/Safepoints.h:10: src/third_party/mozjs-45/extract/js/src/jit/JitAllocPolicy.h: In instantiation of 'T* js::jit::JitAllocPolicy::maybe_pod_calloc(size_t) [with T = js::detail::HashTableEntry >; size_t = long unsigned int]': src/third_party/mozjs-45/include/js/HashTable.h:1144:54: required from 'static js::detail::HashTable::Entry* js::detail::HashTable::createTable(AllocPolicy&, uint32_t, FailureBehavior) [with T = js::HashMapEntry; HashPolicy = js::HashMap::MapHashPolicy; AllocPolicy = js::jit::JitAllocPolicy; Entry = js::detail::HashTableEntry >; uint32_t = unsigned int]' src/third_party/mozjs-45/include/js/HashTable.h:1212:28: required from 'bool js::detail::HashTable::init(uint32_t) [with T = js::HashMapEntry; HashPolicy = js::HashMap::MapHashPolicy; AllocPolicy = js::jit::JitAllocPolicy; uint32_t = unsigned int]' src/third_party/mozjs-45/include/js/HashTable.h:79:73: required from 'bool js::HashMap::init(uint32_t) [with Key = JS::Value; Value = unsigned int; HashPolicy = js::jit::LIRGraph::ValueHasher; AllocPolicy = js::jit::JitAllocPolicy; uint32_t = unsigned int]' src/third_party/mozjs-45/extract/js/src/jit/LIR.h:1696:37: required from here src/third_party/mozjs-45/extract/js/src/jit/JitAllocPolicy.h:92:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::detail::HashTableEntry >' with no trivial copy-assignment [-Wclass-memaccess] 92 | memset(p, 0, numElems * sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/HashTable.h:722:7: note: 'class js::detail::HashTableEntry >' declared here 722 | class HashTableEntry | ^~~~~~~~~~~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call g++ -o build/fedora/mongo/db/pipeline/parsed_exclusion_projection.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/pipeline/parsed_exclusion_projection.cpp In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/pipeline/parsed_aggregation_projection.h:36, from src/mongo/db/pipeline/parsed_exclusion_projection.h:34, from src/mongo/db/pipeline/parsed_exclusion_projection.cpp:31: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/db/pipeline/document_source.h:44, from src/mongo/db/pipeline/document_source_single_document_transformation.h:31, from src/mongo/db/pipeline/parsed_aggregation_projection.h:37: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call g++ -o build/fedora/mongo/db/query/plan_cache_indexability.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/query/plan_cache_indexability.cpp In file included from src/mongo/util/string_map.h:36, from src/mongo/db/query/plan_cache_indexability.h:35, from src/mongo/db/query/plan_cache_indexability.cpp:31: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/plan_cache_indexability.cpp:35: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_internal_expr_eq.h:31, from src/mongo/db/query/plan_cache_indexability.cpp:37: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call ar rcsTD build/fedora/mongo/util/libsafe_num.a build/fedora/mongo/util/safe_num.o gcc -o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_atanh.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -DUSE_COMPILER_F80_TYPE=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -Dlinux=1 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_atanh.c Skipping ranlib for thin archive build/fedora/mongo/util/libsafe_num.a cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C g++ -o build/fedora/third_party/icu4c-57.1/source/common/brkiter.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/brkiter.cpp ar rcsTD build/fedora/mongo/s/query/libstore_possible_cursor.a build/fedora/mongo/s/query/store_possible_cursor.o Skipping ranlib for thin archive build/fedora/mongo/s/query/libstore_possible_cursor.a ar rcsTD build/fedora/mongo/s/query/libcluster_cursor_cleanup_job.a build/fedora/mongo/s/query/cluster_cursor_cleanup_job.o Skipping ranlib for thin archive build/fedora/mongo/s/query/libcluster_cursor_cleanup_job.a ar rcsTD build/fedora/mongo/db/storage/libstorage_repair_observer.a build/fedora/mongo/db/storage/storage_repair_observer.o Skipping ranlib for thin archive build/fedora/mongo/db/storage/libstorage_repair_observer.a g++ -o build/fedora/mongo/util/net/ssl_manager_openssl.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/asio-master/asio/include -Ibuild/fedora -Isrc src/mongo/util/net/ssl_manager_openssl.cpp ar rcsTD build/fedora/mongo/s/client/libshard_interface.a build/fedora/mongo/s/client/shard.o Skipping ranlib for thin archive build/fedora/mongo/s/client/libshard_interface.a ar rcsTD build/fedora/mongo/db/pipeline/libfield_path.a build/fedora/mongo/db/pipeline/field_path.o Skipping ranlib for thin archive build/fedora/mongo/db/pipeline/libfield_path.a gcc -o build/fedora/third_party/icu4c-57.1/source/common/uchar.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/uchar.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C ar rcsTD build/fedora/mongo/rpc/libcommand_status.a build/fedora/mongo/rpc/get_status_from_command_result.o build/fedora/mongo/rpc/write_concern_error_detail.o Skipping ranlib for thin archive build/fedora/mongo/rpc/libcommand_status.a g++ -o build/fedora/mongo/db/fts/unicode/codepoints_diacritic_map.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/fts/unicode/codepoints_diacritic_map.cpp g++ -o build/fedora/third_party/icu4c-57.1/source/common/unifunct.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/unifunct.cpp g++ -o build/fedora/third_party/icu4c-57.1/source/common/charstr.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/charstr.cpp g++ -o build/fedora/third_party/icu4c-57.1/source/i18n/collationsets.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/collationsets.cpp g++ -o build/fedora/mongo/s/catalog_cache_loader.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/s/catalog_cache_loader.cpp g++ -o build/fedora/mongo/s/shard_util.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/s/shard_util.cpp src/mongo/s/shard_util.cpp: In function 'mongo::StatusWith > > mongo::shardutil::selectChunkSplitPoints(mongo::OperationContext*, const mongo::ShardId&, const mongo::NamespaceString&, const mongo::ShardKeyPattern&, const mongo::ChunkRange&, long long int, boost::optional)': src/mongo/s/shard_util.cpp:133:21: warning: redundant move in return statement [-Wredundant-move] 133 | return std::move(splitPoints); | ~~~~~~~~~^~~~~~~~~~~~~ src/mongo/s/shard_util.cpp:133:21: note: remove 'std::move' call In file included from /usr/include/string.h:535, from /usr/include/c++/12/cstring:42, from src/mongo/base/data_type.h:32, from src/mongo/bson/bsonobj.h:39, from src/mongo/s/catalog/type_chunk.h:34, from src/mongo/s/shard_util.h:35, from src/mongo/s/shard_util.cpp:33: In function 'memcpy', inlined from 'mongo::StringData::copyTo(char*, bool) const' at src/mongo/base/string_data.h:266:15, inlined from 'mongo::StringBuilderImpl::append(mongo::StringData)' at src/mongo/bson/util/builder.h:484:19, inlined from 'mongo::StringBuilderImpl::appendIntegral(int, int)mongo::StringBuilderImpl&' at src/mongo/bson/util/builder.h:518:19, inlined from 'mongo::StringBuilderImpl::appendIntegral(int, int)mongo::StringBuilderImpl&' at src/mongo/bson/util/builder.h:512:24, inlined from 'mongo::StringBuilderImpl::operator<<(int)' at src/mongo/bson/util/builder.h:402:30, inlined from 'mongo::BSONObjBuilder::numStr[abi:cxx11](int)' at src/mongo/bson/bsonobjbuilder.h:719:14, inlined from 'mongo::BSONObjBuilder::append(mongo::StringData, std::vector > const&)mongo::BSONObjBuilder&' at src/mongo/bson/bsonobjbuilder.h:958:26, inlined from 'mongo::shardutil::splitChunkAtMultiplePoints(mongo::OperationContext*, mongo::ShardId const&, mongo::NamespaceString const&, mongo::ShardKeyPattern const&, mongo::ChunkVersion, mongo::ChunkRange const&, std::vector > const&)' at src/mongo/s/shard_util.cpp:181:15: /usr/include/bits/string_fortified.h:29:33: warning: 'memcpy' offset [0, 511] is out of the bounds [0, 0] [-Warray-bounds] 29 | return __builtin___memcpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 30 | __glibc_objsize0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -o build/fedora/mongo/s/sharding_egress_metadata_hook.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/s/sharding_egress_metadata_hook.cpp g++ -o build/fedora/mongo/s/cluster_identity_loader.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/s/cluster_identity_loader.cpp g++ -o build/fedora/mongo/s/config_server_catalog_cache_loader.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/s/config_server_catalog_cache_loader.cpp g++ -o build/fedora/third_party/icu4c-57.1/source/i18n/ucoleitr.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/ucoleitr.cpp g++ -o build/fedora/third_party/icu4c-57.1/source/i18n/winnmfmt.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/winnmfmt.cpp g++ -o build/fedora/third_party/s2/s2regionunion.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -DDEBUG_MODE=false -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/third_party/s2/s2regionunion.cc gcc -o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_to_uint64.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -DUSE_COMPILER_F80_TYPE=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -Dlinux=1 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_to_uint64.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C g++ -o build/fedora/mongo/db/concurrency/deferred_writer.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/concurrency/deferred_writer.cpp In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/bson/timestamp.h:31, from src/mongo/db/catalog/collection.h:39, from src/mongo/db/concurrency/deferred_writer.h:31, from src/mongo/db/concurrency/deferred_writer.cpp:31: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/plan_cache.h:35, from src/mongo/db/catalog/collection_info_cache.h:33, from src/mongo/db/catalog/collection.h:41: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ ar rcsTD build/fedora/mongo/s/libcoreshard.a build/fedora/mongo/s/catalog_cache_loader.o build/fedora/mongo/s/cluster_identity_loader.o build/fedora/mongo/s/config_server_catalog_cache_loader.o build/fedora/mongo/s/config_server_client.o build/fedora/mongo/s/shard_util.o build/fedora/mongo/s/sharding_egress_metadata_hook.o Skipping ranlib for thin archive build/fedora/mongo/s/libcoreshard.a g++ -o build/fedora/mongo/db/index/index_descriptor.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/index/index_descriptor.cpp In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/bson/timestamp.h:31, from src/mongo/db/catalog/collection.h:39, from src/mongo/db/index/index_descriptor.cpp:35: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/plan_cache.h:35, from src/mongo/db/catalog/collection_info_cache.h:33, from src/mongo/db/catalog/collection.h:41: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, unsigned int, mongo::StringMapTraits>': src/mongo/db/op_observer.h:310:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long unsigned int, mongo::StringMapTraits>': src/mongo/db/views/view_graph.h:177:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/db/views/view_catalog.h:174:13: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Collection*, mongo::StringMapTraits>': src/mongo/db/catalog/database.h:165:38: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Top::CollectionData, mongo::StringMapTraits>': src/mongo/db/stats/top.h:150:14: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/db/concurrency/deferred_writer.cpp: In member function 'mongo::StatusWith > mongo::DeferredWriter::_getCollection(mongo::OperationContext*)': src/mongo/db/concurrency/deferred_writer.cpp:92:21: warning: redundant move in return statement [-Wredundant-move] 92 | return std::move(agc); | ~~~~~~~~~^~~~~ src/mongo/db/concurrency/deferred_writer.cpp:92:21: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, unsigned int, mongo::StringMapTraits>': src/mongo/db/op_observer.h:310:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call ar rcsTD build/fedora/mongo/db/concurrency/libdeferred_writer.a build/fedora/mongo/db/concurrency/deferred_writer.o Skipping ranlib for thin archive build/fedora/mongo/db/concurrency/libdeferred_writer.a gcc -o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_round_integral.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -DUSE_COMPILER_F80_TYPE=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -Dlinux=1 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_round_integral.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C g++ -o build/fedora/mongo/client/connpool.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/asio-master/asio/include -Ibuild/fedora -Isrc src/mongo/client/connpool.cpp ar rcsTD build/fedora/mongo/db/index/libindex_descriptor.a build/fedora/mongo/db/index/index_descriptor.o Skipping ranlib for thin archive build/fedora/mongo/db/index/libindex_descriptor.a gcc -o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_to_uint8.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -DUSE_COMPILER_F80_TYPE=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -Dlinux=1 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_to_uint8.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C g++ -o build/fedora/mongo/db/catalog/database_holder_impl.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/catalog/database_holder_impl.cpp In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/bson/timestamp.h:31, from src/mongo/db/repl/optime.h:33, from src/mongo/db/namespace_string.h:38, from src/mongo/db/catalog/database_holder.h:36, from src/mongo/db/catalog/database_holder_impl.h:31, from src/mongo/db/catalog/database_holder_impl.cpp:33: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Database*, mongo::StringMapTraits>': src/mongo/db/catalog/database_holder_impl.h:93:9: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Database*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Database*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Database*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Database*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/client/connection_string.h:38, from src/mongo/client/dbclientinterface.h:34, from src/mongo/client/connpool.h:35, from src/mongo/client/connpool.cpp:37: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::weak_ptr, mongo::StringMapTraits>': src/mongo/client/replica_set_monitor_manager.h:101:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::weak_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::weak_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::weak_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::weak_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/plan_cache.h:35, from src/mongo/db/catalog/collection_info_cache.h:33, from src/mongo/db/catalog/collection.h:41, from src/mongo/db/catalog/database.h:38, from src/mongo/db/catalog/database_holder_impl.cpp:38: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, unsigned int, mongo::StringMapTraits>': src/mongo/db/op_observer.h:310:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long unsigned int, mongo::StringMapTraits>': src/mongo/db/views/view_graph.h:177:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/db/views/view_catalog.h:174:13: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Collection*, mongo::StringMapTraits>': src/mongo/db/catalog/database.h:165:38: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UUID, mongo::StringMapTraits>': src/mongo/db/catalog/namespace_uuid_cache.h:86:23: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UUID; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UUID; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UUID; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UUID; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::vector, mongo::StringMapTraits>': src/mongo/db/catalog/uuid_catalog.h:234:44: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::vector; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::vector; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::vector; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::vector; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ gcc -o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_asin.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -DUSE_COMPILER_F80_TYPE=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -Dlinux=1 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_asin.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C g++ -o build/fedora/mongo/db/commands/mr_common.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/commands/mr_common.cpp In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/db/curop.h:35, from src/mongo/db/commands/mr.h:37, from src/mongo/db/commands/mr_common.cpp:29: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/bson/mutable/element.h:34, from src/mongo/db/auth/privilege.h:32, from src/mongo/db/commands/mr.h:36: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/mongo/db/commands/generic_servers.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/commands/generic_servers.cpp In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/db/commands/generic_servers.cpp:35: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/bson_extract.h:35, from src/mongo/db/commands/generic_servers.cpp:33: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/mongo/db/commands/authentication_commands.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/commands/authentication_commands.cpp src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/db/commands/authentication_commands.cpp:50: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/bson/mutable/element.h:34, from src/mongo/bson/mutable/const_element.h:30, from src/mongo/bson/mutable/algorithm.h:35, from src/mongo/db/commands/authentication_commands.cpp:39: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59:30: 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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: 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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/mongo/db/commands/user_management_commands_common.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/commands/user_management_commands_common.cpp In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call g++ -o build/fedora/mongo/db/commands/reap_logical_session_cache_now.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/commands/reap_logical_session_cache_now.cpp In file included from /usr/include/c++/12/cstring:42, from src/mongo/base/string_data.h:33, from build/fedora/mongo/base/error_codes.h:35, from src/mongo/base/status.h:33, from src/mongo/bson/mutable/element.h:32, from src/mongo/db/commands/user_management_commands.h:34, from src/mongo/db/commands/user_management_commands_common.cpp:33: In function '*memchr', inlined from 'mongo::StringData::find(char, unsigned long) const' at src/mongo/base/string_data.h:275:27, inlined from 'mongo::NamespaceString::NamespaceString(mongo::StringData, mongo::StringData)' at src/mongo/db/namespace_string.h:113:9, inlined from 'mongo::ResourcePattern::forDatabaseName(mongo::StringData)' at src/mongo/db/auth/resource_pattern.h:79:51: /usr/include/string.h:102:27: warning: 'memchr' specified bound 18446744073709551615 exceeds maximum object size 9223372036854775807 [-Wstringop-overread] 102 | return __builtin_memchr (__s, __c, __n); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/db/commands/reap_logical_session_cache_now.cpp:33: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/bson/timestamp.h:31, from src/mongo/db/repl/optime.h:33, from src/mongo/db/namespace_string.h:38, from src/mongo/db/client.h:43, from src/mongo/db/commands/reap_logical_session_cache_now.cpp:32: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/third_party/icu4c-57.1/source/common/locbased.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/locbased.cpp In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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 gcc -o build/fedora/third_party/timelib-2018.01alpha1/interval.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -DHAVE_GETTIMEOFDAY -DHAVE_STRING_H -DHAVE_DIRENT_H -DHAVE_SYS_TIME_H -DHAVE_UNISTD_H -D_GNU_SOURCE -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/timelib-2018.01alpha1 src/third_party/timelib-2018.01alpha1/interval.c 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: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 cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C 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: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 g++ -o build/fedora/mongo/db/update/update_leaf_node.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/update/update_leaf_node.cpp src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/document_comparator.h:32, from src/mongo/db/pipeline/expression_context.h:41, from src/mongo/db/update/update_leaf_node.h:31, from src/mongo/db/update/update_leaf_node.cpp:31: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/bson/bsonobj.h:44, from src/mongo/db/pipeline/expression_context.h:37: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call g++ -o build/fedora/mongo/util/exception_filter_win32.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/util/exception_filter_win32.cpp g++ -o build/fedora/mongo/base/init.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/base/init.cpp ar rcsTD build/fedora/mongo/db/commands/libservers.a build/fedora/mongo/db/commands/authentication_commands.o build/fedora/mongo/db/commands/conn_pool_stats.o build/fedora/mongo/db/commands/conn_pool_sync.o build/fedora/mongo/db/commands/connection_status.o build/fedora/mongo/db/commands/generic_servers.o build/fedora/mongo/db/commands/isself.o build/fedora/mongo/db/commands/mr_common.o build/fedora/mongo/db/commands/reap_logical_session_cache_now.o build/fedora/mongo/db/commands/refresh_sessions_command_internal.o build/fedora/mongo/db/commands/user_management_commands_common.o Skipping ranlib for thin archive build/fedora/mongo/db/commands/libservers.a g++ -o build/fedora/mongo/base/global_initializer_registerer.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/base/global_initializer_registerer.cpp g++ -o build/fedora/mongo/util/allocator.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/util/allocator.cpp g++ -o build/fedora/mongo/logger/ramlog.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/logger/ramlog.cpp g++ -o build/fedora/mongo/base/data_type_terminated.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/base/data_type_terminated.cpp g++ -o build/fedora/mongo/base/string_data.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/base/string_data.cpp g++ -o build/fedora/mongo/util/concurrency/idle_thread_block.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/util/concurrency/idle_thread_block.cpp g++ -o build/fedora/mongo/bson/bson_depth.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/bson/bson_depth.cpp g++ -o build/fedora/mongo/bson/oid.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/bson/oid.cpp g++ -o build/fedora/mongo/base/simple_string_data_comparator.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/base/simple_string_data_comparator.cpp g++ -o build/fedora/mongo/platform/stack_locator_linux.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/platform/stack_locator_linux.cpp g++ -o build/fedora/mongo/bson/bsonobj.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/bson/bsonobj.cpp g++ -o build/fedora/mongo/bson/timestamp.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/bson/timestamp.cpp g++ -o build/fedora/mongo/platform/strnlen.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/platform/strnlen.cpp g++ -o build/fedora/mongo/util/system_tick_source.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/util/system_tick_source.cpp g++ -o build/fedora/mongo/util/platform_init.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/util/platform_init.cpp g++ -o build/fedora/mongo/base/status.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/base/status.cpp g++ -o build/fedora/mongo/bson/simple_bsonelement_comparator.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/bson/simple_bsonelement_comparator.cpp g++ -o build/fedora/mongo/base/error_codes.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc build/fedora/mongo/base/error_codes.cpp g++ -o build/fedora/mongo/logger/log_severity.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/logger/log_severity.cpp g++ -o build/fedora/mongo/base/parse_number.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/base/parse_number.cpp g++ -o build/fedora/mongo/util/hex.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/util/hex.cpp g++ -o build/fedora/mongo/util/stringutils.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/util/stringutils.cpp g++ -o build/fedora/mongo/bson/bson_validate.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/bson/bson_validate.cpp In file included from /usr/include/string.h:535, from /usr/include/c++/12/cstring:42, from src/mongo/base/string_data.h:33, from build/fedora/mongo/base/error_codes.h:35, from build/fedora/mongo/base/error_codes.cpp:31: In function 'memcpy', inlined from 'mongo::StringData::copyTo(char*, bool) const' at src/mongo/base/string_data.h:266:15, inlined from 'mongo::StringBuilderImpl::append(mongo::StringData)' at src/mongo/bson/util/builder.h:484:19, inlined from 'mongo::StringBuilderImpl::appendIntegral(int, int)mongo::StringBuilderImpl&' at src/mongo/bson/util/builder.h:518:19, inlined from 'mongo::StringBuilderImpl::appendIntegral(int, int)mongo::StringBuilderImpl&' at src/mongo/bson/util/builder.h:512:24, inlined from 'mongo::StringBuilderImpl::operator<<(int)' at src/mongo/bson/util/builder.h:402:30, inlined from 'mongoutils::str::stream::operator<< (int const&)mongoutils::str::stream&' at src/mongo/util/mongoutils/str.h:66:12, inlined from 'mongo::ErrorCodes::errorString[abi:cxx11](mongo::ErrorCodes::Error)' at build/fedora/mongo/base/error_codes.cpp:625:70: /usr/include/bits/string_fortified.h:29:33: warning: 'memcpy' offset [0, 503] is out of the bounds [0, 0] [-Warray-bounds] 29 | return __builtin___memcpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 30 | __glibc_objsize0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -o build/fedora/mongo/platform/posix_fadvise.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/platform/posix_fadvise.cpp g++ -o build/fedora/mongo/logger/console.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/logger/console.cpp g++ -o build/fedora/mongo/platform/stack_locator.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/platform/stack_locator.cpp g++ -o build/fedora/mongo/bson/bsonmisc.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/bson/bsonmisc.cpp g++ -o build/fedora/mongo/util/stacktrace.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/util/stacktrace.cpp g++ -o build/fedora/third_party/icu4c-57.1/source/i18n/coll.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/coll.cpp ar rcsTD build/fedora/mongo/libbase.a build/fedora/mongo/base/data_range.o build/fedora/mongo/base/data_range_cursor.o build/fedora/mongo/base/data_type.o build/fedora/mongo/base/data_type_string_data.o build/fedora/mongo/base/data_type_terminated.o build/fedora/mongo/base/error_codes.o build/fedora/mongo/base/error_extra_info.o build/fedora/mongo/base/global_initializer.o build/fedora/mongo/base/global_initializer_registerer.o build/fedora/mongo/base/init.o build/fedora/mongo/base/initializer.o build/fedora/mongo/base/initializer_dependency_graph.o build/fedora/mongo/base/make_string_vector.o build/fedora/mongo/base/parse_number.o build/fedora/mongo/base/shim.o build/fedora/mongo/base/simple_string_data_comparator.o build/fedora/mongo/base/status.o build/fedora/mongo/base/string_data.o build/fedora/mongo/base/validate_locale.o build/fedora/mongo/bson/bson_comparator_interface_base.o build/fedora/mongo/bson/bson_depth.o build/fedora/mongo/bson/bson_validate.o build/fedora/mongo/bson/bsonelement.o build/fedora/mongo/bson/bsonmisc.o build/fedora/mongo/bson/bsonobj.o build/fedora/mongo/bson/bsonobjbuilder.o build/fedora/mongo/bson/bsontypes.o build/fedora/mongo/bson/json.o build/fedora/mongo/bson/oid.o build/fedora/mongo/bson/simple_bsonelement_comparator.o build/fedora/mongo/bson/simple_bsonobj_comparator.o build/fedora/mongo/bson/timestamp.o build/fedora/mongo/logger/component_message_log_domain.o build/fedora/mongo/logger/console.o build/fedora/mongo/logger/log_component.o build/fedora/mongo/logger/log_component_settings.o build/fedora/mongo/logger/log_manager.o build/fedora/mongo/logger/log_severity.o build/fedora/mongo/logger/logger.o build/fedora/mongo/logger/logstream_builder.o build/fedora/mongo/logger/message_event_utf8_encoder.o build/fedora/mongo/logger/message_log_domain.o build/fedora/mongo/logger/ramlog.o build/fedora/mongo/logger/redaction.o build/fedora/mongo/logger/rotatable_file_manager.o build/fedora/mongo/logger/rotatable_file_writer.o build/fedora/mongo/platform/decimal128.o build/fedora/mongo/platform/posix_fadvise.o build/fedora/mongo/platform/process_id.o build/fedora/mongo/platform/random.o build/fedora/mongo/platform/shared_library.o build/fedora/mongo/platform/shared_library_posix.o build/fedora/mongo/platform/stack_locator.o build/fedora/mongo/platform/stack_locator_linux.o build/fedora/mongo/platform/strcasestr.o build/fedora/mongo/platform/strnlen.o build/fedora/mongo/util/allocator.o build/fedora/mongo/util/assert_util.o build/fedora/mongo/util/base64.o build/fedora/mongo/util/concurrency/idle_thread_block.o build/fedora/mongo/util/concurrency/thread_name.o build/fedora/mongo/util/duration.o build/fedora/mongo/util/errno_util.o build/fedora/mongo/util/exception_filter_win32.o build/fedora/mongo/util/exit.o build/fedora/mongo/util/file.o build/fedora/mongo/util/hex.o build/fedora/mongo/util/itoa.o build/fedora/mongo/util/log.o build/fedora/mongo/util/platform_init.o build/fedora/mongo/util/signal_handlers_synchronous.o build/fedora/mongo/util/stacktrace.o build/fedora/mongo/util/stacktrace_posix.o build/fedora/mongo/util/startup_test.o build/fedora/mongo/util/stringutils.o build/fedora/mongo/util/system_clock_source.o build/fedora/mongo/util/system_tick_source.o build/fedora/mongo/util/text.o build/fedora/mongo/util/time_support.o build/fedora/mongo/util/timer.o build/fedora/mongo/util/uuid.o build/fedora/mongo/util/version.o Skipping ranlib for thin archive build/fedora/mongo/libbase.a g++ -o build/fedora/mongo/db/time_proof_service.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/time_proof_service.cpp gcc -o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_modf.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -DUSE_COMPILER_F80_TYPE=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -Dlinux=1 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_modf.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C g++ -o build/fedora/mongo/db/periodic_runner_job_abort_expired_transactions.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/periodic_runner_job_abort_expired_transactions.cpp ar rcsTD build/fedora/mongo/db/libtime_proof_service.a build/fedora/mongo/db/time_proof_service.o Skipping ranlib for thin archive build/fedora/mongo/db/libtime_proof_service.a g++ -o build/fedora/third_party/icu4c-57.1/source/common/pluralmap.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/pluralmap.cpp g++ -o build/fedora/third_party/icu4c-57.1/source/i18n/collation.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/collation.cpp g++ -o build/fedora/mongo/db/query/planner_ixselect.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/query/planner_ixselect.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/db/curop.h:35, from src/mongo/db/single_transaction_stats.h:31, from src/mongo/db/session.h:42, from src/mongo/db/periodic_runner_job_abort_expired_transactions.cpp:38: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/bson/timestamp.h:31, from src/mongo/db/repl/optime.h:33, from src/mongo/db/namespace_string.h:38, from src/mongo/db/client.h:43, from src/mongo/db/periodic_runner_job_abort_expired_transactions.cpp:35: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/planner_ixselect.h:31, from src/mongo/db/query/planner_ixselect.cpp:31: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/bson_validate.h:35, from src/mongo/db/dbmessage.h:34, from src/mongo/db/query/canonical_query.h:33: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ 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: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/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ 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: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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/query/planner_ixselect.cpp:40: src/mongo/db/matcher/expression_array.h: In member function 'virtual std::unique_ptr mongo::ElemMatchObjectMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_array.h:85:25: warning: redundant move in return statement [-Wredundant-move] 85 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_array.h:85:25: note: remove 'std::move' call src/mongo/db/matcher/expression_array.h: In member function 'virtual std::unique_ptr mongo::ElemMatchValueMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_array.h:140:25: warning: redundant move in return statement [-Wredundant-move] 140 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_array.h:140:25: note: remove 'std::move' call src/mongo/db/matcher/expression_array.h: In member function 'virtual std::unique_ptr mongo::SizeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_array.h:177:25: warning: redundant move in return statement [-Wredundant-move] 177 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_array.h:177:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call g++ -o build/fedora/third_party/icu4c-57.1/source/i18n/ucol_res.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/ucol_res.cpp g++ -o build/fedora/mongo/db/query/datetime/init_timezone_data.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/timelib-2018.01alpha1 -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/query/datetime/init_timezone_data.cpp In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from build/fedora/mongo/db/logical_session_id_gen.h:16, from src/mongo/db/logical_session_id.h:34, from src/mongo/db/service_context.h:36, from src/mongo/db/query/datetime/date_time_support.h:35, from src/mongo/db/query/datetime/init_timezone_data.cpp:34: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ ar rcsTD build/fedora/mongo/db/query/datetime/libinit_timezone_data.a build/fedora/mongo/db/query/datetime/init_timezone_data.o Skipping ranlib for thin archive build/fedora/mongo/db/query/datetime/libinit_timezone_data.a ar rcsTD build/fedora/mongo/db/repl/libreporter.a build/fedora/mongo/db/repl/reporter.o Skipping ranlib for thin archive build/fedora/mongo/db/repl/libreporter.a g++ -o build/fedora/mongo/util/progress_meter.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/asio-master/asio/include -Ibuild/fedora -Isrc src/mongo/util/progress_meter.cpp g++ -o build/fedora/mongo/db/collection_index_usage_tracker.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/collection_index_usage_tracker.cpp gcc -o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_to_uint32.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -DUSE_COMPILER_F80_TYPE=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -Dlinux=1 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_to_uint32.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C gcc -o build/fedora/third_party/icu4c-57.1/source/common/ubidiwrt.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/ubidiwrt.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C ar rcsTD build/fedora/mongo/db/storage/ephemeral_for_test/libstorage_ephemeral_for_test.a build/fedora/mongo/db/storage/ephemeral_for_test/ephemeral_for_test_init.o Skipping ranlib for thin archive build/fedora/mongo/db/storage/ephemeral_for_test/libstorage_ephemeral_for_test.a ar rcsTD build/fedora/mongo/db/repl/libdatabase_cloner.a build/fedora/mongo/db/repl/database_cloner.o Skipping ranlib for thin archive build/fedora/mongo/db/repl/libdatabase_cloner.a g++ -o build/fedora/third_party/icu4c-57.1/source/i18n/scientificnumberformatter.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/scientificnumberformatter.cpp g++ -o build/fedora/third_party/icu4c-57.1/source/i18n/ucln_in.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/ucln_in.cpp In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/bson/bsonobj.h:44, from src/mongo/db/collection_index_usage_tracker.h:33, from src/mongo/db/collection_index_usage_tracker.cpp:33: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/third_party/icu4c-57.1/source/i18n/buddhcal.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/buddhcal.cpp g++ -o build/fedora/third_party/icu4c-57.1/source/i18n/rbtz.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/rbtz.cpp g++ -o build/fedora/mongo/db/ops/write_ops_retryability.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/ops/write_ops_retryability.cpp g++ -o build/fedora/third_party/icu4c-57.1/source/common/unistr_case.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/unistr_case.cpp g++ -o build/fedora/mongo/db/initialize_operation_session_info.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/initialize_operation_session_info.cpp g++ -o build/fedora/mongo/db/logical_session_cache_impl.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/logical_session_cache_impl.cpp g++ -o build/fedora/mongo/db/logical_session_server_status_section.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/logical_session_server_status_section.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/db/commands/server_status.h:33, from src/mongo/db/logical_session_server_status_section.cpp:31: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/bson/mutable/element.h:34, from src/mongo/db/auth/privilege.h:32, from src/mongo/db/commands.h:39: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call ar rcsTD build/fedora/mongo/db/storage/ephemeral_for_test/libephemeral_for_test_record_store.a build/fedora/mongo/db/storage/ephemeral_for_test/ephemeral_for_test_record_store.o Skipping ranlib for thin archive build/fedora/mongo/db/storage/ephemeral_for_test/libephemeral_for_test_record_store.a g++ -o build/fedora/third_party/icu4c-57.1/source/common/ustr_wcs.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/ustr_wcs.cpp gcc -o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_div.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -DUSE_COMPILER_F80_TYPE=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -Dlinux=1 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_div.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C ar rcsTD build/fedora/mongo/db/liblogical_session_cache_impl.a build/fedora/mongo/db/initialize_operation_session_info.o build/fedora/mongo/db/logical_session_cache_impl.o build/fedora/mongo/db/logical_session_server_status_section.o build/fedora/mongo/db/commands/end_sessions_gen.o Skipping ranlib for thin archive build/fedora/mongo/db/liblogical_session_cache_impl.a g++ -o build/fedora/third_party/icu4c-57.1/source/i18n/csrecog.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/csrecog.cpp g++ -o build/fedora/third_party/icu4c-57.1/source/common/rbbi.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/rbbi.cpp gcc -o build/fedora/third_party/icu4c-57.1/source/common/propsvec.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/propsvec.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C g++ -o build/fedora/mongo/db/logical_session_id_helpers.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/logical_session_id_helpers.cpp g++ -o build/fedora/mongo/db/query/killcursors_response.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/query/killcursors_response.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/query_solution.h:36, from src/mongo/db/query/plan_executor.h:37, from src/mongo/db/clientcursor.h:38, from src/mongo/db/query/killcursors_response.h:35, from src/mongo/db/query/killcursors_response.cpp:33: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/bson/bsonobj.h:44, from src/mongo/db/query/killcursors_response.h:34: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36, from src/mongo/db/query/plan_cache.h:35, from src/mongo/db/query/query_solution.h:38: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ ar rcsTD build/fedora/mongo/db/liblogical_session_id_helpers.a build/fedora/mongo/db/logical_session_id_helpers.o Skipping ranlib for thin archive build/fedora/mongo/db/liblogical_session_id_helpers.a g++ -o build/fedora/third_party/icu4c-57.1/source/common/ustring.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/ustring.cpp src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/third_party/icu4c-57.1/source/common/ucasemap.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/ucasemap.cpp g++ -o build/fedora/mongo/db/free_mon/free_mon_status.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/free_mon/free_mon_status.cpp In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/db/commands/server_status.h:33, from src/mongo/db/free_mon/free_mon_status.cpp:31: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/bson/mutable/element.h:34, from src/mongo/db/auth/privilege.h:32, from src/mongo/db/commands.h:39: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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 g++ -o build/fedora/third_party/icu4c-57.1/source/i18n/tzrule.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/tzrule.cpp g++ -o build/fedora/mongo/db/fts/fts_query_impl.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/fts/fts_query_impl.cpp src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/db/fts/fts_util.h:35, from src/mongo/db/fts/fts_query.h:33, from src/mongo/db/fts/fts_query_impl.h:37, from src/mongo/db/fts/fts_query_impl.cpp:33: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, bool, mongo::StringMapTraits>': src/mongo/db/fts/stop_words.h:62:21: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = bool; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = bool; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = bool; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = bool; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/db/fts/fts_query_impl.cpp: In member function 'virtual std::unique_ptr mongo::fts::FTSQueryImpl::clone() const': src/mongo/db/fts/fts_query_impl.cpp:153:21: warning: redundant move in return statement [-Wredundant-move] 153 | return std::move(clonedQuery); | ~~~~~~~~~^~~~~~~~~~~~~ src/mongo/db/fts/fts_query_impl.cpp:153:21: note: remove 'std::move' call In file included from /usr/include/string.h:535, from /usr/include/c++/12/cstring:42, from src/mongo/base/string_data.h:33, from src/mongo/db/jsobj.h:45: In function 'memcpy', inlined from 'mongo::StringData::copyTo(char*, bool) const' at src/mongo/base/string_data.h:266:15, inlined from 'mongo::StringBuilderImpl::append(mongo::StringData)' at src/mongo/bson/util/builder.h:484:19, inlined from 'mongo::StringBuilderImpl::appendIntegral(int, int)mongo::StringBuilderImpl&' at src/mongo/bson/util/builder.h:518:19, inlined from 'mongo::StringBuilderImpl::appendIntegral(int, int)mongo::StringBuilderImpl&' at src/mongo/bson/util/builder.h:512:24, inlined from 'mongo::StringBuilderImpl::operator<<(int)' at src/mongo/bson/util/builder.h:402:30, inlined from 'mongo::BSONObjBuilder::numStr[abi:cxx11](int)' at src/mongo/bson/bsonobjbuilder.h:719:14: /usr/include/bits/string_fortified.h:29:33: warning: 'memcpy' offset [0, 511] is out of the bounds [0, 0] [-Warray-bounds] 29 | return __builtin___memcpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 30 | __glibc_objsize0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -o build/fedora/mongo/db/ops/single_write_result_gen.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc build/fedora/mongo/db/ops/single_write_result_gen.cpp In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call g++ -o build/fedora/third_party/icu4c-57.1/source/common/uresdata.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/uresdata.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from build/fedora/mongo/db/ops/single_write_result_gen.cpp:16: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from build/fedora/mongo/db/ops/single_write_result_gen.h:16, from build/fedora/mongo/db/ops/single_write_result_gen.cpp:9: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call ar rcsTD build/fedora/mongo/db/commands/libtest_commands_enabled.a build/fedora/mongo/db/commands/test_commands_enabled.o Skipping ranlib for thin archive build/fedora/mongo/db/commands/libtest_commands_enabled.a 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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call g++ -o build/fedora/mongo/executor/network_interface.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/executor/network_interface.cpp 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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/mongo/db/cursor_server_params.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/cursor_server_params.cpp In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call ar rcsTD build/fedora/mongo/db/libcursor_server_params.a build/fedora/mongo/db/cursor_server_params.o Skipping ranlib for thin archive build/fedora/mongo/db/libcursor_server_params.a g++ -o build/fedora/mongo/db/catalog/database_impl.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/catalog/database_impl.cpp g++ -o build/fedora/mongo/db/commands/whats_my_uri_cmd.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/commands/whats_my_uri_cmd.cpp In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/bson/bsonobj.h:44, from src/mongo/db/catalog/database.h:37, from src/mongo/db/catalog/database_impl.h:31, from src/mongo/db/catalog/database_impl.cpp:33: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/plan_cache.h:35, from src/mongo/db/catalog/collection_info_cache.h:33, from src/mongo/db/catalog/collection.h:41, from src/mongo/db/catalog/database.h:38: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/db/commands/whats_my_uri_cmd.cpp:31: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/bson/mutable/element.h:34, from src/mongo/db/auth/privilege.h:32, from src/mongo/db/commands.h:39: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ 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: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::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::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_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, unsigned int, mongo::StringMapTraits>': src/mongo/db/op_observer.h:310:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long unsigned int, mongo::StringMapTraits>': src/mongo/db/views/view_graph.h:177:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/db/views/view_catalog.h:174:13: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Collection*, mongo::StringMapTraits>': src/mongo/db/catalog/database.h:165:38: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UUID, mongo::StringMapTraits>': src/mongo/db/catalog/namespace_uuid_cache.h:86:23: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UUID; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UUID; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UUID; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UUID; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::vector, mongo::StringMapTraits>': src/mongo/db/catalog/uuid_catalog.h:234:44: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::vector; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::vector; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::vector; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::vector; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ChunkVersion, mongo::StringMapTraits>': src/mongo/db/s/operation_sharding_state.h:184:29: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ChunkVersion; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ChunkVersion; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ChunkVersion; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ChunkVersion; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::DatabaseVersion, mongo::StringMapTraits>': src/mongo/db/s/operation_sharding_state.h:185:32: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::DatabaseVersion; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::DatabaseVersion; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::DatabaseVersion; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::DatabaseVersion; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Top::CollectionData, mongo::StringMapTraits>': src/mongo/db/stats/top.h:150:14: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ ar rcsTD build/fedora/mongo/db/commands/libshell_protocol.a build/fedora/mongo/db/commands/test_commands.o build/fedora/mongo/db/commands/whats_my_uri_cmd.o Skipping ranlib for thin archive build/fedora/mongo/db/commands/libshell_protocol.a g++ -o build/fedora/mongo/db/matcher/path.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/matcher/path.cpp In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call ar rcsTD build/fedora/mongo/db/matcher/libpath.a build/fedora/mongo/db/matcher/path.o build/fedora/mongo/db/matcher/path_internal.o Skipping ranlib for thin archive build/fedora/mongo/db/matcher/libpath.a g++ -o build/fedora/third_party/icu4c-57.1/source/common/normalizer2.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/normalizer2.cpp gcc -o build/fedora/third_party/icu4c-57.1/source/common/ucmndata.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/ucmndata.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C g++ -o build/fedora/mongo/db/sessions_collection_config_server.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/sessions_collection_config_server.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/db/sessions_collection_config_server.cpp:36: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from build/fedora/mongo/db/logical_session_id_gen.h:16, from src/mongo/db/logical_session_id.h:34, from src/mongo/db/sessions_collection_config_server.h:33, from src/mongo/db/sessions_collection_config_server.cpp:33: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/s/catalog_cache.h:377:21: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/s/catalog_cache.h:379:24: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/s/catalog_cache.h:379:24: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/s/catalog_cache.h:379:24: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call g++ -o build/fedora/third_party/icu4c-57.1/source/i18n/inputext.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/inputext.cpp g++ -o build/fedora/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src34.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -Wno-non-virtual-dtor -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -include js-confdefs.h -Wno-invalid-offsetof -fPIE -DIMPL_MFBT -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=1 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora/third_party/mozjs-45/extract/js/src -Isrc/third_party/mozjs-45/extract/js/src -Ibuild/fedora/third_party/mozjs-45/extract/mfbt -Isrc/third_party/mozjs-45/extract/mfbt -Ibuild/fedora/third_party/mozjs-45/extract/intl/icu/source/common -Isrc/third_party/mozjs-45/extract/intl/icu/source/common -Ibuild/fedora/third_party/mozjs-45/include -Isrc/third_party/mozjs-45/include -Ibuild/fedora/third_party/mozjs-45/mongo_sources -Isrc/third_party/mozjs-45/mongo_sources -Ibuild/fedora/third_party/mozjs-45/platform/x86_64/linux/build -Isrc/third_party/mozjs-45/platform/x86_64/linux/build -Ibuild/fedora/third_party/mozjs-45/platform/x86_64/linux/include -Isrc/third_party/mozjs-45/platform/x86_64/linux/include src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src34.cpp gcc -o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_to_bid64.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -DUSE_COMPILER_F80_TYPE=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -Dlinux=1 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_to_bid64.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C g++ -o build/fedora/mongo/db/logical_session_cache.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/logical_session_cache.cpp In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/vm/StringBuffer.h:13, from src/third_party/mozjs-45/extract/js/src/vm/StringBuffer.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src34.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1040:19: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 1040 | memcpy(&elements_[dstStart], src, count * sizeof(HeapSlot)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:22: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here 650 | class HeapSlot : public WriteBarrieredBase | ^~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1048:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 1048 | memcpy(&elements_[dstStart], src, count * sizeof(HeapSlot)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here 650 | class HeapSlot : public WriteBarrieredBase | ^~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1082:20: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 1082 | memmove(elements_ + dstStart, elements_ + srcStart, count * sizeof(HeapSlot)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here 650 | class HeapSlot : public WriteBarrieredBase | ^~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1094:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 1094 | memmove(elements_ + dstStart, elements_ + srcStart, count * sizeof(Value)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here 650 | class HeapSlot : public WriteBarrieredBase | ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/StringBuffer.cpp:11: src/third_party/mozjs-45/extract/js/src/jsobjinlines.h: In static member function 'static JSObject* JSObject::create(js::ExclusiveContext*, js::gc::AllocKind, js::gc::InitialHeap, js::HandleShape, js::HandleObjectGroup)': src/third_party/mozjs-45/extract/js/src/jsobjinlines.h:355:15: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::HeapSlot'; use assignment instead [-Wclass-memaccess] 355 | memset(obj->as().fixedSlots(), 0, size - sizeof(js::NativeObject)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here 650 | class HeapSlot : public WriteBarrieredBase | ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/TraceableVector.h:12, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:14: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': src/third_party/mozjs-45/include/js/MemoryMetrics.h:40:34: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/gc/StoreBuffer.h:18, from src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:13: src/third_party/mozjs-45/include/js/MemoryMetrics.h:31:8: note: 'struct JS::TabSizes' declared here 31 | struct TabSizes | ^~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::ServoSizes]': src/third_party/mozjs-45/include/js/MemoryMetrics.h:71:36: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::ServoSizes'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/MemoryMetrics.h:59:8: note: 'struct JS::ServoSizes' declared here 59 | struct ServoSizes | ^~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JSSubString]': src/third_party/mozjs-45/extract/js/src/jsstr.h:73:37: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JSSubString'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/TraceLoggingTypes.h:11, from src/third_party/mozjs-45/extract/js/src/vm/TraceLoggingGraph.h:15, from src/third_party/mozjs-45/extract/js/src/vm/TraceLogging.h:19, from src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:22, from src/third_party/mozjs-45/extract/js/src/jsscript.h:24: src/third_party/mozjs-45/extract/js/src/jsstr.h:68:8: note: 'struct JSSubString' declared here 68 | struct JSSubString { | ^~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::PreliminaryObjectArray]': src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:808:25: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::PreliminaryObjectArray'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:23: src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:796:7: note: 'class js::PreliminaryObjectArray' declared here 796 | class PreliminaryObjectArray | ^~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::TypeNewScript]': src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:939:39: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::TypeNewScript' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:886:7: note: 'class js::TypeNewScript' declared here 886 | class TypeNewScript | ^~~~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:699:25: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:686:8: note: 'struct js::jit::IonScriptCounts' declared here 686 | struct IonScriptCounts | ^~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': src/third_party/mozjs-45/extract/js/src/vm/String.h:1092:25: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/Shape.h:32, from src/third_party/mozjs-45/extract/js/src/jsobj.h:27, from src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:16: src/third_party/mozjs-45/extract/js/src/vm/String.h:1074:7: note: 'class js::StaticStrings' declared here 1074 | class StaticStrings | ^~~~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': src/third_party/mozjs-45/extract/js/src/vm/Shape.h:392:25: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/Shape.h:323:7: note: 'class js::BaseShape' declared here 323 | class BaseShape : public gc::TenuredCell | ^~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:293:40: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:244:7: note: 'class js::NewObjectCache' declared here 244 | class NewObjectCache | ^~~~~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::Address]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:290:33: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::Address'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/Safepoints.h:12, from src/third_party/mozjs-45/extract/js/src/jit/JitFrames.h:16, from src/third_party/mozjs-45/extract/js/src/jscntxtinlines.h:16, from src/third_party/mozjs-45/extract/js/src/jscompartmentinlines.h:14, from src/third_party/mozjs-45/extract/js/src/jsobjinlines.h:29: src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:282:8: note: 'struct js::jit::Address' declared here 282 | struct Address | ^~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::BaseIndex]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:306:35: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::BaseIndex'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:295:8: note: 'struct js::jit::BaseIndex' declared here 295 | struct BaseIndex | ^~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::CodeOffsetJump]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:513:25: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::jit::CodeOffsetJump'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:491:7: note: 'class js::jit::CodeOffsetJump' declared here 491 | class CodeOffsetJump | ^~~~~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*, size_t) [with T = js::TemporaryTypeSet; size_t = long unsigned int]': src/third_party/mozjs-45/extract/js/src/vm/TypeInference.cpp:1112:12: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:46:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::TemporaryTypeSet'; use assignment or value-initialization instead [-Wclass-memaccess] 46 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:655:7: note: 'class js::TemporaryTypeSet' declared here 655 | class TemporaryTypeSet : public TypeSet | ^~~~~~~~~~~~~~~~ g++ -o build/fedora/mongo/util/fail_point_server_parameter.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/asio-master/asio/include -Ibuild/fedora -Isrc src/mongo/util/fail_point_server_parameter.cpp In file included from src/third_party/mozjs-45/include/js/TracingAPI.h:12, from src/third_party/mozjs-45/include/js/TraceableVector.h:13: src/third_party/mozjs-45/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': src/third_party/mozjs-45/include/js/HashTable.h:186:67: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' src/third_party/mozjs-45/extract/js/src/vm/SPSProfiler.h:256:18: required from here src/third_party/mozjs-45/include/js/HashTable.h:1550:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] 1550 | memset(table, 0, sizeof(*table) * capacity()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/HashTable.h:722:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here 722 | class HashTableEntry | ^~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::TempAllocPolicy>::MapHashPolicy; AllocPolicy = js::TempAllocPolicy]': src/third_party/mozjs-45/include/js/HashTable.h:186:67: required from 'void js::HashMap::clear() [with Key = JSObject*; Value = unsigned int; HashPolicy = js::MovableCellHasher; AllocPolicy = js::TempAllocPolicy]' src/third_party/mozjs-45/include/js/GCHashTable.h:133:47: required from 'void js::MutableGCHashMapOperations::clear() [with Outer = JS::Rooted > >; Args = {JSObject*, unsigned int, js::MovableCellHasher, js::TempAllocPolicy, js::DefaultMapGCPolicy}]' src/third_party/mozjs-45/extract/js/src/vm/StructuredClone.cpp:1403:17: required from here src/third_party/mozjs-45/include/js/HashTable.h:1550:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::TempAllocPolicy>::MapHashPolicy, js::TempAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] 1550 | memset(table, 0, sizeof(*table) * capacity()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/HashTable.h:722:7: note: 'js::detail::HashTable, js::HashMap, js::TempAllocPolicy>::MapHashPolicy, js::TempAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here 722 | class HashTableEntry | ^~~~~~~~~~~~~~ g++ -o build/fedora/mongo/util/fail_point.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/asio-master/asio/include -Ibuild/fedora -Isrc src/mongo/util/fail_point.cpp ar rcsTD build/fedora/mongo/util/libfail_point.a build/fedora/mongo/util/fail_point.o build/fedora/mongo/util/fail_point_registry.o build/fedora/mongo/util/fail_point_server_parameter.o build/fedora/mongo/util/fail_point_service.o Skipping ranlib for thin archive build/fedora/mongo/util/libfail_point.a gcc -o build/fedora/third_party/icu4c-57.1/source/common/uarrsort.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/uarrsort.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C gcc -o build/fedora/third_party/icu4c-57.1/source/common/ucnv_u16.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/ucnv_u16.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C g++ -o build/fedora/third_party/icu4c-57.1/source/i18n/uregex.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/uregex.cpp g++ -o build/fedora/mongo/db/storage/storage_engine_init.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/storage/storage_engine_init.cpp In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::AddClearDefiniteGetterSetterForPrototypeChain(JSContext*, js::ObjectGroup*, JS::Handle)' at src/third_party/mozjs-45/extract/js/src/vm/TypeInference.cpp:3098:59: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'proto' in 'MEM[(struct Rooted * *)cx_85(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src34.cpp:47: src/third_party/mozjs-45/extract/js/src/vm/TypeInference.cpp: In function 'js::AddClearDefiniteGetterSetterForPrototypeChain(JSContext*, js::ObjectGroup*, JS::Handle)': src/third_party/mozjs-45/extract/js/src/vm/TypeInference.cpp:3098:18: note: 'proto' declared here 3098 | RootedObject proto(cx, group->proto().toObjectOrNull()); | ^~~~~ src/third_party/mozjs-45/extract/js/src/vm/TypeInference.cpp:3098:18: note: 'cx_85(D)' declared here g++ -o build/fedora/mongo/db/pipeline/document_source_bucket.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/pipeline/document_source_bucket.cpp g++ -o build/fedora/third_party/s2/base/logging.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Isrc/third_party/s2 -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/third_party/s2/base/logging.cc g++ -o build/fedora/mongo/util/background_thread_clock_source.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/asio-master/asio/include -Ibuild/fedora -Isrc src/mongo/util/background_thread_clock_source.cpp In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/bson/bsonobj.h:44, from src/mongo/bson/bsonobj_comparator_interface.h:32, from src/mongo/bson/simple_bsonobj_comparator.h:34, from src/mongo/db/pipeline/document_source.h:41, from src/mongo/db/pipeline/document_source_bucket.h:31, from src/mongo/db/pipeline/document_source_bucket.cpp:29: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/db/pipeline/document_source.h:44: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ gcc -o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_string.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -DUSE_COMPILER_F80_TYPE=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -Dlinux=1 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_string.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ ar rcsTD build/fedora/mongo/executor/libnetwork_interface.a build/fedora/mongo/executor/network_interface.o Skipping ranlib for thin archive build/fedora/mongo/executor/libnetwork_interface.a g++ -o build/fedora/mongo/db/fts/fts_spec.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/fts/fts_spec.cpp In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/db/fts/fts_util.h:35, from src/mongo/db/fts/fts_language.h:37, from src/mongo/db/fts/fts_spec.h:36, from src/mongo/db/fts/fts_spec.cpp:32: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, bool, mongo::StringMapTraits>': src/mongo/db/fts/stop_words.h:62:21: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = bool; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = bool; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = bool; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = bool; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/matcher/expression_parser.h:35, from src/mongo/db/fts/fts_spec.cpp:39: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37: 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: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::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::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::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:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::fts::ScoreHelperStruct, mongo::StringMapTraits>': src/mongo/db/fts/fts_spec.cpp:196:20: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::fts::ScoreHelperStruct; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::fts::ScoreHelperStruct; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::fts::ScoreHelperStruct; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::fts::ScoreHelperStruct; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call gcc -o build/fedora/third_party/icu4c-57.1/source/common/ucnv_u32.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/ucnv_u32.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C ar rcsTD build/fedora/mongo/db/liblogical_session_cache.a build/fedora/mongo/db/logical_session_cache.o build/fedora/mongo/db/logical_session_cache_stats_gen.o Skipping ranlib for thin archive build/fedora/mongo/db/liblogical_session_cache.a g++ -o build/fedora/third_party/icu4c-57.1/source/i18n/digitgrouping.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/digitgrouping.cpp g++ -o build/fedora/mongo/client/global_conn_pool.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/asio-master/asio/include -Ibuild/fedora -Isrc src/mongo/client/global_conn_pool.cpp In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/client/connection_string.h:38, from src/mongo/client/dbclientinterface.h:34, from src/mongo/client/connpool.h:35, from src/mongo/client/global_conn_pool.h:31, from src/mongo/client/global_conn_pool.cpp:31: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::weak_ptr, mongo::StringMapTraits>': src/mongo/client/replica_set_monitor_manager.h:101:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::weak_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::weak_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::weak_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::weak_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ gcc -o build/fedora/third_party/icu4c-57.1/source/common/utypes.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/utypes.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C g++ -o build/fedora/mongo/s/query/router_stage_limit.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/s/query/router_stage_limit.cpp g++ -o build/fedora/mongo/db/repl/collection_cloner.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/repl/collection_cloner.cpp g++ -o build/fedora/mongo/db/update/update_driver.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/update/update_driver.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/query_solution.h:36, from src/mongo/db/query/plan_executor.h:37, from src/mongo/db/clientcursor.h:38, from src/mongo/client/fetcher.h:41, from src/mongo/db/repl/collection_cloner.h:39, from src/mongo/db/repl/collection_cloner.cpp:33: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/bson/bsonobj.h:44, from src/mongo/db/repl/collection_cloner.h:38: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/update/update_driver.h:39, from src/mongo/db/update/update_driver.cpp:29: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/bson/mutable/element.h:34, from src/mongo/bson/mutable/const_element.h:30, from src/mongo/bson/mutable/document.h:34, from src/mongo/db/update/update_driver.h:36: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36, from src/mongo/db/query/plan_cache.h:35, from src/mongo/db/query/query_solution.h:38: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ 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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ 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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ 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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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: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_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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: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_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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: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_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, unsigned int, mongo::StringMapTraits>': src/mongo/db/op_observer.h:310:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call ar rcsTD build/fedora/mongo/db/update/libupdate_driver.a build/fedora/mongo/db/update/update_driver.o Skipping ranlib for thin archive build/fedora/mongo/db/update/libupdate_driver.a ar rcsTD build/fedora/mongo/db/stats/libcounters.a build/fedora/mongo/db/stats/counters.o Skipping ranlib for thin archive build/fedora/mongo/db/stats/libcounters.a gcc -o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_cosh.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -DUSE_COMPILER_F80_TYPE=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -Dlinux=1 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_cosh.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C g++ -o build/fedora/mongo/executor/task_executor_pool.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/executor/task_executor_pool.cpp g++ -o build/fedora/third_party/icu4c-57.1/source/common/unames.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/unames.cpp ar rcsTD build/fedora/mongo/db/repl/libcollection_cloner.a build/fedora/mongo/db/repl/collection_cloner.o Skipping ranlib for thin archive build/fedora/mongo/db/repl/libcollection_cloner.a g++ -o build/fedora/mongo/util/clock_source.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/asio-master/asio/include -Ibuild/fedora -Isrc src/mongo/util/clock_source.cpp g++ -o build/fedora/third_party/icu4c-57.1/source/i18n/decimfmt.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/decimfmt.cpp g++ -o build/fedora/third_party/icu4c-57.1/source/i18n/hebrwcal.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/hebrwcal.cpp gcc -o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_atan.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -DUSE_COMPILER_F80_TYPE=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -Dlinux=1 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_atan.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C ar rcsTD build/fedora/mongo/db/repl/liboplog_buffer_blocking_queue.a build/fedora/mongo/db/repl/oplog_buffer_blocking_queue.o Skipping ranlib for thin archive build/fedora/mongo/db/repl/liboplog_buffer_blocking_queue.a gcc -o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_lrintd.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -DUSE_COMPILER_F80_TYPE=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -Dlinux=1 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_lrintd.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C g++ -o build/fedora/mongo/db/query/interval.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/query/interval.cpp gcc -o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_logb.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -DUSE_COMPILER_F80_TYPE=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -Dlinux=1 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_logb.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C g++ -o build/fedora/mongo/s/query/router_stage_update_on_add_shard.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/s/query/router_stage_update_on_add_shard.cpp ar rcsTD build/fedora/mongo/db/repl/librslog.a build/fedora/mongo/db/repl/rslog.o Skipping ranlib for thin archive build/fedora/mongo/db/repl/librslog.a ar rcsTD build/fedora/mongo/util/net/libssl_options.a build/fedora/mongo/util/net/ssl_options.o Skipping ranlib for thin archive build/fedora/mongo/util/net/libssl_options.a ar rcsTD build/fedora/mongo/util/libelapsed_tracker.a build/fedora/mongo/util/elapsed_tracker.o Skipping ranlib for thin archive build/fedora/mongo/util/libelapsed_tracker.a g++ -o build/fedora/third_party/icu4c-57.1/source/i18n/nfrule.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/nfrule.cpp g++ -o build/fedora/third_party/icu4c-57.1/source/i18n/dtrule.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/dtrule.cpp gcc -o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_atan2.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -DUSE_COMPILER_F80_TYPE=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -Dlinux=1 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_atan2.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C g++ -o build/fedora/mongo/db/pipeline/document_comparator.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/pipeline/document_comparator.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/matcher/expression_parser.h:35, from src/mongo/db/pipeline/pipeline.h:36, from src/mongo/s/query/cluster_client_cursor_params.h:41, from src/mongo/s/query/router_stage_update_on_add_shard.h:31, from src/mongo/s/query/router_stage_update_on_add_shard.cpp:30: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/executor/remote_command_request.h:34, from src/mongo/executor/task_executor.h:39, from src/mongo/s/query/router_stage_update_on_add_shard.h:30: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37: 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: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::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::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::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/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/document_comparator.h:32, from src/mongo/db/pipeline/document_comparator.cpp:31: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/mongo/db/repl/oplog_entry_gen.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc build/fedora/mongo/db/repl/oplog_entry_gen.cpp src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from build/fedora/mongo/db/repl/oplog_entry_gen.cpp:16: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from build/fedora/mongo/db/repl/oplog_entry_gen.h:16, from build/fedora/mongo/db/repl/oplog_entry_gen.cpp:9: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/mongo/db/repl/oplog_entry.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/repl/oplog_entry.cpp In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call gcc -o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_log10.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -DUSE_COMPILER_F80_TYPE=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -Dlinux=1 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_log10.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C ar rcsTD build/fedora/mongo/util/libsecure_compare_memory.a build/fedora/mongo/util/secure_compare_memory.o Skipping ranlib for thin archive build/fedora/mongo/util/libsecure_compare_memory.a g++ -o build/fedora/third_party/icu4c-57.1/source/i18n/rbt.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/rbt.cpp gcc -o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_cos.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -DUSE_COMPILER_F80_TYPE=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -Dlinux=1 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_cos.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C ar rcsTD build/fedora/mongo/db/fts/unicode/libunicode.a build/fedora/mongo/db/fts/unicode/codepoints_casefold.o build/fedora/mongo/db/fts/unicode/codepoints_delimiter_list.o build/fedora/mongo/db/fts/unicode/codepoints_diacritic_list.o build/fedora/mongo/db/fts/unicode/codepoints_diacritic_map.o build/fedora/mongo/db/fts/unicode/string.o Skipping ranlib for thin archive build/fedora/mongo/db/fts/unicode/libunicode.a g++ -o build/fedora/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src25.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -Wno-non-virtual-dtor -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -include js-confdefs.h -Wno-invalid-offsetof -fPIE -DIMPL_MFBT -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=1 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora/third_party/mozjs-45/extract/js/src -Isrc/third_party/mozjs-45/extract/js/src -Ibuild/fedora/third_party/mozjs-45/extract/mfbt -Isrc/third_party/mozjs-45/extract/mfbt -Ibuild/fedora/third_party/mozjs-45/extract/intl/icu/source/common -Isrc/third_party/mozjs-45/extract/intl/icu/source/common -Ibuild/fedora/third_party/mozjs-45/include -Isrc/third_party/mozjs-45/include -Ibuild/fedora/third_party/mozjs-45/mongo_sources -Isrc/third_party/mozjs-45/mongo_sources -Ibuild/fedora/third_party/mozjs-45/platform/x86_64/linux/build -Isrc/third_party/mozjs-45/platform/x86_64/linux/build -Ibuild/fedora/third_party/mozjs-45/platform/x86_64/linux/include -Isrc/third_party/mozjs-45/platform/x86_64/linux/include src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src25.cpp ar rcsTD build/fedora/mongo/db/repl/liboplog_entry.a build/fedora/mongo/db/repl/oplog_entry.o build/fedora/mongo/db/repl/oplog_entry_gen.o Skipping ranlib for thin archive build/fedora/mongo/db/repl/liboplog_entry.a gcc -o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_hypot.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -DUSE_COMPILER_F80_TYPE=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -Dlinux=1 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_hypot.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C g++ -o build/fedora/mongo/rpc/command_reply.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/rpc/command_reply.cpp In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/jsscriptinlines.h:10, from src/third_party/mozjs-45/extract/js/src/jsscript.cpp:11, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src25.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1040:19: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 1040 | memcpy(&elements_[dstStart], src, count * sizeof(HeapSlot)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/jsscript.h:17: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here 650 | class HeapSlot : public WriteBarrieredBase | ^~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1048:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 1048 | memcpy(&elements_[dstStart], src, count * sizeof(HeapSlot)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here 650 | class HeapSlot : public WriteBarrieredBase | ^~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1082:20: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 1082 | memmove(elements_ + dstStart, elements_ + srcStart, count * sizeof(HeapSlot)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here 650 | class HeapSlot : public WriteBarrieredBase | ^~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1094:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 1094 | memmove(elements_ + dstStart, elements_ + srcStart, count * sizeof(Value)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here 650 | class HeapSlot : public WriteBarrieredBase | ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsscript.cpp:52: src/third_party/mozjs-45/extract/js/src/jsobjinlines.h: In static member function 'static JSObject* JSObject::create(js::ExclusiveContext*, js::gc::AllocKind, js::gc::InitialHeap, js::HandleShape, js::HandleObjectGroup)': src/third_party/mozjs-45/extract/js/src/jsobjinlines.h:355:15: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::HeapSlot'; use assignment instead [-Wclass-memaccess] 355 | memset(obj->as().fixedSlots(), 0, size - sizeof(js::NativeObject)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here 650 | class HeapSlot : public WriteBarrieredBase | ^~~~~~~~ g++ -o build/fedora/mongo/rpc/reply_builder_interface.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/rpc/reply_builder_interface.cpp In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:14: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': src/third_party/mozjs-45/include/js/MemoryMetrics.h:40:34: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/gc/StoreBuffer.h:18, from src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:13: src/third_party/mozjs-45/include/js/MemoryMetrics.h:31:8: note: 'struct JS::TabSizes' declared here 31 | struct TabSizes | ^~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::ServoSizes]': src/third_party/mozjs-45/include/js/MemoryMetrics.h:71:36: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::ServoSizes'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/MemoryMetrics.h:59:8: note: 'struct JS::ServoSizes' declared here 59 | struct ServoSizes | ^~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JSSubString]': src/third_party/mozjs-45/extract/js/src/jsstr.h:73:37: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JSSubString'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/TraceLoggingTypes.h:11, from src/third_party/mozjs-45/extract/js/src/vm/TraceLoggingGraph.h:15, from src/third_party/mozjs-45/extract/js/src/vm/TraceLogging.h:19, from src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:22, from src/third_party/mozjs-45/extract/js/src/jsscript.h:24: src/third_party/mozjs-45/extract/js/src/jsstr.h:68:8: note: 'struct JSSubString' declared here 68 | struct JSSubString { | ^~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::PreliminaryObjectArray]': src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:808:25: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::PreliminaryObjectArray'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:23: src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:796:7: note: 'class js::PreliminaryObjectArray' declared here 796 | class PreliminaryObjectArray | ^~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::TypeNewScript]': src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:939:39: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::TypeNewScript' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:886:7: note: 'class js::TypeNewScript' declared here 886 | class TypeNewScript | ^~~~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:699:25: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:686:8: note: 'struct js::jit::IonScriptCounts' declared here 686 | struct IonScriptCounts | ^~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': src/third_party/mozjs-45/extract/js/src/vm/String.h:1092:25: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/Shape.h:32, from src/third_party/mozjs-45/extract/js/src/jsobj.h:27, from src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:16: src/third_party/mozjs-45/extract/js/src/vm/String.h:1074:7: note: 'class js::StaticStrings' declared here 1074 | class StaticStrings | ^~~~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': src/third_party/mozjs-45/extract/js/src/vm/Shape.h:392:25: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/Shape.h:323:7: note: 'class js::BaseShape' declared here 323 | class BaseShape : public gc::TenuredCell | ^~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:293:40: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jit/BaselineJIT.h:12, from src/third_party/mozjs-45/extract/js/src/jsscriptinlines.h:13: src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:244:7: note: 'class js::NewObjectCache' declared here 244 | class NewObjectCache | ^~~~~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::Address]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:290:33: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::Address'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/Safepoints.h:12, from src/third_party/mozjs-45/extract/js/src/jit/JitFrames.h:16, from src/third_party/mozjs-45/extract/js/src/jit/Bailouts.h:13, from src/third_party/mozjs-45/extract/js/src/jit/BaselineJIT.h:16: src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:282:8: note: 'struct js::jit::Address' declared here 282 | struct Address | ^~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::BaseIndex]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:306:35: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::BaseIndex'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:295:8: note: 'struct js::jit::BaseIndex' declared here 295 | struct BaseIndex | ^~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::CodeOffsetJump]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:513:25: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::jit::CodeOffsetJump'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:491:7: note: 'class js::jit::CodeOffsetJump' declared here 491 | class CodeOffsetJump | ^~~~~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JSScript]': src/third_party/mozjs-45/extract/js/src/jsscript.cpp:2726:12: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class JSScript' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jsscript.h:933:7: note: 'class JSScript' declared here 933 | class JSScript : public js::gc::TenuredCell | ^~~~~~~~ In file included from src/third_party/mozjs-45/include/js/TracingAPI.h:12, from src/third_party/mozjs-45/include/js/TraceableVector.h:13, from src/third_party/mozjs-45/extract/js/src/NamespaceImports.h:16, from src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:10: src/third_party/mozjs-45/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': src/third_party/mozjs-45/include/js/HashTable.h:186:67: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' src/third_party/mozjs-45/extract/js/src/vm/SPSProfiler.h:256:18: required from here src/third_party/mozjs-45/include/js/HashTable.h:1550:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] 1550 | memset(table, 0, sizeof(*table) * capacity()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/HashTable.h:722:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here 722 | class HashTableEntry | ^~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::SharedScriptData* const; HashPolicy = js::HashSet::SetOps; AllocPolicy = js::SystemAllocPolicy]': src/third_party/mozjs-45/include/js/HashTable.h:424:67: required from 'void js::HashSet::clear() [with T = js::SharedScriptData*; HashPolicy = js::ScriptBytecodeHasher; AllocPolicy = js::SystemAllocPolicy]' src/third_party/mozjs-45/extract/js/src/jsscript.cpp:2584:16: required from here src/third_party/mozjs-45/include/js/HashTable.h:1550:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable::SetOps, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry'} with no trivial copy-assignment [-Wclass-memaccess] 1550 | memset(table, 0, sizeof(*table) * capacity()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/HashTable.h:722:7: note: 'js::detail::HashTable::SetOps, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry'} declared here 722 | class HashTableEntry | ^~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': src/third_party/mozjs-45/include/js/HashTable.h:186:67: required from 'void js::HashMap::clear() [with Key = js::WatchKey; Value = js::Watchpoint; HashPolicy = js::WatchKeyHasher; AllocPolicy = js::SystemAllocPolicy]' src/third_party/mozjs-45/extract/js/src/jswatchpoint.cpp:113:14: required from here src/third_party/mozjs-45/include/js/HashTable.h:1550:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] 1550 | memset(table, 0, sizeof(*table) * capacity()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/HashTable.h:722:7: note: 'js::detail::HashTable, js::HashMap::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here 722 | class HashTableEntry | ^~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry, js::RelocatablePtr >; HashPolicy = js::HashMap, js::RelocatablePtr, js::MovableCellHasher >, js::RuntimeAllocPolicy>::MapHashPolicy; AllocPolicy = js::RuntimeAllocPolicy]': src/third_party/mozjs-45/include/js/HashTable.h:186:67: required from 'void js::HashMap::clear() [with Key = js::RelocatablePtr; Value = js::RelocatablePtr; HashPolicy = js::MovableCellHasher >; AllocPolicy = js::RuntimeAllocPolicy]' src/third_party/mozjs-45/extract/js/src/jsweakmap.cpp:199:14: required from here src/third_party/mozjs-45/include/js/HashTable.h:1550:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::RelocatablePtr >, js::HashMap, js::RelocatablePtr, js::MovableCellHasher >, js::RuntimeAllocPolicy>::MapHashPolicy, js::RuntimeAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry, js::RelocatablePtr > >'} with no trivial copy-assignment [-Wclass-memaccess] 1550 | memset(table, 0, sizeof(*table) * capacity()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/HashTable.h:722:7: note: 'js::detail::HashTable, js::RelocatablePtr >, js::HashMap, js::RelocatablePtr, js::MovableCellHasher >, js::RuntimeAllocPolicy>::MapHashPolicy, js::RuntimeAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry, js::RelocatablePtr > >'} declared here 722 | class HashTableEntry | ^~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': src/third_party/mozjs-45/include/js/HashTable.h:186:67: required from 'void js::HashMap::clear() [with Key = JSAtom*; Value = long unsigned int; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' src/third_party/mozjs-45/extract/js/src/ds/InlineMap.h:63:22: required from 'bool js::InlineMap::switchToMap() [with K = JSAtom*; V = long unsigned int; long unsigned int InlineElems = 24]' src/third_party/mozjs-45/extract/js/src/ds/InlineMap.h:84:14: required from 'bool js::InlineMap::switchAndAdd(const K&, const V&) [with K = JSAtom*; V = long unsigned int; long unsigned int InlineElems = 24]' src/third_party/mozjs-45/extract/js/src/ds/InlineMap.h:265:24: required from 'bool js::InlineMap::add(AddPtr&, const K&, const V&) [with K = JSAtom*; V = long unsigned int; long unsigned int InlineElems = 24]' src/third_party/mozjs-45/extract/js/src/frontend/BytecodeEmitter.h:266:30: required from here src/third_party/mozjs-45/include/js/HashTable.h:1550:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] 1550 | memset(table, 0, sizeof(*table) * capacity()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/HashTable.h:722:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here 722 | class HashTableEntry | ^~~~~~~~~~~~~~ ar rcsTD build/fedora/mongo/rpc/libcommand_reply.a build/fedora/mongo/rpc/command_reply.o build/fedora/mongo/rpc/command_reply_builder.o build/fedora/mongo/rpc/reply_builder_interface.o Skipping ranlib for thin archive build/fedora/mongo/rpc/libcommand_reply.a g++ -o build/fedora/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src0.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -Wno-non-virtual-dtor -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -include js-confdefs.h -Wno-invalid-offsetof -fPIE -DIMPL_MFBT -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=1 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora/third_party/mozjs-45/extract/js/src -Isrc/third_party/mozjs-45/extract/js/src -Ibuild/fedora/third_party/mozjs-45/extract/mfbt -Isrc/third_party/mozjs-45/extract/mfbt -Ibuild/fedora/third_party/mozjs-45/extract/intl/icu/source/common -Isrc/third_party/mozjs-45/extract/intl/icu/source/common -Ibuild/fedora/third_party/mozjs-45/include -Isrc/third_party/mozjs-45/include -Ibuild/fedora/third_party/mozjs-45/mongo_sources -Isrc/third_party/mozjs-45/mongo_sources -Ibuild/fedora/third_party/mozjs-45/platform/x86_64/linux/build -Isrc/third_party/mozjs-45/platform/x86_64/linux/build -Ibuild/fedora/third_party/mozjs-45/platform/x86_64/linux/include -Isrc/third_party/mozjs-45/platform/x86_64/linux/include src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src0.cpp In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/asmjs/AsmJSModule.h:27, from src/third_party/mozjs-45/extract/js/src/asmjs/AsmJSFrameIterator.cpp:21, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src0.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1040:19: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 1040 | memcpy(&elements_[dstStart], src, count * sizeof(HeapSlot)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/jsscript.h:17: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here 650 | class HeapSlot : public WriteBarrieredBase | ^~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1048:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 1048 | memcpy(&elements_[dstStart], src, count * sizeof(HeapSlot)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here 650 | class HeapSlot : public WriteBarrieredBase | ^~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1082:20: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 1082 | memmove(elements_ + dstStart, elements_ + srcStart, count * sizeof(HeapSlot)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here 650 | class HeapSlot : public WriteBarrieredBase | ^~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1094:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 1094 | memmove(elements_ + dstStart, elements_ + srcStart, count * sizeof(Value)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here 650 | class HeapSlot : public WriteBarrieredBase | ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/asmjs/AsmJSLink.cpp:45, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src0.cpp:11: src/third_party/mozjs-45/extract/js/src/jsobjinlines.h: In static member function 'static JSObject* JSObject::create(js::ExclusiveContext*, js::gc::AllocKind, js::gc::InitialHeap, js::HandleShape, js::HandleObjectGroup)': src/third_party/mozjs-45/extract/js/src/jsobjinlines.h:355:15: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::HeapSlot'; use assignment instead [-Wclass-memaccess] 355 | memset(obj->as().fixedSlots(), 0, size - sizeof(js::NativeObject)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here 650 | class HeapSlot : public WriteBarrieredBase | ^~~~~~~~ In file included from src/third_party/mozjs-45/include/js/CallArgs.h:38, from src/third_party/mozjs-45/include/js/CallNonGenericMethod.h:12, from src/third_party/mozjs-45/extract/js/src/NamespaceImports.h:15: In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSString*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'str_toSource_impl(JSContext*, JS::CallArgs const&)' at src/third_party/mozjs-45/extract/js/src/jsstr.cpp:498:64: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'str' in 'MEM[(struct Rooted * *)cx_309(D) + 56B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src25.cpp:11: src/third_party/mozjs-45/extract/js/src/jsstr.cpp: In function 'str_toSource_impl(JSContext*, JS::CallArgs const&)': src/third_party/mozjs-45/extract/js/src/jsstr.cpp:498:23: note: 'str' declared here 498 | Rooted str(cx, ToString(cx, args.thisv())); | ^~~ src/third_party/mozjs-45/extract/js/src/jsstr.cpp:498:23: note: 'cx_309(D)' declared here In file included from src/third_party/mozjs-45/extract/js/src/ds/LifoAlloc.h:15, from src/third_party/mozjs-45/extract/js/src/asmjs/Wasm.h:24, from src/third_party/mozjs-45/extract/js/src/asmjs/AsmJSFrameIterator.h:24, from src/third_party/mozjs-45/extract/js/src/asmjs/AsmJSFrameIterator.cpp:19: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': src/third_party/mozjs-45/include/js/MemoryMetrics.h:40:34: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/gc/StoreBuffer.h:18, from src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:13: src/third_party/mozjs-45/include/js/MemoryMetrics.h:31:8: note: 'struct JS::TabSizes' declared here 31 | struct TabSizes | ^~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::ServoSizes]': src/third_party/mozjs-45/include/js/MemoryMetrics.h:71:36: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::ServoSizes'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/MemoryMetrics.h:59:8: note: 'struct JS::ServoSizes' declared here 59 | struct ServoSizes | ^~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JSSubString]': src/third_party/mozjs-45/extract/js/src/jsstr.h:73:37: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JSSubString'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/TraceLoggingTypes.h:11, from src/third_party/mozjs-45/extract/js/src/vm/TraceLoggingGraph.h:15, from src/third_party/mozjs-45/extract/js/src/vm/TraceLogging.h:19, from src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:22, from src/third_party/mozjs-45/extract/js/src/jsscript.h:24: src/third_party/mozjs-45/extract/js/src/jsstr.h:68:8: note: 'struct JSSubString' declared here 68 | struct JSSubString { | ^~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::PreliminaryObjectArray]': src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:808:25: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::PreliminaryObjectArray'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:23: src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:796:7: note: 'class js::PreliminaryObjectArray' declared here 796 | class PreliminaryObjectArray | ^~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::TypeNewScript]': src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:939:39: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::TypeNewScript' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:886:7: note: 'class js::TypeNewScript' declared here 886 | class TypeNewScript | ^~~~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:699:25: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:686:8: note: 'struct js::jit::IonScriptCounts' declared here 686 | struct IonScriptCounts | ^~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': src/third_party/mozjs-45/extract/js/src/vm/String.h:1092:25: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/Shape.h:32, from src/third_party/mozjs-45/extract/js/src/jsobj.h:27, from src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:16: src/third_party/mozjs-45/extract/js/src/vm/String.h:1074:7: note: 'class js::StaticStrings' declared here 1074 | class StaticStrings | ^~~~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': src/third_party/mozjs-45/extract/js/src/vm/Shape.h:392:25: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/Shape.h:323:7: note: 'class js::BaseShape' declared here 323 | class BaseShape : public gc::TenuredCell | ^~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:293:40: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/vm/RegExpObject.h:13, from src/third_party/mozjs-45/extract/js/src/builtin/RegExp.h:10, from src/third_party/mozjs-45/extract/js/src/jscompartment.h:15, from src/third_party/mozjs-45/extract/js/src/jsweakmap.h:13, from src/third_party/mozjs-45/extract/js/src/builtin/TypedObject.h:11, from src/third_party/mozjs-45/extract/js/src/builtin/SIMD.h:13, from src/third_party/mozjs-45/extract/js/src/asmjs/AsmJSModule.h:32: src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:244:7: note: 'class js::NewObjectCache' declared here 244 | class NewObjectCache | ^~~~~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::AsmJSModule::StaticLinkData::Pod]': src/third_party/mozjs-45/extract/js/src/asmjs/AsmJSModule.h:681:44: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::AsmJSModule::StaticLinkData::Pod'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/asmjs/AsmJSModule.h:683:16: note: 'struct js::AsmJSModule::StaticLinkData::Pod' declared here 683 | struct Pod { | ^~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::Address]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:290:33: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::Address'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/Safepoints.h:12, from src/third_party/mozjs-45/extract/js/src/jit/JitFrames.h:16, from src/third_party/mozjs-45/extract/js/src/jit/x64/MacroAssembler-x64.h:10, from src/third_party/mozjs-45/extract/js/src/jit/MacroAssembler.h:18, from src/third_party/mozjs-45/extract/js/src/jit/MacroAssembler-inl.h:10, from src/third_party/mozjs-45/extract/js/src/asmjs/AsmJSFrameIterator.cpp:22: src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:282:8: note: 'struct js::jit::Address' declared here 282 | struct Address | ^~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::BaseIndex]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:306:35: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::BaseIndex'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:295:8: note: 'struct js::jit::BaseIndex' declared here 295 | struct BaseIndex | ^~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::CodeOffsetJump]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:513:25: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::jit::CodeOffsetJump'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:491:7: note: 'class js::jit::CodeOffsetJump' declared here 491 | class CodeOffsetJump | ^~~~~~~~~~~~~~ In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'pm_construct(JSContext*, unsigned int, JS::Value*)' at src/third_party/mozjs-45/extract/js/src/perf/jsperf.cpp:185:77: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'obj' in 'MEM[(struct Rooted * *)cx_68(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src25.cpp:38: src/third_party/mozjs-45/extract/js/src/perf/jsperf.cpp: In function 'pm_construct(JSContext*, unsigned int, JS::Value*)': src/third_party/mozjs-45/extract/js/src/perf/jsperf.cpp:185:22: note: 'obj' declared here 185 | JS::RootedObject obj(cx, JS_NewObjectForConstructor(cx, &pm_class, args)); | ^~~ src/third_party/mozjs-45/extract/js/src/perf/jsperf.cpp:185:22: note: 'cx_68(D)' declared here In file included from src/third_party/mozjs-45/extract/js/src/jsapi.h:29, from src/third_party/mozjs-45/extract/js/src/jsfriendapi.h:15, from src/third_party/mozjs-45/extract/js/src/jit/IonTypes.h:12, from src/third_party/mozjs-45/extract/js/src/asmjs/Wasm.h:25: src/third_party/mozjs-45/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': src/third_party/mozjs-45/include/js/HashTable.h:186:67: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' src/third_party/mozjs-45/extract/js/src/vm/SPSProfiler.h:256:18: required from here src/third_party/mozjs-45/include/js/HashTable.h:1550:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] 1550 | memset(table, 0, sizeof(*table) * capacity()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/HashTable.h:722:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here 722 | class HashTableEntry | ^~~~~~~~~~~~~~ In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(js::ExclusiveContext* const&, js::Shape*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::Bindings::initWithTemporaryStorage(js::ExclusiveContext*, JS::MutableHandle, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, js::Binding const*, bool)' at src/third_party/mozjs-45/extract/js/src/jsscript.cpp:165:91: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'shape' in 'MEM[(struct Rooted * *)cx_192(D) + 32B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jsscript.cpp: In function 'js::Bindings::initWithTemporaryStorage(js::ExclusiveContext*, JS::MutableHandle, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, js::Binding const*, bool)': src/third_party/mozjs-45/extract/js/src/jsscript.cpp:164:17: note: 'shape' declared here 164 | RootedShape shape(cx, | ^~~~~ src/third_party/mozjs-45/extract/js/src/jsscript.cpp:164:17: note: 'cx_192(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSLinearString*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::SubstringKernel(JSContext*, JS::Handle, int, int)' at src/third_party/mozjs-45/extract/js/src/jsstr.cpp:592:93: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'lhs' in 'MEM[(struct Rooted * *)cx_115(D) + 56B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jsstr.cpp: In function 'js::SubstringKernel(JSContext*, JS::Handle, int, int)': src/third_party/mozjs-45/extract/js/src/jsstr.cpp:592:22: note: 'lhs' declared here 592 | RootedString lhs(cx, NewDependentString(cx, ropeRoot->leftChild(), begin, lhsLength)); | ^~~ src/third_party/mozjs-45/extract/js/src/jsstr.cpp:592:22: note: 'cx_115(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSString*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'TrimString(JSContext*, JS::Value*, bool, bool)' at src/third_party/mozjs-45/extract/js/src/jsstr.cpp:1925:62: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'str' in 'MEM[(struct Rooted * *)cx_174(D) + 56B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jsstr.cpp: In function 'TrimString(JSContext*, JS::Value*, bool, bool)': src/third_party/mozjs-45/extract/js/src/jsstr.cpp:1925:18: note: 'str' declared here 1925 | RootedString str(cx, ThisToStringForStringProto(cx, call)); | ^~~ src/third_party/mozjs-45/extract/js/src/jsstr.cpp:1925:18: note: 'cx_174(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSString*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::str_indexOf(JSContext*, unsigned int, JS::Value*)' at src/third_party/mozjs-45/extract/js/src/jsstr.cpp:1605:62: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'str' in 'MEM[(struct Rooted * *)cx_202(D) + 56B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jsstr.cpp: In function 'js::str_indexOf(JSContext*, unsigned int, JS::Value*)': src/third_party/mozjs-45/extract/js/src/jsstr.cpp:1605:18: note: 'str' declared here 1605 | RootedString str(cx, ThisToStringForStringProto(cx, args)); | ^~~ src/third_party/mozjs-45/extract/js/src/jsstr.cpp:1605:18: note: 'cx_202(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSString*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::str_lastIndexOf(JSContext*, unsigned int, JS::Value*)' at src/third_party/mozjs-45/extract/js/src/jsstr.cpp:1676:66: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'textstr' in 'MEM[(struct Rooted * *)cx_259(D) + 56B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jsstr.cpp: In function 'js::str_lastIndexOf(JSContext*, unsigned int, JS::Value*)': src/third_party/mozjs-45/extract/js/src/jsstr.cpp:1676:18: note: 'textstr' declared here 1676 | RootedString textstr(cx, ThisToStringForStringProto(cx, args)); | ^~~~~~~ src/third_party/mozjs-45/extract/js/src/jsstr.cpp:1676:18: note: 'cx_259(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSString*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::str_startsWith(JSContext*, unsigned int, JS::Value*)' at src/third_party/mozjs-45/extract/js/src/jsstr.cpp:1772:62: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'str' in 'MEM[(struct Rooted * *)cx_215(D) + 56B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jsstr.cpp: In function 'js::str_startsWith(JSContext*, unsigned int, JS::Value*)': src/third_party/mozjs-45/extract/js/src/jsstr.cpp:1772:18: note: 'str' declared here 1772 | RootedString str(cx, ThisToStringForStringProto(cx, args)); | ^~~ src/third_party/mozjs-45/extract/js/src/jsstr.cpp:1772:18: note: 'cx_215(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSString*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'str_endsWith(JSContext*, unsigned int, JS::Value*)' at src/third_party/mozjs-45/extract/js/src/jsstr.cpp:1838:62: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'str' in 'MEM[(struct Rooted * *)cx_216(D) + 56B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jsstr.cpp: In function 'str_endsWith(JSContext*, unsigned int, JS::Value*)': src/third_party/mozjs-45/extract/js/src/jsstr.cpp:1838:18: note: 'str' declared here 1838 | RootedString str(cx, ThisToStringForStringProto(cx, args)); | ^~~ src/third_party/mozjs-45/extract/js/src/jsstr.cpp:1838:18: note: 'cx_216(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSString*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'str_includes(JSContext*, unsigned int, JS::Value*)' at src/third_party/mozjs-45/extract/js/src/jsstr.cpp:1535:62: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'str' in 'MEM[(struct Rooted * *)cx_211(D) + 56B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jsstr.cpp: In function 'str_includes(JSContext*, unsigned int, JS::Value*)': src/third_party/mozjs-45/extract/js/src/jsstr.cpp:1535:18: note: 'str' declared here 1535 | RootedString str(cx, ThisToStringForStringProto(cx, args)); | ^~~ src/third_party/mozjs-45/extract/js/src/jsstr.cpp:1535:18: note: 'cx_211(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSString*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'ToLowerCaseHelper(JSContext*, JS::CallReceiver)' at src/third_party/mozjs-45/extract/js/src/jsstr.cpp:656:62: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'str' in 'MEM[(struct Rooted * *)cx_156(D) + 56B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jsstr.cpp: In function 'ToLowerCaseHelper(JSContext*, JS::CallReceiver)': src/third_party/mozjs-45/extract/js/src/jsstr.cpp:656:18: note: 'str' declared here 656 | RootedString str(cx, ThisToStringForStringProto(cx, call)); | ^~~ src/third_party/mozjs-45/extract/js/src/jsstr.cpp:656:18: note: 'cx_156(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSString*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'str_toLocaleLowerCase(JSContext*, unsigned int, JS::Value*)' at src/third_party/mozjs-45/extract/js/src/jsstr.cpp:691:66: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'str' in 'MEM[(struct Rooted * *)cx_178(D) + 56B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jsstr.cpp: In function 'str_toLocaleLowerCase(JSContext*, unsigned int, JS::Value*)': src/third_party/mozjs-45/extract/js/src/jsstr.cpp:691:22: note: 'str' declared here 691 | RootedString str(cx, ThisToStringForStringProto(cx, args)); | ^~~ src/third_party/mozjs-45/extract/js/src/jsstr.cpp:691:22: note: 'cx_178(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSString*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'str_localeCompare(JSContext*, unsigned int, JS::Value*)' at src/third_party/mozjs-45/extract/js/src/jsstr.cpp:862:62: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'str' in 'MEM[(struct Rooted * *)cx_215(D) + 56B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jsstr.cpp: In function 'str_localeCompare(JSContext*, unsigned int, JS::Value*)': src/third_party/mozjs-45/extract/js/src/jsstr.cpp:862:18: note: 'str' declared here 862 | RootedString str(cx, ThisToStringForStringProto(cx, args)); | ^~~ src/third_party/mozjs-45/extract/js/src/jsstr.cpp:862:18: note: 'cx_215(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSLinearString*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'StrReplaceRegexpRemove(JSContext*, JS::Handle, js::RegExpShared&)' at src/third_party/mozjs-45/extract/js/src/jsstr.cpp:3217:59: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'linearStr' in 'MEM[(struct Rooted * *)cx_179(D) + 56B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jsstr.cpp: In function 'StrReplaceRegexpRemove(JSContext*, JS::Handle, js::RegExpShared&)': src/third_party/mozjs-45/extract/js/src/jsstr.cpp:3217:24: note: 'linearStr' declared here 3217 | RootedLinearString linearStr(cx, str->ensureLinear(cx)); | ^~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jsstr.cpp:3217:24: note: 'cx_179(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSString*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::str_split(JSContext*, unsigned int, JS::Value*)' at src/third_party/mozjs-45/extract/js/src/jsstr.cpp:3860:62: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'str' in 'MEM[(struct Rooted * *)cx_420(D) + 56B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jsstr.cpp: In function 'js::str_split(JSContext*, unsigned int, JS::Value*)': src/third_party/mozjs-45/extract/js/src/jsstr.cpp:3860:18: note: 'str' declared here 3860 | RootedString str(cx, ThisToStringForStringProto(cx, args)); | ^~~ src/third_party/mozjs-45/extract/js/src/jsstr.cpp:3860:18: note: 'cx_420(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSLinearString*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::str_split_string(JSContext*, JS::Handle, JS::Handle, JS::Handle)' at src/third_party/mozjs-45/extract/js/src/jsstr.cpp:3949:59: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'linearStr' in 'MEM[(struct Rooted * *)cx_82(D) + 56B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jsstr.cpp: In function 'js::str_split_string(JSContext*, JS::Handle, JS::Handle, JS::Handle)': src/third_party/mozjs-45/extract/js/src/jsstr.cpp:3949:24: note: 'linearStr' declared here 3949 | RootedLinearString linearStr(cx, str->ensureLinear(cx)); | ^~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jsstr.cpp:3949:24: note: 'cx_82(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSLinearString*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'str_decodeURI_Component(JSContext*, unsigned int, JS::Value*)' at src/third_party/mozjs-45/extract/js/src/jsstr.cpp:5014:62: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'str' in 'MEM[(struct Rooted * *)cx_40(D) + 56B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jsstr.cpp: In function 'str_decodeURI_Component(JSContext*, unsigned int, JS::Value*)': src/third_party/mozjs-45/extract/js/src/jsstr.cpp:5014:24: note: 'str' declared here 5014 | RootedLinearString str(cx, ArgToRootedString(cx, args, 0)); | ^~~ src/third_party/mozjs-45/extract/js/src/jsstr.cpp:5014:24: note: 'cx_40(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSLinearString*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'str_decodeURI(JSContext*, unsigned int, JS::Value*)' at src/third_party/mozjs-45/extract/js/src/jsstr.cpp:5003:62: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'str' in 'MEM[(struct Rooted * *)cx_40(D) + 56B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jsstr.cpp: In function 'str_decodeURI(JSContext*, unsigned int, JS::Value*)': src/third_party/mozjs-45/extract/js/src/jsstr.cpp:5003:24: note: 'str' declared here 5003 | RootedLinearString str(cx, ArgToRootedString(cx, args, 0)); | ^~~ src/third_party/mozjs-45/extract/js/src/jsstr.cpp:5003:24: note: 'cx_40(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSAtom*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'SymbolToSource(JSContext*, JS::Symbol*)' at src/third_party/mozjs-45/extract/js/src/jsstr.cpp:4324:48, inlined from 'js::ValueToSource(JSContext*, JS::Handle)' at src/third_party/mozjs-45/extract/js/src/jsstr.cpp:4356:30: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'desc' in 'MEM[(struct Rooted * *)cx_133(D) + 56B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jsstr.cpp: In function 'js::ValueToSource(JSContext*, JS::Handle)': src/third_party/mozjs-45/extract/js/src/jsstr.cpp:4324:18: note: 'desc' declared here 4324 | RootedString desc(cx, symbol->description()); | ^~~~ src/third_party/mozjs-45/extract/js/src/jsstr.cpp:4324:18: note: 'cx_133(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSLinearString*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'BuildDollarReplacement(JSContext*, JSString*, JSLinearString*, unsigned int, (anonymous namespace)::FlatMatch const&)' at src/third_party/mozjs-45/extract/js/src/jsstr.cpp:3066:64: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'textstr' in 'MEM[(struct Rooted * *)cx_206(D) + 56B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jsstr.cpp: In function 'BuildDollarReplacement(JSContext*, JSString*, JSLinearString*, unsigned int, (anonymous namespace)::FlatMatch const&)': src/third_party/mozjs-45/extract/js/src/jsstr.cpp:3066:24: note: 'textstr' declared here 3066 | RootedLinearString textstr(cx, textstrArg->ensureLinear(cx)); | ^~~~~~~ src/third_party/mozjs-45/extract/js/src/jsstr.cpp:3066:24: note: 'cx_206(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSLinearString*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'str_unescape(JSContext*, unsigned int, JS::Value*)' at src/third_party/mozjs-45/extract/js/src/jsstr.cpp:320:62: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'str' in 'MEM[(struct Rooted * *)cx_96(D) + 56B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jsstr.cpp: In function 'str_unescape(JSContext*, unsigned int, JS::Value*)': src/third_party/mozjs-45/extract/js/src/jsstr.cpp:320:24: note: 'str' declared here 320 | RootedLinearString str(cx, ArgToRootedString(cx, args, 0)); | ^~~ src/third_party/mozjs-45/extract/js/src/jsstr.cpp:320:24: note: 'cx_96(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSLinearString*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'str_encodeURI(JSContext*, unsigned int, JS::Value*)' at src/third_party/mozjs-45/extract/js/src/jsstr.cpp:5025:62: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'str' in 'MEM[(struct Rooted * *)cx_40(D) + 56B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jsstr.cpp: In function 'str_encodeURI(JSContext*, unsigned int, JS::Value*)': src/third_party/mozjs-45/extract/js/src/jsstr.cpp:5025:24: note: 'str' declared here 5025 | RootedLinearString str(cx, ArgToRootedString(cx, args, 0)); | ^~~ src/third_party/mozjs-45/extract/js/src/jsstr.cpp:5025:24: note: 'cx_40(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSLinearString*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'str_encodeURI_Component(JSContext*, unsigned int, JS::Value*)' at src/third_party/mozjs-45/extract/js/src/jsstr.cpp:5036:62: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'str' in 'MEM[(struct Rooted * *)cx_40(D) + 56B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jsstr.cpp: In function 'str_encodeURI_Component(JSContext*, unsigned int, JS::Value*)': src/third_party/mozjs-45/extract/js/src/jsstr.cpp:5036:24: note: 'str' declared here 5036 | RootedLinearString str(cx, ArgToRootedString(cx, args, 0)); | ^~~ src/third_party/mozjs-45/extract/js/src/jsstr.cpp:5036:24: note: 'cx_40(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSString*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'str_toSource_impl(JSContext*, JS::CallArgs const&)' at src/third_party/mozjs-45/extract/js/src/jsstr.cpp:498:64, inlined from 'JS::CallNonGenericMethod<&(IsString(JS::Handle)), &(str_toSource_impl(JSContext*, JS::CallArgs const&))>(JSContext*, JS::CallArgs const&)bool' at src/third_party/mozjs-45/include/js/CallNonGenericMethod.h:100:20, inlined from 'str_toSource(JSContext*, unsigned int, JS::Value*)' at src/third_party/mozjs-45/extract/js/src/jsstr.cpp:521:61: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'str' in 'MEM[(struct Rooted * *)cx_4(D) + 56B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jsstr.cpp: In function 'str_toSource(JSContext*, unsigned int, JS::Value*)': src/third_party/mozjs-45/extract/js/src/jsstr.cpp:498:23: note: 'str' declared here 498 | Rooted str(cx, ToString(cx, args.thisv())); | ^~~ src/third_party/mozjs-45/extract/js/src/jsstr.cpp:498:23: note: 'cx_4(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:708:30, inlined from 'js::BaseProxyHandler::getOwnEnumerablePropertyKeys(JSContext*, JS::Handle, JS::AutoVectorRooter&) const' at src/third_party/mozjs-45/extract/js/src/proxy/BaseProxyHandler.cpp:215:19: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'id' in 'MEM[(struct Rooted * *)cx_99(D) + 96B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src25.cpp:47: src/third_party/mozjs-45/extract/js/src/proxy/BaseProxyHandler.cpp: In member function 'js::BaseProxyHandler::getOwnEnumerablePropertyKeys(JSContext*, JS::Handle, JS::AutoVectorRooter&) const': src/third_party/mozjs-45/extract/js/src/proxy/BaseProxyHandler.cpp:215:14: note: 'id' declared here 215 | RootedId id(cx); | ^~ src/third_party/mozjs-45/extract/js/src/proxy/BaseProxyHandler.cpp:215:14: note: 'cx_99(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSString*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'ToUpperCaseHelper(JSContext*, JS::CallReceiver)' at src/third_party/mozjs-45/extract/js/src/jsstr.cpp:807:62: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'str' in 'MEM[(struct Rooted * *)cx_156(D) + 56B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jsstr.cpp: In function 'ToUpperCaseHelper(JSContext*, JS::CallReceiver)': src/third_party/mozjs-45/extract/js/src/jsstr.cpp:807:18: note: 'str' declared here 807 | RootedString str(cx, ThisToStringForStringProto(cx, call)); | ^~~ src/third_party/mozjs-45/extract/js/src/jsstr.cpp:807:18: note: 'cx_156(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSString*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'str_toLocaleUpperCase(JSContext*, unsigned int, JS::Value*)' at src/third_party/mozjs-45/extract/js/src/jsstr.cpp:842:66: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'str' in 'MEM[(struct Rooted * *)cx_178(D) + 56B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jsstr.cpp: In function 'str_toLocaleUpperCase(JSContext*, unsigned int, JS::Value*)': src/third_party/mozjs-45/extract/js/src/jsstr.cpp:842:22: note: 'str' declared here 842 | RootedString str(cx, ThisToStringForStringProto(cx, args)); | ^~~ src/third_party/mozjs-45/extract/js/src/jsstr.cpp:842:22: note: 'cx_178(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSString*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::str_search(JSContext*, unsigned int, JS::Value*)' at src/third_party/mozjs-45/extract/js/src/jsstr.cpp:2472:62: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'str' in 'MEM[(struct Rooted * *)cx_253(D) + 56B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jsstr.cpp: In function 'js::str_search(JSContext*, unsigned int, JS::Value*)': src/third_party/mozjs-45/extract/js/src/jsstr.cpp:2472:18: note: 'str' declared here 2472 | RootedString str(cx, ThisToStringForStringProto(cx, args)); | ^~~ src/third_party/mozjs-45/extract/js/src/jsstr.cpp:2472:18: note: 'cx_253(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSLinearString*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'BuildFlatReplacement(JSContext*, JS::Handle, JS::Handle, (anonymous namespace)::FlatMatch const&)' at src/third_party/mozjs-45/extract/js/src/jsstr.cpp:2987:76: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'leftSide' in 'MEM[(struct Rooted * *)cx_242(D) + 56B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jsstr.cpp: In function 'BuildFlatReplacement(JSContext*, JS::Handle, JS::Handle, (anonymous namespace)::FlatMatch const&)': src/third_party/mozjs-45/extract/js/src/jsstr.cpp:2987:22: note: 'leftSide' declared here 2987 | RootedString leftSide(cx, NewDependentString(cx, textstr, 0, match)); | ^~~~~~~~ src/third_party/mozjs-45/extract/js/src/jsstr.cpp:2987:22: note: 'cx_242(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(js::ExclusiveContext* const&, js::Shape*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::EmptyShape::ensureInitialCustomShape(js::ExclusiveContext*, JS::Handle)bool' at src/third_party/mozjs-45/extract/js/src/vm/Shape-inl.h:113:17, inlined from 'js::StringObject::init(JSContext*, JS::Handle)' at src/third_party/mozjs-45/extract/js/src/vm/StringObject-inl.h:25:60: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'shape' in 'MEM[(struct Rooted * *)cx_32(D) + 32B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsscriptinlines.h:19: src/third_party/mozjs-45/extract/js/src/vm/Shape-inl.h: In member function 'js::StringObject::init(JSContext*, JS::Handle)': src/third_party/mozjs-45/extract/js/src/vm/Shape-inl.h:113:17: note: 'shape' declared here 113 | RootedShape shape(cx, ObjectSubclass::assignInitialShape(cx, obj)); | ^~~~~ src/third_party/mozjs-45/extract/js/src/vm/Shape-inl.h:113:17: note: 'cx_32(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::NativeObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::InitStringClass(JSContext*, JS::Handle)' at src/third_party/mozjs-45/extract/js/src/jsstr.cpp:4218:83: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'proto' in 'MEM[(struct Rooted * *)cx_133(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jsstr.cpp: In function 'js::InitStringClass(JSContext*, JS::Handle)': src/third_party/mozjs-45/extract/js/src/jsstr.cpp:4218:18: note: 'proto' declared here 4218 | RootedObject proto(cx, global->createBlankPrototype(cx, &StringObject::class_)); | ^~~~~ src/third_party/mozjs-45/extract/js/src/jsstr.cpp:4218:18: note: 'cx_133(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(js::ExclusiveContext* const&, JSObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::ScriptSourceObject::create(js::ExclusiveContext*, js::ScriptSource*)' at src/third_party/mozjs-45/extract/js/src/jsscript.cpp:1690:74: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'object' in 'MEM[(struct Rooted * *)cx_68(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jsscript.cpp: In function 'js::ScriptSourceObject::create(js::ExclusiveContext*, js::ScriptSource*)': src/third_party/mozjs-45/extract/js/src/jsscript.cpp:1690:18: note: 'object' declared here 1690 | RootedObject object(cx, NewObjectWithGivenProto(cx, &class_, nullptr)); | ^~~~~~ src/third_party/mozjs-45/extract/js/src/jsscript.cpp:1690:18: note: 'cx_68(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSString*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::str_match(JSContext*, unsigned int, JS::Value*)' at src/third_party/mozjs-45/extract/js/src/jsstr.cpp:2431:62: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'str' in 'MEM[(struct Rooted * *)cx_229(D) + 56B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jsstr.cpp: In function 'js::str_match(JSContext*, unsigned int, JS::Value*)': src/third_party/mozjs-45/extract/js/src/jsstr.cpp:2431:18: note: 'str' declared here 2431 | RootedString str(cx, ThisToStringForStringProto(cx, args)); | ^~~ src/third_party/mozjs-45/extract/js/src/jsstr.cpp:2431:18: note: 'cx_229(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSLinearString*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'StrReplaceRegExp(JSContext*, (anonymous namespace)::ReplaceData&)' at src/third_party/mozjs-45/extract/js/src/jsstr.cpp:3319:65: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'linearStr' in 'MEM[(struct Rooted * *)cx_84(D) + 56B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jsstr.cpp: In function 'StrReplaceRegExp(JSContext*, (anonymous namespace)::ReplaceData&)': src/third_party/mozjs-45/extract/js/src/jsstr.cpp:3319:24: note: 'linearStr' declared here 3319 | RootedLinearString linearStr(cx, rdata.str->ensureLinear(cx)); | ^~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jsstr.cpp:3319:24: note: 'cx_84(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(js::ExclusiveContext* const&, JSScript*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'JSScript::Create(js::ExclusiveContext*, JS::Handle, bool, JS::ReadOnlyCompileOptions const&, JS::Handle, unsigned int, unsigned int)' at src/third_party/mozjs-45/extract/js/src/jsscript.cpp:2722:51: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'script' in 'MEM[(struct Rooted * *)cx_70(D) + 80B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jsscript.cpp: In function 'JSScript::Create(js::ExclusiveContext*, JS::Handle, bool, JS::ReadOnlyCompileOptions const&, JS::Handle, unsigned int, unsigned int)': src/third_party/mozjs-45/extract/js/src/jsscript.cpp:2722:18: note: 'script' declared here 2722 | RootedScript script(cx, Allocate(cx)); | ^~~~~~ src/third_party/mozjs-45/extract/js/src/jsscript.cpp:2722:18: note: 'cx_70(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSScript*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::CloneScriptIntoFunction(JSContext*, JS::Handle, JS::Handle, JS::Handle)' at src/third_party/mozjs-45/extract/js/src/jsscript.cpp:3683:76: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'dst' in 'MEM[(struct Rooted * *)cx_85(D) + 80B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jsscript.cpp: In function 'js::CloneScriptIntoFunction(JSContext*, JS::Handle, JS::Handle, JS::Handle)': src/third_party/mozjs-45/extract/js/src/jsscript.cpp:3683:18: note: 'dst' declared here 3683 | RootedScript dst(cx, CreateEmptyScriptForClone(cx, enclosingScope, src)); | ^~~ src/third_party/mozjs-45/extract/js/src/jsscript.cpp:3683:18: note: 'cx_85(D)' declared here In file included from src/third_party/mozjs-45/include/js/Value.h:22, from src/third_party/mozjs-45/extract/js/src/jsutil.h:22, from src/third_party/mozjs-45/extract/js/src/ds/LifoAlloc.h:24: In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSFlatString*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::AsmJSModuleToString(JSContext*, JS::Handle, bool)' at src/third_party/mozjs-45/extract/js/src/asmjs/AsmJSLink.cpp:1186:72: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'src' in 'MEM[(struct Rooted * *)cx_138(D) + 56B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/asmjs/AsmJSLink.cpp: In function 'js::AsmJSModuleToString(JSContext*, JS::Handle, bool)': src/third_party/mozjs-45/extract/js/src/asmjs/AsmJSLink.cpp:1186:31: note: 'src' declared here 1186 | Rooted src(cx, source->substring(cx, begin, end)); | ^~~ src/third_party/mozjs-45/extract/js/src/asmjs/AsmJSLink.cpp:1186:31: note: 'cx_138(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSFlatString*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::AsmJSFunctionToString(JSContext*, JS::Handle)' at src/third_party/mozjs-45/extract/js/src/asmjs/AsmJSLink.cpp:1283:78: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'src' in 'MEM[(struct Rooted * *)cx_135(D) + 56B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/asmjs/AsmJSLink.cpp: In function 'js::AsmJSFunctionToString(JSContext*, JS::Handle)': src/third_party/mozjs-45/extract/js/src/asmjs/AsmJSLink.cpp:1283:35: note: 'src' declared here 1283 | Rooted src(cx, source->substring(cx, nameEnd, end)); | ^~~ src/third_party/mozjs-45/extract/js/src/asmjs/AsmJSLink.cpp:1283:35: note: 'cx_135(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSScript*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::CloneGlobalScript(JSContext*, JS::Handle, JS::Handle)' at src/third_party/mozjs-45/extract/js/src/jsscript.cpp:3661:76: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'dst' in 'MEM[(struct Rooted * *)cx_39(D) + 80B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jsscript.cpp: In function 'js::CloneGlobalScript(JSContext*, JS::Handle, JS::Handle)': src/third_party/mozjs-45/extract/js/src/jsscript.cpp:3661:18: note: 'dst' declared here 3661 | RootedScript dst(cx, CreateEmptyScriptForClone(cx, enclosingScope, src)); | ^~~ src/third_party/mozjs-45/extract/js/src/jsscript.cpp:3661:18: note: 'cx_39(D)' declared here g++ -o build/fedora/mongo/s/grid.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/s/grid.cpp In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/bson/timestamp.h:31, from src/mongo/db/repl/optime.h:33, from src/mongo/s/grid.h:31, from src/mongo/s/grid.cpp:33: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/s/catalog_cache.h:377:21: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/s/catalog_cache.h:379:24: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/s/catalog_cache.h:379:24: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/s/catalog_cache.h:379:24: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/matcher/expression_parser.h:35, from src/mongo/db/pipeline/pipeline.h:36, from src/mongo/s/query/cluster_client_cursor_params.h:41, from src/mongo/s/query/cluster_client_cursor.h:37, from src/mongo/s/query/cluster_cursor_manager.h:41, from src/mongo/s/grid.cpp:42: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/mongo/s/client/shard_registry.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/s/client/shard_registry.cpp src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call g++ -o build/fedora/mongo/s/client/shard_factory.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/s/client/shard_factory.cpp g++ -o build/fedora/mongo/db/query/collation/collator_factory_interface.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/query/collation/collator_factory_interface.cpp ar rcsTD build/fedora/mongo/s/libgrid.a build/fedora/mongo/s/balancer_configuration.o build/fedora/mongo/s/catalog_cache.o build/fedora/mongo/s/client/shard_factory.o build/fedora/mongo/s/client/shard_registry.o build/fedora/mongo/s/grid.o Skipping ranlib for thin archive build/fedora/mongo/s/libgrid.a g++ -o build/fedora/mongo/scripting/bson_template_evaluator.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/scripting/bson_template_evaluator.cpp ar rcsTD build/fedora/mongo/db/query/collation/libcollator_factory_interface.a build/fedora/mongo/db/query/collation/collator_factory_interface.o Skipping ranlib for thin archive build/fedora/mongo/db/query/collation/libcollator_factory_interface.a gcc -o build/fedora/third_party/icu4c-57.1/source/common/uscript.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/uscript.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C g++ -o build/fedora/mongo/db/key_generator.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/key_generator.cpp In file included from /usr/include/string.h:535, from /usr/include/c++/12/cstring:42, from src/mongo/base/string_data.h:33, from src/mongo/db/jsobj.h:45, from src/mongo/scripting/bson_template_evaluator.h:49, from src/mongo/scripting/bson_template_evaluator.cpp:29: In function 'memcpy', inlined from 'mongo::StringData::copyTo(char*, bool) const' at src/mongo/base/string_data.h:266:15, inlined from 'mongo::StringBuilderImpl::append(mongo::StringData)' at src/mongo/bson/util/builder.h:484:19, inlined from 'mongo::StringBuilderImpl::appendIntegral(int, int)mongo::StringBuilderImpl&' at src/mongo/bson/util/builder.h:518:19, inlined from 'mongo::StringBuilderImpl::appendIntegral(int, int)mongo::StringBuilderImpl&' at src/mongo/bson/util/builder.h:512:24, inlined from 'mongo::StringBuilderImpl::operator<<(int)' at src/mongo/bson/util/builder.h:402:30, inlined from 'mongo::BSONObj::operator[](int) const' at src/mongo/bson/bsonobj.h:312:15: /usr/include/bits/string_fortified.h:29:33: warning: 'memcpy' offset [0, 511] is out of the bounds [0, 0] [-Warray-bounds] 29 | return __builtin___memcpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 30 | __glibc_objsize0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ ar rcsTD build/fedora/mongo/scripting/libbson_template_evaluator.a build/fedora/mongo/scripting/bson_template_evaluator.o Skipping ranlib for thin archive build/fedora/mongo/scripting/libbson_template_evaluator.a g++ -o build/fedora/third_party/s2/s2polygon.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -DDEBUG_MODE=false -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/third_party/s2/s2polygon.cc g++ -o build/fedora/mongo/db/ops/update.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/ops/update.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/db/curop.h:35, from src/mongo/db/ops/update.h:33, from src/mongo/db/ops/update.cpp:35: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/bson/mutable/element.h:34, from src/mongo/db/auth/privilege.h:32, from src/mongo/db/commands.h:39: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/mongo/db/ops/insert.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/ops/insert.cpp src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, unsigned int, mongo::StringMapTraits>': src/mongo/db/op_observer.h:310:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long unsigned int, mongo::StringMapTraits>': src/mongo/db/views/view_graph.h:177:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/db/views/view_catalog.h:174:13: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Collection*, mongo::StringMapTraits>': src/mongo/db/catalog/database.h:165:38: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/third_party/icu4c-57.1/source/i18n/cpdtrans.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/cpdtrans.cpp g++ -o build/fedora/mongo/db/kill_sessions_gen.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc build/fedora/mongo/db/kill_sessions_gen.cpp In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from build/fedora/mongo/db/kill_sessions_gen.cpp:16: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from build/fedora/mongo/db/kill_sessions_gen.h:16, from build/fedora/mongo/db/kill_sessions_gen.cpp:9: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ ar rcsTD build/fedora/mongo/db/libwrite_ops.a build/fedora/mongo/db/ops/delete.o build/fedora/mongo/db/ops/find_and_modify_result.o build/fedora/mongo/db/ops/insert.o build/fedora/mongo/db/ops/update.o build/fedora/mongo/db/ops/write_ops_retryability.o build/fedora/mongo/db/ops/single_write_result_gen.o Skipping ranlib for thin archive build/fedora/mongo/db/libwrite_ops.a src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ gcc -o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid_binarydecimal.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -DUSE_COMPILER_F80_TYPE=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -Dlinux=1 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid_binarydecimal.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call g++ -o build/fedora/mongo/db/pipeline/document_source_check_resume_token.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/pipeline/document_source_check_resume_token.cpp g++ -o build/fedora/mongo/db/service_liaison_mongos.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/service_liaison_mongos.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/db/curop.h:35, from src/mongo/db/pipeline/document_source_check_resume_token.cpp:31: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/bson/mutable/element.h:34, from src/mongo/db/auth/privilege.h:32, from src/mongo/db/commands.h:39: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/matcher/expression_parser.h:35, from src/mongo/db/pipeline/pipeline.h:36, from src/mongo/s/query/cluster_client_cursor_params.h:41, from src/mongo/s/query/cluster_client_cursor.h:37, from src/mongo/s/query/cluster_cursor_manager.h:41, from src/mongo/db/service_liaison_mongos.cpp:35: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from build/fedora/mongo/db/logical_session_id_gen.h:16, from src/mongo/db/logical_session_id.h:34, from src/mongo/db/service_liaison_mongos.h:31, from src/mongo/db/service_liaison_mongos.cpp:31: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call g++ -o build/fedora/third_party/icu4c-57.1/source/i18n/islamcal.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/islamcal.cpp g++ -o build/fedora/third_party/icu4c-57.1/source/i18n/coptccal.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/coptccal.cpp ar rcsTD build/fedora/mongo/db/catalog/libdatabase.a build/fedora/mongo/db/catalog/database.o Skipping ranlib for thin archive build/fedora/mongo/db/catalog/libdatabase.a ar rcsTD build/fedora/mongo/db/libindex_d.a build/fedora/mongo/db/index_builder.o build/fedora/mongo/db/index_legacy.o build/fedora/mongo/db/index_rebuilder.o Skipping ranlib for thin archive build/fedora/mongo/db/libindex_d.a g++ -o build/fedora/mongo/db/ftdc/compressor.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/ftdc/compressor.cpp gcc -o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_quantexpd.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -DUSE_COMPILER_F80_TYPE=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -Dlinux=1 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_quantexpd.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C ar rcsTD build/fedora/mongo/db/auth/libsecurity_key.a build/fedora/mongo/db/auth/security_key.o Skipping ranlib for thin archive build/fedora/mongo/db/auth/libsecurity_key.a g++ -o build/fedora/mongo/db/catalog/namespace_uuid_cache.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/catalog/namespace_uuid_cache.cpp In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/db/catalog/collection_options.h:36, from src/mongo/db/catalog/namespace_uuid_cache.h:32, from src/mongo/db/catalog/namespace_uuid_cache.cpp:35: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UUID, mongo::StringMapTraits>': src/mongo/db/catalog/namespace_uuid_cache.h:86:23: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UUID; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UUID; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UUID; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UUID; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/plan_cache.h:35, from src/mongo/db/catalog/collection_info_cache.h:33, from src/mongo/db/catalog/collection.h:41, from src/mongo/db/catalog/database.h:38, from src/mongo/db/catalog/namespace_uuid_cache.cpp:37: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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 ar rcsTD build/fedora/mongo/db/storage/mmap_v1/libpaths.a build/fedora/mongo/db/storage/mmap_v1/paths.o Skipping ranlib for thin archive build/fedora/mongo/db/storage/mmap_v1/libpaths.a g++ -o build/fedora/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src1.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -Wno-non-virtual-dtor -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -include js-confdefs.h -Wno-invalid-offsetof -fPIE -DIMPL_MFBT -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=1 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora/third_party/mozjs-45/extract/js/src -Isrc/third_party/mozjs-45/extract/js/src -Ibuild/fedora/third_party/mozjs-45/extract/mfbt -Isrc/third_party/mozjs-45/extract/mfbt -Ibuild/fedora/third_party/mozjs-45/extract/intl/icu/source/common -Isrc/third_party/mozjs-45/extract/intl/icu/source/common -Ibuild/fedora/third_party/mozjs-45/include -Isrc/third_party/mozjs-45/include -Ibuild/fedora/third_party/mozjs-45/mongo_sources -Isrc/third_party/mozjs-45/mongo_sources -Ibuild/fedora/third_party/mozjs-45/platform/x86_64/linux/build -Isrc/third_party/mozjs-45/platform/x86_64/linux/build -Ibuild/fedora/third_party/mozjs-45/platform/x86_64/linux/include -Isrc/third_party/mozjs-45/platform/x86_64/linux/include src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src1.cpp src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/vm/RegExpObject.h:13, from src/third_party/mozjs-45/extract/js/src/builtin/RegExp.h:10, from src/third_party/mozjs-45/extract/js/src/jscompartment.h:15, from src/third_party/mozjs-45/extract/js/src/jit/MacroAssembler.h:13, from src/third_party/mozjs-45/extract/js/src/asmjs/WasmIonCompile.h:25, from src/third_party/mozjs-45/extract/js/src/asmjs/WasmIonCompile.cpp:19, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src1.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1040:19: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 1040 | memcpy(&elements_[dstStart], src, count * sizeof(HeapSlot)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:22: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here 650 | class HeapSlot : public WriteBarrieredBase | ^~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1048:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 1048 | memcpy(&elements_[dstStart], src, count * sizeof(HeapSlot)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here 650 | class HeapSlot : public WriteBarrieredBase | ^~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1082:20: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 1082 | memmove(elements_ + dstStart, elements_ + srcStart, count * sizeof(HeapSlot)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here 650 | class HeapSlot : public WriteBarrieredBase | ^~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1094:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 1094 | memmove(elements_ + dstStart, elements_ + srcStart, count * sizeof(Value)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here 650 | class HeapSlot : public WriteBarrieredBase | ^~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, unsigned int, mongo::StringMapTraits>': src/mongo/db/op_observer.h:310:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long unsigned int, mongo::StringMapTraits>': src/mongo/db/views/view_graph.h:177:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/db/views/view_catalog.h:174:13: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Collection*, mongo::StringMapTraits>': src/mongo/db/catalog/database.h:165:38: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/third_party/mozjs-45/extract/js/src/builtin/AtomicsObject.cpp:64, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src1.cpp:20: src/third_party/mozjs-45/extract/js/src/jsobjinlines.h: In static member function 'static JSObject* JSObject::create(js::ExclusiveContext*, js::gc::AllocKind, js::gc::InitialHeap, js::HandleShape, js::HandleObjectGroup)': src/third_party/mozjs-45/extract/js/src/jsobjinlines.h:355:15: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::HeapSlot'; use assignment instead [-Wclass-memaccess] 355 | memset(obj->as().fixedSlots(), 0, size - sizeof(js::NativeObject)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here 650 | class HeapSlot : public WriteBarrieredBase | ^~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/AtomicsObject.cpp: In function 'bool js::atomics_futexWait(JSContext*, unsigned int, JS::Value*)': src/third_party/mozjs-45/extract/js/src/builtin/AtomicsObject.cpp:780:24: warning: unnecessary parentheses in declaration of 'addr' [-Wparentheses] 780 | SharedMem(addr) = view->viewDataShared().cast() + offset; | ^~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/AtomicsObject.cpp:780:24: note: remove parentheses 780 | SharedMem(addr) = view->viewDataShared().cast() + offset; | ^~~~~~ | - - In file included from src/third_party/mozjs-45/extract/js/src/ds/LifoAlloc.h:15, from src/third_party/mozjs-45/extract/js/src/asmjs/Wasm.h:24, from src/third_party/mozjs-45/extract/js/src/asmjs/AsmJSFrameIterator.h:24, from src/third_party/mozjs-45/extract/js/src/asmjs/WasmIonCompile.h:22: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': src/third_party/mozjs-45/include/js/MemoryMetrics.h:40:34: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/gc/StoreBuffer.h:18, from src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:13: src/third_party/mozjs-45/include/js/MemoryMetrics.h:31:8: note: 'struct JS::TabSizes' declared here 31 | struct TabSizes | ^~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::ServoSizes]': src/third_party/mozjs-45/include/js/MemoryMetrics.h:71:36: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::ServoSizes'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/MemoryMetrics.h:59:8: note: 'struct JS::ServoSizes' declared here 59 | struct ServoSizes | ^~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JSSubString]': src/third_party/mozjs-45/extract/js/src/jsstr.h:73:37: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JSSubString'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/TraceLoggingTypes.h:11, from src/third_party/mozjs-45/extract/js/src/vm/TraceLoggingGraph.h:15, from src/third_party/mozjs-45/extract/js/src/vm/TraceLogging.h:19, from src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:22, from src/third_party/mozjs-45/extract/js/src/jsscript.h:24: src/third_party/mozjs-45/extract/js/src/jsstr.h:68:8: note: 'struct JSSubString' declared here 68 | struct JSSubString { | ^~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::PreliminaryObjectArray]': src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:808:25: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::PreliminaryObjectArray'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:23: src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:796:7: note: 'class js::PreliminaryObjectArray' declared here 796 | class PreliminaryObjectArray | ^~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::TypeNewScript]': src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:939:39: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::TypeNewScript' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:886:7: note: 'class js::TypeNewScript' declared here 886 | class TypeNewScript | ^~~~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:699:25: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:686:8: note: 'struct js::jit::IonScriptCounts' declared here 686 | struct IonScriptCounts | ^~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': src/third_party/mozjs-45/extract/js/src/vm/String.h:1092:25: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/Shape.h:32, from src/third_party/mozjs-45/extract/js/src/jsobj.h:27, from src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:16: src/third_party/mozjs-45/extract/js/src/vm/String.h:1074:7: note: 'class js::StaticStrings' declared here 1074 | class StaticStrings | ^~~~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': src/third_party/mozjs-45/extract/js/src/vm/Shape.h:392:25: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/Shape.h:323:7: note: 'class js::BaseShape' declared here 323 | class BaseShape : public gc::TenuredCell | ^~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:293:40: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:244:7: note: 'class js::NewObjectCache' declared here 244 | class NewObjectCache | ^~~~~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::Address]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:290:33: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::Address'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/Safepoints.h:12, from src/third_party/mozjs-45/extract/js/src/jit/JitFrames.h:16, from src/third_party/mozjs-45/extract/js/src/jit/x64/MacroAssembler-x64.h:10, from src/third_party/mozjs-45/extract/js/src/jit/MacroAssembler.h:18: src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:282:8: note: 'struct js::jit::Address' declared here 282 | struct Address | ^~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::BaseIndex]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:306:35: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::BaseIndex'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:295:8: note: 'struct js::jit::BaseIndex' declared here 295 | struct BaseIndex | ^~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::CodeOffsetJump]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:513:25: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::jit::CodeOffsetJump'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:491:7: note: 'class js::jit::CodeOffsetJump' declared here 491 | class CodeOffsetJump | ^~~~~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::AsmJSModule::StaticLinkData::Pod]': src/third_party/mozjs-45/extract/js/src/asmjs/AsmJSModule.h:681:44: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::AsmJSModule::StaticLinkData::Pod'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/asmjs/WasmStubs.cpp:24, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src1.cpp:11: src/third_party/mozjs-45/extract/js/src/asmjs/AsmJSModule.h:683:16: note: 'struct js::AsmJSModule::StaticLinkData::Pod' declared here 683 | struct Pod { | ^~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call In file included from src/third_party/mozjs-45/extract/js/src/jsapi.h:29, from src/third_party/mozjs-45/extract/js/src/jsfriendapi.h:15, from src/third_party/mozjs-45/extract/js/src/jit/IonTypes.h:12, from src/third_party/mozjs-45/extract/js/src/asmjs/Wasm.h:25: src/third_party/mozjs-45/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': src/third_party/mozjs-45/include/js/HashTable.h:186:67: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' src/third_party/mozjs-45/extract/js/src/vm/SPSProfiler.h:256:18: required from here src/third_party/mozjs-45/include/js/HashTable.h:1550:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] 1550 | memset(table, 0, sizeof(*table) * capacity()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/HashTable.h:722:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here 722 | class HashTableEntry | ^~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/BitSet.h:12, from src/third_party/mozjs-45/extract/js/src/jit/Safepoints.h:10: src/third_party/mozjs-45/extract/js/src/jit/JitAllocPolicy.h: In instantiation of 'T* js::jit::JitAllocPolicy::maybe_pod_calloc(size_t) [with T = js::detail::HashTableEntry >; size_t = long unsigned int]': src/third_party/mozjs-45/include/js/HashTable.h:1144:54: required from 'static js::detail::HashTable::Entry* js::detail::HashTable::createTable(AllocPolicy&, uint32_t, FailureBehavior) [with T = js::HashMapEntry; HashPolicy = js::HashMap::MapHashPolicy; AllocPolicy = js::jit::JitAllocPolicy; Entry = js::detail::HashTableEntry >; uint32_t = unsigned int]' src/third_party/mozjs-45/include/js/HashTable.h:1212:28: required from 'bool js::detail::HashTable::init(uint32_t) [with T = js::HashMapEntry; HashPolicy = js::HashMap::MapHashPolicy; AllocPolicy = js::jit::JitAllocPolicy; uint32_t = unsigned int]' src/third_party/mozjs-45/include/js/HashTable.h:79:73: required from 'bool js::HashMap::init(uint32_t) [with Key = JS::Value; Value = unsigned int; HashPolicy = js::jit::LIRGraph::ValueHasher; AllocPolicy = js::jit::JitAllocPolicy; uint32_t = unsigned int]' src/third_party/mozjs-45/extract/js/src/jit/LIR.h:1696:37: required from here src/third_party/mozjs-45/extract/js/src/jit/JitAllocPolicy.h:92:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::detail::HashTableEntry >' with no trivial copy-assignment [-Wclass-memaccess] 92 | memset(p, 0, numElems * sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/HashTable.h:722:7: note: 'class js::detail::HashTableEntry >' declared here 722 | class HashTableEntry | ^~~~~~~~~~~~~~ ar rcsTD build/fedora/mongo/db/catalog/libuuid_catalog.a build/fedora/mongo/db/catalog/namespace_uuid_cache.o build/fedora/mongo/db/catalog/uuid_catalog.o Skipping ranlib for thin archive build/fedora/mongo/db/catalog/libuuid_catalog.a gcc -o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_next.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -DUSE_COMPILER_F80_TYPE=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -Dlinux=1 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_next.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C g++ -o build/fedora/mongo/rpc/metadata/repl_set_metadata.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/rpc/metadata/repl_set_metadata.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/bson/util/bson_check.h:33, from src/mongo/rpc/metadata/repl_set_metadata.cpp:31: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/oid.h:34, from src/mongo/rpc/metadata/repl_set_metadata.h:31, from src/mongo/rpc/metadata/repl_set_metadata.cpp:29: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ In file included from src/third_party/mozjs-45/include/js/Value.h:22, from src/third_party/mozjs-45/extract/js/src/jsutil.h:22, from src/third_party/mozjs-45/extract/js/src/ds/LifoAlloc.h:24: In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::PlainObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'InitClass(JSContext*, JS::Handle, js::Class const*, JSProtoKey, bool (*)(JSContext*, unsigned int, JS::Value*), JSPropertySpec const*, JSFunctionSpec const*, JSPropertySpec const*) [clone .constprop.0]' at src/third_party/mozjs-45/extract/js/src/builtin/MapObject.cpp:285:73: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'proto' in 'MEM[(struct Rooted * *)cx_1(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src1.cpp:47: src/third_party/mozjs-45/extract/js/src/builtin/MapObject.cpp: In function 'InitClass(JSContext*, JS::Handle, js::Class const*, JSProtoKey, bool (*)(JSContext*, unsigned int, JS::Value*), JSPropertySpec const*, JSFunctionSpec const*, JSPropertySpec const*) [clone .constprop.0]': src/third_party/mozjs-45/extract/js/src/builtin/MapObject.cpp:285:23: note: 'proto' declared here 285 | RootedPlainObject proto(cx, NewBuiltinClassInstance(cx)); | ^~~~~ src/third_party/mozjs-45/extract/js/src/builtin/MapObject.cpp:285:23: note: 'cx_1(D)' declared here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/third_party/mozjs-45/extract/js/src/builtin/Eval.cpp:17, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src1.cpp:29: In member function 'js::JSONParserBase::JSONParserBase(js::JSONParserBase&&)', inlined from 'js::JSONParser::JSONParser(js::JSONParser&&)' at src/third_party/mozjs-45/extract/js/src/vm/JSONParser.h:221:22, inlined from 'js::DispatchWrapper >::DispatchWrapper >(js::JSONParser&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:635:9, inlined from 'JS::Rooted >::Rooted >(JSContext* const&, js::JSONParser&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:713:9, inlined from 'ParseEvalStringAsJSON(JSContext*, mozilla::Range, JS::MutableHandle)EvalJSONResult' at src/third_party/mozjs-45/extract/js/src/builtin/Eval.cpp:186:31: src/third_party/mozjs-45/extract/js/src/vm/JSONParser.h:124:9: warning: 'MEM[(struct JSONParserBase &)&D.418749].v' is used uninitialized [-Wuninitialized] 124 | : v(other.v), | ^~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/Eval.cpp: In function 'ParseEvalStringAsJSON(JSContext*, mozilla::Range, JS::MutableHandle)EvalJSONResult': src/third_party/mozjs-45/extract/js/src/builtin/Eval.cpp:186:42: note: '' declared here 186 | Rooted> parser(cx, JSONParser(cx, jsonChars, JSONParserBase::NoError)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In member function 'js::JSONParserBase::JSONParserBase(js::JSONParserBase&&)', inlined from 'js::JSONParser::JSONParser(js::JSONParser&&)' at src/third_party/mozjs-45/extract/js/src/vm/JSONParser.h:221:22, inlined from 'js::DispatchWrapper >::DispatchWrapper >(js::JSONParser&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:635:9, inlined from 'JS::Rooted >::Rooted >(JSContext* const&, js::JSONParser&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:713:9, inlined from 'ParseEvalStringAsJSON(JSContext*, mozilla::Range, JS::MutableHandle)EvalJSONResult' at src/third_party/mozjs-45/extract/js/src/builtin/Eval.cpp:186:31: src/third_party/mozjs-45/extract/js/src/vm/JSONParser.h:124:9: warning: 'MEM[(struct JSONParserBase &)&D.418374].v' is used uninitialized [-Wuninitialized] 124 | : v(other.v), | ^~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/Eval.cpp: In function 'ParseEvalStringAsJSON(JSContext*, mozilla::Range, JS::MutableHandle)EvalJSONResult': src/third_party/mozjs-45/extract/js/src/builtin/Eval.cpp:186:42: note: '' declared here 186 | Rooted> parser(cx, JSONParser(cx, jsonChars, JSONParserBase::NoError)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::NonSyntacticVariablesObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::ExecuteInGlobalAndReturnScope(JSContext*, JS::Handle, JS::Handle, JS::MutableHandle)' at src/third_party/mozjs-45/extract/js/src/builtin/Eval.cpp:473:90: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'scope' in 'MEM[(struct Rooted * *)cx_211(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/Eval.cpp: In function 'js::ExecuteInGlobalAndReturnScope(JSContext*, JS::Handle, JS::Handle, JS::MutableHandle)': src/third_party/mozjs-45/extract/js/src/builtin/Eval.cpp:473:26: note: 'scope' declared here 473 | Rooted scope(cx, NonSyntacticVariablesObject::create(cx, globalLexical)); | ^~~~~ src/third_party/mozjs-45/extract/js/src/builtin/Eval.cpp:473:26: note: 'cx_211(D)' declared here src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::MapObject::initClass(JSContext*, JSObject*)' at src/third_party/mozjs-45/extract/js/src/builtin/MapObject.cpp:307:36: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'proto' in 'MEM[(struct Rooted * *)cx_119(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/MapObject.cpp: In function 'js::MapObject::initClass(JSContext*, JSObject*)': src/third_party/mozjs-45/extract/js/src/builtin/MapObject.cpp:305:18: note: 'proto' declared here 305 | RootedObject proto(cx, | ^~~~~ src/third_party/mozjs-45/extract/js/src/builtin/MapObject.cpp:305:18: note: 'cx_119(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::SetObject::initClass(JSContext*, JSObject*)' at src/third_party/mozjs-45/extract/js/src/builtin/MapObject.cpp:1035:36: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'proto' in 'MEM[(struct Rooted * *)cx_131(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/MapObject.cpp: In function 'js::SetObject::initClass(JSContext*, JSObject*)': src/third_party/mozjs-45/extract/js/src/builtin/MapObject.cpp:1033:18: note: 'proto' declared here 1033 | RootedObject proto(cx, | ^~~~~ src/third_party/mozjs-45/extract/js/src/builtin/MapObject.cpp:1033:18: note: 'cx_131(D)' declared here src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, bool, mongo::StringMapTraits>': src/mongo/bson/util/bson_check.h:62:43: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = bool; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = bool; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = bool; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = bool; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call gcc -o build/fedora/third_party/icu4c-57.1/source/common/locmap.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/locmap.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C gcc -o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_tanh.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -DUSE_COMPILER_F80_TYPE=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -Dlinux=1 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_tanh.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C g++ -o build/fedora/third_party/icu4c-57.1/source/common/patternprops.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/patternprops.cpp g++ -o build/fedora/third_party/icu4c-57.1/source/common/rbbistbl.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/rbbistbl.cpp ar rcsTD build/fedora/mongo/util/libprocessinfo.a build/fedora/mongo/util/processinfo.o build/fedora/mongo/util/processinfo_linux.o Skipping ranlib for thin archive build/fedora/mongo/util/libprocessinfo.a g++ -o build/fedora/third_party/icu4c-57.1/source/i18n/csdetect.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/csdetect.cpp gcc -o build/fedora/third_party/icu4c-57.1/source/common/ucnv_err.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/ucnv_err.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C g++ -o build/fedora/third_party/icu4c-57.1/source/common/ucnv_bld.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/ucnv_bld.cpp In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSFunction*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'forEach(char const*, JSContext*, JS::Handle, JS::Handle, JS::Handle)' at src/third_party/mozjs-45/extract/js/src/builtin/MapObject.cpp:1451:89: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'forEachFunc' in 'MEM[(struct Rooted * *)cx_92(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/MapObject.cpp: In function 'forEach(char const*, JSContext*, JS::Handle, JS::Handle, JS::Handle)': src/third_party/mozjs-45/extract/js/src/builtin/MapObject.cpp:1451:20: note: 'forEachFunc' declared here 1451 | RootedFunction forEachFunc(cx, JS::GetSelfHostedFunction(cx, funcName, forEachId, 2)); | ^~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/MapObject.cpp:1451:20: note: 'cx_92(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::SetObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::SetObject::construct(JSContext*, unsigned int, JS::Value*)' at src/third_party/mozjs-45/extract/js/src/builtin/MapObject.cpp:1138:60: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'obj' in 'MEM[(struct Rooted * *)cx_616(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/MapObject.cpp: In function 'js::SetObject::construct(JSContext*, unsigned int, JS::Value*)': src/third_party/mozjs-45/extract/js/src/builtin/MapObject.cpp:1138:24: note: 'obj' declared here 1138 | Rooted obj(cx, SetObject::create(cx, proto)); | ^~~ src/third_party/mozjs-45/extract/js/src/builtin/MapObject.cpp:1138:24: note: 'cx_616(D)' declared here g++ -o build/fedora/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src29.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -Wno-non-virtual-dtor -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -include js-confdefs.h -Wno-invalid-offsetof -fPIE -DIMPL_MFBT -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=1 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora/third_party/mozjs-45/extract/js/src -Isrc/third_party/mozjs-45/extract/js/src -Ibuild/fedora/third_party/mozjs-45/extract/mfbt -Isrc/third_party/mozjs-45/extract/mfbt -Ibuild/fedora/third_party/mozjs-45/extract/intl/icu/source/common -Isrc/third_party/mozjs-45/extract/intl/icu/source/common -Ibuild/fedora/third_party/mozjs-45/include -Isrc/third_party/mozjs-45/include -Ibuild/fedora/third_party/mozjs-45/mongo_sources -Isrc/third_party/mozjs-45/mongo_sources -Ibuild/fedora/third_party/mozjs-45/platform/x86_64/linux/build -Isrc/third_party/mozjs-45/platform/x86_64/linux/build -Ibuild/fedora/third_party/mozjs-45/platform/x86_64/linux/include -Isrc/third_party/mozjs-45/platform/x86_64/linux/include src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src29.cpp In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::NativeObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::AtomicsObject::initClass(JSContext*, JS::Handle)' at src/third_party/mozjs-45/extract/js/src/builtin/AtomicsObject.cpp:1226:69: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'objProto' in 'MEM[(struct Rooted * *)cx_99(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/AtomicsObject.cpp: In function 'js::AtomicsObject::initClass(JSContext*, JS::Handle)': src/third_party/mozjs-45/extract/js/src/builtin/AtomicsObject.cpp:1226:18: note: 'objProto' declared here 1226 | RootedObject objProto(cx, global->getOrCreateObjectPrototype(cx)); | ^~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/AtomicsObject.cpp:1226:18: note: 'cx_99(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSLinearString*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::DirectEvalStringFromIon(JSContext*, JS::Handle, JS::Handle, JS::Handle, JS::Handle, unsigned char*, JS::MutableHandle)' at src/third_party/mozjs-45/extract/js/src/builtin/Eval.cpp:351:59: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'linearStr' in 'MEM[(struct Rooted * *)cx_328(D) + 56B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/Eval.cpp: In function 'js::DirectEvalStringFromIon(JSContext*, JS::Handle, JS::Handle, JS::Handle, JS::Handle, unsigned char*, JS::MutableHandle)': src/third_party/mozjs-45/extract/js/src/builtin/Eval.cpp:351:24: note: 'linearStr' declared here 351 | RootedLinearString linearStr(cx, str->ensureLinear(cx)); | ^~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/Eval.cpp:351:24: note: 'cx_328(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSLinearString*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'EvalKernel(JSContext*, JS::CallArgs const&, EvalType, js::AbstractFramePtr, JS::Handle, unsigned char*)' at src/third_party/mozjs-45/extract/js/src/builtin/Eval.cpp:260:59: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'linearStr' in 'MEM[(struct Rooted * *)cx_400(D) + 56B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/Eval.cpp: In function 'EvalKernel(JSContext*, JS::CallArgs const&, EvalType, js::AbstractFramePtr, JS::Handle, unsigned char*)': src/third_party/mozjs-45/extract/js/src/builtin/Eval.cpp:260:24: note: 'linearStr' declared here 260 | RootedLinearString linearStr(cx, str->ensureLinear(cx)); | ^~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/Eval.cpp:260:24: note: 'cx_400(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:708:30, inlined from 'js::intl_FormatNumber(JSContext*, unsigned int, JS::Value*)' at src/third_party/mozjs-45/extract/js/src/builtin/Intl.cpp:1506:26: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'result' in 'MEM[(struct Rooted * *)cx_90(D) + 104B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src1.cpp:38: src/third_party/mozjs-45/extract/js/src/builtin/Intl.cpp: In function 'js::intl_FormatNumber(JSContext*, unsigned int, JS::Value*)': src/third_party/mozjs-45/extract/js/src/builtin/Intl.cpp:1506:17: note: 'result' declared here 1506 | RootedValue result(cx); | ^~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/Intl.cpp:1506:17: note: 'cx_90(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::NativeObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::GlobalObject::initMapIteratorProto(JSContext*, JS::Handle)' at src/third_party/mozjs-45/extract/js/src/builtin/MapObject.cpp:164:86: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'base' in 'MEM[(struct Rooted * *)cx_65(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/MapObject.cpp: In function 'js::GlobalObject::initMapIteratorProto(JSContext*, JS::Handle)': src/third_party/mozjs-45/extract/js/src/builtin/MapObject.cpp:164:23: note: 'base' declared here 164 | Rooted base(cx, GlobalObject::getOrCreateIteratorPrototype(cx, global)); | ^~~~ src/third_party/mozjs-45/extract/js/src/builtin/MapObject.cpp:164:23: note: 'cx_65(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::NativeObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::GlobalObject::initSetIteratorProto(JSContext*, JS::Handle)' at src/third_party/mozjs-45/extract/js/src/builtin/MapObject.cpp:890:86: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'base' in 'MEM[(struct Rooted * *)cx_65(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/MapObject.cpp: In function 'js::GlobalObject::initSetIteratorProto(JSContext*, JS::Handle)': src/third_party/mozjs-45/extract/js/src/builtin/MapObject.cpp:890:23: note: 'base' declared here 890 | Rooted base(cx, GlobalObject::getOrCreateIteratorPrototype(cx, global)); | ^~~~ src/third_party/mozjs-45/extract/js/src/builtin/MapObject.cpp:890:23: note: 'cx_65(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::NativeObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::GlobalObject::initCollatorProto(JSContext*, JS::Handle)' at src/third_party/mozjs-45/extract/js/src/builtin/Intl.cpp:741:82: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'proto' in 'MEM[(struct Rooted * *)cx_39(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/Intl.cpp: In function 'js::GlobalObject::initCollatorProto(JSContext*, JS::Handle)': src/third_party/mozjs-45/extract/js/src/builtin/Intl.cpp:741:24: note: 'proto' declared here 741 | RootedNativeObject proto(cx, global->createBlankPrototype(cx, &CollatorClass)); | ^~~~~ src/third_party/mozjs-45/extract/js/src/builtin/Intl.cpp:741:24: note: 'cx_39(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::NativeObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::GlobalObject::initDateTimeFormatProto(JSContext*, JS::Handle)' at src/third_party/mozjs-45/extract/js/src/builtin/Intl.cpp:1712:88: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'proto' in 'MEM[(struct Rooted * *)cx_39(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/Intl.cpp: In function 'js::GlobalObject::initDateTimeFormatProto(JSContext*, JS::Handle)': src/third_party/mozjs-45/extract/js/src/builtin/Intl.cpp:1712:24: note: 'proto' declared here 1712 | RootedNativeObject proto(cx, global->createBlankPrototype(cx, &DateTimeFormatClass)); | ^~~~~ src/third_party/mozjs-45/extract/js/src/builtin/Intl.cpp:1712:24: note: 'cx_39(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::NativeObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::GlobalObject::initNumberFormatProto(JSContext*, JS::Handle)' at src/third_party/mozjs-45/extract/js/src/builtin/Intl.cpp:1243:86: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'proto' in 'MEM[(struct Rooted * *)cx_39(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/Intl.cpp: In function 'js::GlobalObject::initNumberFormatProto(JSContext*, JS::Handle)': src/third_party/mozjs-45/extract/js/src/builtin/Intl.cpp:1243:24: note: 'proto' declared here 1243 | RootedNativeObject proto(cx, global->createBlankPrototype(cx, &NumberFormatClass)); | ^~~~~ src/third_party/mozjs-45/extract/js/src/builtin/Intl.cpp:1243:24: note: 'cx_39(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::InitIntlClass(JSContext*, JS::Handle)' at src/third_party/mozjs-45/extract/js/src/builtin/Intl.cpp:2076:60: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'Intl' in 'MEM[(struct Rooted * *)cx_121(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/Intl.cpp: In function 'js::InitIntlClass(JSContext*, JS::Handle)': src/third_party/mozjs-45/extract/js/src/builtin/Intl.cpp:2076:18: note: 'Intl' declared here 2076 | RootedObject Intl(cx, global->getOrCreateIntlObject(cx)); | ^~~~ src/third_party/mozjs-45/extract/js/src/builtin/Intl.cpp:2076:18: note: 'cx_121(D)' declared here In file included from src/third_party/mozjs-45/extract/js/src/vm/ErrorObject.h:12, from src/third_party/mozjs-45/extract/js/src/vm/ErrorObject-inl.h:10, from src/third_party/mozjs-45/extract/js/src/vm/ErrorObject.cpp:8, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src29.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1040:19: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 1040 | memcpy(&elements_[dstStart], src, count * sizeof(HeapSlot)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsobj.h:21, from src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:16: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here 650 | class HeapSlot : public WriteBarrieredBase | ^~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1048:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 1048 | memcpy(&elements_[dstStart], src, count * sizeof(HeapSlot)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here 650 | class HeapSlot : public WriteBarrieredBase | ^~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1082:20: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 1082 | memmove(elements_ + dstStart, elements_ + srcStart, count * sizeof(HeapSlot)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here 650 | class HeapSlot : public WriteBarrieredBase | ^~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1094:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 1094 | memmove(elements_ + dstStart, elements_ + srcStart, count * sizeof(Value)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here 650 | class HeapSlot : public WriteBarrieredBase | ^~~~~~~~ In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'DateTimeFormat(JSContext*, JS::CallArgs const&, bool)' at src/third_party/mozjs-45/extract/js/src/builtin/Intl.cpp:1595:84: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'proto' in 'MEM[(struct Rooted * *)cx_189(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/Intl.cpp: In function 'DateTimeFormat(JSContext*, JS::CallArgs const&, bool)': src/third_party/mozjs-45/extract/js/src/builtin/Intl.cpp:1595:22: note: 'proto' declared here 1595 | RootedObject proto(cx, cx->global()->getOrCreateDateTimeFormatPrototype(cx)); | ^~~~~ src/third_party/mozjs-45/extract/js/src/builtin/Intl.cpp:1595:22: note: 'cx_189(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'Collator(JSContext*, JS::CallArgs const&, bool)' at src/third_party/mozjs-45/extract/js/src/builtin/Intl.cpp:632:78: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'proto' in 'MEM[(struct Rooted * *)cx_189(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/Intl.cpp: In function 'Collator(JSContext*, JS::CallArgs const&, bool)': src/third_party/mozjs-45/extract/js/src/builtin/Intl.cpp:632:22: note: 'proto' declared here 632 | RootedObject proto(cx, cx->global()->getOrCreateCollatorPrototype(cx)); | ^~~~~ src/third_party/mozjs-45/extract/js/src/builtin/Intl.cpp:632:22: note: 'cx_189(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'NumberFormat(JSContext*, JS::CallArgs const&, bool)' at src/third_party/mozjs-45/extract/js/src/builtin/Intl.cpp:1126:82: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'proto' in 'MEM[(struct Rooted * *)cx_189(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/Intl.cpp: In function 'NumberFormat(JSContext*, JS::CallArgs const&, bool)': src/third_party/mozjs-45/extract/js/src/builtin/Intl.cpp:1126:22: note: 'proto' declared here 1126 | RootedObject proto(cx, cx->global()->getOrCreateNumberFormatPrototype(cx)); | ^~~~~ src/third_party/mozjs-45/extract/js/src/builtin/Intl.cpp:1126:22: note: 'cx_189(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from '(anonymous namespace)::SetIteratorObject::next_impl(JSContext*, JS::CallArgs const&)' at src/third_party/mozjs-45/extract/js/src/builtin/MapObject.cpp:973:67: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'result' in 'MEM[(struct Rooted * *)cx_134(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/MapObject.cpp: In function '(anonymous namespace)::SetIteratorObject::next_impl(JSContext*, JS::CallArgs const&)': src/third_party/mozjs-45/extract/js/src/builtin/MapObject.cpp:973:18: note: 'result' declared here 973 | RootedObject result(cx, CreateItrResultObject(cx, value, done)); | ^~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/MapObject.cpp:973:18: note: 'cx_134(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from '(anonymous namespace)::SetIteratorObject::create(JSContext*, JS::Handle, js::OrderedHashSet*, js::SetObject::IteratorKind)' at src/third_party/mozjs-45/extract/js/src/builtin/MapObject.cpp:907:90: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'proto' in 'MEM[(struct Rooted * *)cx_102(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/MapObject.cpp: In function '(anonymous namespace)::SetIteratorObject::create(JSContext*, JS::Handle, js::OrderedHashSet*, js::SetObject::IteratorKind)': src/third_party/mozjs-45/extract/js/src/builtin/MapObject.cpp:907:23: note: 'proto' declared here 907 | Rooted proto(cx, GlobalObject::getOrCreateSetIteratorPrototype(cx, global)); | ^~~~~ src/third_party/mozjs-45/extract/js/src/builtin/MapObject.cpp:907:23: note: 'cx_102(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from '__ct ' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::SetObject::iterator_impl(JSContext*, JS::CallArgs const&, js::SetObject::IteratorKind)' at src/third_party/mozjs-45/extract/js/src/builtin/MapObject.cpp:1362:84: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'iterobj' in 'MEM[(struct Rooted * *)cx_58(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/MapObject.cpp: In function 'js::SetObject::iterator_impl(JSContext*, JS::CallArgs const&, js::SetObject::IteratorKind)': src/third_party/mozjs-45/extract/js/src/builtin/MapObject.cpp:1362:23: note: 'iterobj' declared here 1362 | Rooted iterobj(cx, SetIteratorObject::create(cx, setobj, &set, kind)); | ^~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/MapObject.cpp:1362:23: note: 'cx_58(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::MapIteratorObject::create(JSContext*, JS::Handle, js::OrderedHashMap, js::HashableValue::Hasher, js::RuntimeAllocPolicy>*, js::MapObject::IteratorKind)' at src/third_party/mozjs-45/extract/js/src/builtin/MapObject.cpp:181:90: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'proto' in 'MEM[(struct Rooted * *)cx_102(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/MapObject.cpp: In function 'js::MapIteratorObject::create(JSContext*, JS::Handle, js::OrderedHashMap, js::HashableValue::Hasher, js::RuntimeAllocPolicy>*, js::MapObject::IteratorKind)': src/third_party/mozjs-45/extract/js/src/builtin/MapObject.cpp:181:23: note: 'proto' declared here 181 | Rooted proto(cx, GlobalObject::getOrCreateMapIteratorPrototype(cx, global)); | ^~~~~ src/third_party/mozjs-45/extract/js/src/builtin/MapObject.cpp:181:23: note: 'cx_102(D)' declared here In file included from src/third_party/mozjs-45/extract/js/src/vm/ErrorObject.cpp:15: src/third_party/mozjs-45/extract/js/src/jsobjinlines.h: In static member function 'static JSObject* JSObject::create(js::ExclusiveContext*, js::gc::AllocKind, js::gc::InitialHeap, js::HandleShape, js::HandleObjectGroup)': src/third_party/mozjs-45/extract/js/src/jsobjinlines.h:355:15: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::HeapSlot'; use assignment instead [-Wclass-memaccess] 355 | memset(obj->as().fixedSlots(), 0, size - sizeof(js::NativeObject)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here 650 | class HeapSlot : public WriteBarrieredBase | ^~~~~~~~ In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::MapObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::MapObject::construct(JSContext*, unsigned int, JS::Value*)' at src/third_party/mozjs-45/extract/js/src/builtin/MapObject.cpp:473:60: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'obj' in 'MEM[(struct Rooted * *)cx_879(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/MapObject.cpp: In function 'js::MapObject::construct(JSContext*, unsigned int, JS::Value*)': src/third_party/mozjs-45/extract/js/src/builtin/MapObject.cpp:473:24: note: 'obj' declared here 473 | Rooted obj(cx, MapObject::create(cx, proto)); | ^~~ src/third_party/mozjs-45/extract/js/src/builtin/MapObject.cpp:473:24: note: 'cx_879(D)' declared here In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/extract/js/src/jsapi.h:25, from src/third_party/mozjs-45/extract/js/src/jsfriendapi.h:15, from src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:15: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': src/third_party/mozjs-45/include/js/MemoryMetrics.h:40:34: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/gc/StoreBuffer.h:18, from src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:13: src/third_party/mozjs-45/include/js/MemoryMetrics.h:31:8: note: 'struct JS::TabSizes' declared here 31 | struct TabSizes | ^~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::ServoSizes]': src/third_party/mozjs-45/include/js/MemoryMetrics.h:71:36: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::ServoSizes'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/MemoryMetrics.h:59:8: note: 'struct JS::ServoSizes' declared here 59 | struct ServoSizes | ^~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::PreliminaryObjectArray]': src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:808:25: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::PreliminaryObjectArray'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/ObjectGroup.h:16, from src/third_party/mozjs-45/extract/js/src/vm/Shape.h:31, from src/third_party/mozjs-45/extract/js/src/jsobj.h:27: src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:796:7: note: 'class js::PreliminaryObjectArray' declared here 796 | class PreliminaryObjectArray | ^~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::TypeNewScript]': src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:939:39: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::TypeNewScript' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:886:7: note: 'class js::TypeNewScript' declared here 886 | class TypeNewScript | ^~~~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JSSubString]': src/third_party/mozjs-45/extract/js/src/jsstr.h:73:37: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JSSubString'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/String.h:16, from src/third_party/mozjs-45/extract/js/src/vm/Shape.h:32: src/third_party/mozjs-45/extract/js/src/jsstr.h:68:8: note: 'struct JSSubString' declared here 68 | struct JSSubString { | ^~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': src/third_party/mozjs-45/extract/js/src/vm/String.h:1092:25: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/String.h:1074:7: note: 'class js::StaticStrings' declared here 1074 | class StaticStrings | ^~~~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': src/third_party/mozjs-45/extract/js/src/vm/Shape.h:392:25: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/Shape.h:323:7: note: 'class js::BaseShape' declared here 323 | class BaseShape : public gc::TenuredCell | ^~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:699:25: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:24, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/vm/SavedStacks.h:12, from src/third_party/mozjs-45/extract/js/src/vm/ErrorObject.h:13: src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:686:8: note: 'struct js::jit::IonScriptCounts' declared here 686 | struct IonScriptCounts | ^~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:293:40: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:244:7: note: 'class js::NewObjectCache' declared here 244 | class NewObjectCache | ^~~~~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::Address]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:290:33: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::Address'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/Safepoints.h:12, from src/third_party/mozjs-45/extract/js/src/jit/JitFrames.h:16, from src/third_party/mozjs-45/extract/js/src/jscntxtinlines.h:16, from src/third_party/mozjs-45/extract/js/src/jscompartmentinlines.h:14, from src/third_party/mozjs-45/extract/js/src/jsobjinlines.h:29: src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:282:8: note: 'struct js::jit::Address' declared here 282 | struct Address | ^~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::BaseIndex]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:306:35: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::BaseIndex'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:295:8: note: 'struct js::jit::BaseIndex' declared here 295 | struct BaseIndex | ^~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::CodeOffsetJump]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:513:25: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::jit::CodeOffsetJump'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:491:7: note: 'class js::jit::CodeOffsetJump' declared here 491 | class CodeOffsetJump | ^~~~~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::gc::TenureCountCache]': src/third_party/mozjs-45/extract/js/src/gc/GCInternals.h:211:42: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::gc::TenureCountCache'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/HelperThreads.cpp:16, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src29.cpp:38: src/third_party/mozjs-45/extract/js/src/gc/GCInternals.h:207:8: note: 'struct js::gc::TenureCountCache' declared here 207 | struct TenureCountCache | ^~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsapi.h:29: src/third_party/mozjs-45/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': src/third_party/mozjs-45/include/js/HashTable.h:186:67: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' src/third_party/mozjs-45/extract/js/src/vm/SPSProfiler.h:256:18: required from here src/third_party/mozjs-45/include/js/HashTable.h:1550:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] 1550 | memset(table, 0, sizeof(*table) * capacity()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/HashTable.h:722:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here 722 | class HashTableEntry | ^~~~~~~~~~~~~~ g++ -o build/fedora/mongo/s/query/router_stage_merge.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/s/query/router_stage_merge.cpp In file included from src/third_party/mozjs-45/include/js/CallArgs.h:38, from src/third_party/mozjs-45/extract/js/src/jsapi.h:27: In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::NativeObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'CreateBlankProto(JSContext*, js::Class const*, JS::Handle, JS::Handle) [clone .constprop.0]' at src/third_party/mozjs-45/extract/js/src/vm/GlobalObject.cpp:482:85: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'blankProto' in 'MEM[(struct Rooted * *)cx_2(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src29.cpp:29: src/third_party/mozjs-45/extract/js/src/vm/GlobalObject.cpp: In function 'CreateBlankProto(JSContext*, js::Class const*, JS::Handle, JS::Handle) [clone .constprop.0]': src/third_party/mozjs-45/extract/js/src/vm/GlobalObject.cpp:481:24: note: 'blankProto' declared here 481 | RootedNativeObject blankProto(cx, NewNativeObjectWithGivenProto(cx, clasp, proto, | ^~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/GlobalObject.cpp:481:24: note: 'cx_2(D)' declared here In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/query_solution.h:36, from src/mongo/db/query/plan_executor.h:37, from src/mongo/db/clientcursor.h:38, from src/mongo/db/query/cursor_response.h:36, from build/fedora/mongo/s/query/async_results_merger_params_gen.h:23, from src/mongo/s/query/async_results_merger.h:40, from src/mongo/s/query/router_stage_merge.h:32, from src/mongo/s/query/router_stage_merge.cpp:33: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/executor/remote_command_request.h:34, from src/mongo/executor/task_executor.h:39, from src/mongo/s/query/router_stage_merge.h:31: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36, from src/mongo/db/query/plan_cache.h:35, from src/mongo/db/query/query_solution.h:38: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'InitBareBuiltinCtor(JSContext*, JS::Handle, JSProtoKey)' at src/third_party/mozjs-45/extract/js/src/vm/GlobalObject.cpp:372:76: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'ctor' in 'MEM[(struct Rooted * *)cx_69(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/GlobalObject.cpp: In function 'InitBareBuiltinCtor(JSContext*, JS::Handle, JSProtoKey)': src/third_party/mozjs-45/extract/js/src/vm/GlobalObject.cpp:372:18: note: 'ctor' declared here 372 | RootedObject ctor(cx, clasp->spec.createConstructorHook()(cx, protoKey)); | ^~~~ src/third_party/mozjs-45/extract/js/src/vm/GlobalObject.cpp:372:18: note: 'cx_69(D)' declared here 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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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 In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::ClonedBlockObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::GlobalObject::createInternal(JSContext*, js::Class const*)' at src/third_party/mozjs-45/extract/js/src/vm/GlobalObject.cpp:258:87: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'lexical' in 'MEM[(struct Rooted * *)cx_79(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/GlobalObject.cpp: In function 'js::GlobalObject::createInternal(JSContext*, js::Class const*)': src/third_party/mozjs-45/extract/js/src/vm/GlobalObject.cpp:258:32: note: 'lexical' declared here 258 | Rooted lexical(cx, ClonedBlockObject::createGlobal(cx, global)); | ^~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/GlobalObject.cpp:258:32: note: 'cx_79(D)' declared here 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: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::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 member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::NativeObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::GlobalObject::addIntrinsicValue(JSContext*, JS::Handle, JS::Handle, JS::Handle)' at src/third_party/mozjs-45/extract/js/src/vm/GlobalObject.cpp:680:80: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'holder' in 'MEM[(struct Rooted * *)cx_124(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/GlobalObject.cpp: In function 'js::GlobalObject::addIntrinsicValue(JSContext*, JS::Handle, JS::Handle, JS::Handle)': src/third_party/mozjs-45/extract/js/src/vm/GlobalObject.cpp:680:24: note: 'holder' declared here 680 | RootedNativeObject holder(cx, GlobalObject::getIntrinsicsHolder(cx, global)); | ^~~~~~ src/third_party/mozjs-45/extract/js/src/vm/GlobalObject.cpp:680:24: note: 'cx_124(D)' declared here src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(js::ExclusiveContext* const&, js::Shape*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::EmptyShape::ensureInitialCustomShape(js::ExclusiveContext*, JS::Handle)bool' at src/third_party/mozjs-45/extract/js/src/vm/Shape-inl.h:113:17, inlined from 'js::ErrorObject::init(JSContext*, JS::Handle, JSExnType, js::ScopedJSFreePtr*, JS::Handle, JS::Handle, unsigned int, unsigned int, JS::Handle)' at src/third_party/mozjs-45/extract/js/src/vm/ErrorObject.cpp:47:59: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'shape' in 'MEM[(struct Rooted * *)cx_116(D) + 32B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/ErrorObject.cpp:19: src/third_party/mozjs-45/extract/js/src/vm/Shape-inl.h: In function 'js::ErrorObject::init(JSContext*, JS::Handle, JSExnType, js::ScopedJSFreePtr*, JS::Handle, JS::Handle, unsigned int, unsigned int, JS::Handle)': src/third_party/mozjs-45/extract/js/src/vm/Shape-inl.h:113:17: note: 'shape' declared here 113 | RootedShape shape(cx, ObjectSubclass::assignInitialShape(cx, obj)); | ^~~~~ src/third_party/mozjs-45/extract/js/src/vm/Shape-inl.h:113:17: note: 'cx_116(D)' declared here src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::GlobalObject::resolveConstructor(JSContext*, JS::Handle, JSProtoKey)' at src/third_party/mozjs-45/extract/js/src/vm/GlobalObject.cpp:166:71: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'ctor' in 'MEM[(struct Rooted * *)cx_255(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/GlobalObject.cpp: In function 'js::GlobalObject::resolveConstructor(JSContext*, JS::Handle, JSProtoKey)': src/third_party/mozjs-45/extract/js/src/vm/GlobalObject.cpp:166:18: note: 'ctor' declared here 166 | RootedObject ctor(cx, clasp->spec.createConstructorHook()(cx, key)); | ^~~~ src/third_party/mozjs-45/extract/js/src/vm/GlobalObject.cpp:166:18: note: 'cx_255(D)' declared here src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::GlobalObject::initLegacyGeneratorProto(JSContext*, JS::Handle)' at src/third_party/mozjs-45/extract/js/src/vm/GeneratorObject.cpp:282:77: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'proto' in 'MEM[(struct Rooted * *)cx_48(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src29.cpp:20: src/third_party/mozjs-45/extract/js/src/vm/GeneratorObject.cpp: In function 'js::GlobalObject::initLegacyGeneratorProto(JSContext*, JS::Handle)': src/third_party/mozjs-45/extract/js/src/vm/GeneratorObject.cpp:282:18: note: 'proto' declared here 282 | RootedObject proto(cx, NewSingletonObjectWithObjectPrototype(cx, global)); | ^~~~~ src/third_party/mozjs-45/extract/js/src/vm/GeneratorObject.cpp:282:18: note: 'cx_48(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::NativeObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::GlobalObject::initStarGenerators(JSContext*, JS::Handle)' at src/third_party/mozjs-45/extract/js/src/vm/GeneratorObject.cpp:298:90: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'iteratorProto' in 'MEM[(struct Rooted * *)cx_216(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/GeneratorObject.cpp: In function 'js::GlobalObject::initStarGenerators(JSContext*, JS::Handle)': src/third_party/mozjs-45/extract/js/src/vm/GeneratorObject.cpp:298:18: note: 'iteratorProto' declared here 298 | RootedObject iteratorProto(cx, GlobalObject::getOrCreateIteratorPrototype(cx, global)); | ^~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/GeneratorObject.cpp:298:18: note: 'cx_216(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::NativeObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::GlobalObject::createBlankPrototype(JSContext*, js::Class const*)' at src/third_party/mozjs-45/extract/js/src/vm/GlobalObject.cpp:493:64: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'objectProto' in 'MEM[(struct Rooted * *)cx_50(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/GlobalObject.cpp: In member function 'js::GlobalObject::createBlankPrototype(JSContext*, js::Class const*)': src/third_party/mozjs-45/extract/js/src/vm/GlobalObject.cpp:493:18: note: 'objectProto' declared here 493 | RootedObject objectProto(cx, getOrCreateObjectPrototype(cx)); | ^~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/GlobalObject.cpp:493:18: note: 'cx_50(D)' declared here g++ -o build/fedora/mongo/s/query/router_stage_mock.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/s/query/router_stage_mock.cpp In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call g++ -o build/fedora/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src8.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -Wno-non-virtual-dtor -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -include js-confdefs.h -Wno-invalid-offsetof -fPIE -DIMPL_MFBT -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=1 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora/third_party/mozjs-45/extract/js/src -Isrc/third_party/mozjs-45/extract/js/src -Ibuild/fedora/third_party/mozjs-45/extract/mfbt -Isrc/third_party/mozjs-45/extract/mfbt -Ibuild/fedora/third_party/mozjs-45/extract/intl/icu/source/common -Isrc/third_party/mozjs-45/extract/intl/icu/source/common -Ibuild/fedora/third_party/mozjs-45/include -Isrc/third_party/mozjs-45/include -Ibuild/fedora/third_party/mozjs-45/mongo_sources -Isrc/third_party/mozjs-45/mongo_sources -Ibuild/fedora/third_party/mozjs-45/platform/x86_64/linux/build -Isrc/third_party/mozjs-45/platform/x86_64/linux/build -Ibuild/fedora/third_party/mozjs-45/platform/x86_64/linux/include -Isrc/third_party/mozjs-45/platform/x86_64/linux/include src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src8.cpp ar rcsTD build/fedora/mongo/s/query/librouter_exec_stage.a build/fedora/mongo/s/query/document_source_router_adapter.o build/fedora/mongo/s/query/router_stage_limit.o build/fedora/mongo/s/query/router_stage_merge.o build/fedora/mongo/s/query/router_stage_mock.o build/fedora/mongo/s/query/router_stage_pipeline.o build/fedora/mongo/s/query/router_stage_remove_metadata_fields.o build/fedora/mongo/s/query/router_stage_skip.o build/fedora/mongo/s/query/router_stage_update_on_add_shard.o Skipping ranlib for thin archive build/fedora/mongo/s/query/librouter_exec_stage.a gcc -o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_mul.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -DUSE_COMPILER_F80_TYPE=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -Dlinux=1 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_mul.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C ar rcsTD build/fedora/mongo/executor/libtask_executor_pool.a build/fedora/mongo/executor/task_executor_pool.o Skipping ranlib for thin archive build/fedora/mongo/executor/libtask_executor_pool.a ar rcsTD build/fedora/mongo/db/repl/libmultiapplier.a build/fedora/mongo/db/repl/multiapplier.o Skipping ranlib for thin archive build/fedora/mongo/db/repl/libmultiapplier.a gcc -o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_next.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -DUSE_COMPILER_F80_TYPE=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -Dlinux=1 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_next.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C ar rcsTD build/fedora/mongo/db/libserver_parameters.a build/fedora/mongo/db/server_parameters.o Skipping ranlib for thin archive build/fedora/mongo/db/libserver_parameters.a g++ -o build/fedora/mongo/db/query/killcursors_request.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/query/killcursors_request.cpp In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/irregexp/RegExpEngine.h:34, from src/third_party/mozjs-45/extract/js/src/irregexp/RegExpAST.h:42, from src/third_party/mozjs-45/extract/js/src/irregexp/RegExpMacroAssembler.h:34, from src/third_party/mozjs-45/extract/js/src/irregexp/RegExpInterpreter.cpp:34, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src8.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1040:19: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 1040 | memcpy(&elements_[dstStart], src, count * sizeof(HeapSlot)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:22: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here 650 | class HeapSlot : public WriteBarrieredBase | ^~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1048:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 1048 | memcpy(&elements_[dstStart], src, count * sizeof(HeapSlot)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here 650 | class HeapSlot : public WriteBarrieredBase | ^~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1082:20: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 1082 | memmove(elements_ + dstStart, elements_ + srcStart, count * sizeof(HeapSlot)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here 650 | class HeapSlot : public WriteBarrieredBase | ^~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1094:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 1094 | memmove(elements_ + dstStart, elements_ + srcStart, count * sizeof(Value)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here 650 | class HeapSlot : public WriteBarrieredBase | ^~~~~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/query_solution.h:36, from src/mongo/db/query/plan_executor.h:37, from src/mongo/db/clientcursor.h:38, from src/mongo/db/query/killcursors_request.h:35, from src/mongo/db/query/killcursors_request.cpp:33: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/TraceableVector.h:12, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:14: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': src/third_party/mozjs-45/include/js/MemoryMetrics.h:40:34: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/gc/StoreBuffer.h:18, from src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:13: src/third_party/mozjs-45/include/js/MemoryMetrics.h:31:8: note: 'struct JS::TabSizes' declared here 31 | struct TabSizes | ^~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::ServoSizes]': src/third_party/mozjs-45/include/js/MemoryMetrics.h:71:36: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::ServoSizes'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/MemoryMetrics.h:59:8: note: 'struct JS::ServoSizes' declared here 59 | struct ServoSizes | ^~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JSSubString]': src/third_party/mozjs-45/extract/js/src/jsstr.h:73:37: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JSSubString'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/TraceLoggingTypes.h:11, from src/third_party/mozjs-45/extract/js/src/vm/TraceLoggingGraph.h:15, from src/third_party/mozjs-45/extract/js/src/vm/TraceLogging.h:19, from src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:22, from src/third_party/mozjs-45/extract/js/src/jsscript.h:24: src/third_party/mozjs-45/extract/js/src/jsstr.h:68:8: note: 'struct JSSubString' declared here 68 | struct JSSubString { | ^~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::PreliminaryObjectArray]': src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:808:25: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::PreliminaryObjectArray'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:23: src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:796:7: note: 'class js::PreliminaryObjectArray' declared here 796 | class PreliminaryObjectArray | ^~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::TypeNewScript]': src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:939:39: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::TypeNewScript' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:886:7: note: 'class js::TypeNewScript' declared here 886 | class TypeNewScript | ^~~~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:699:25: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:686:8: note: 'struct js::jit::IonScriptCounts' declared here 686 | struct IonScriptCounts | ^~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': src/third_party/mozjs-45/extract/js/src/vm/String.h:1092:25: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/Shape.h:32, from src/third_party/mozjs-45/extract/js/src/jsobj.h:27, from src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:16: src/third_party/mozjs-45/extract/js/src/vm/String.h:1074:7: note: 'class js::StaticStrings' declared here 1074 | class StaticStrings | ^~~~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': src/third_party/mozjs-45/extract/js/src/vm/Shape.h:392:25: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/Shape.h:323:7: note: 'class js::BaseShape' declared here 323 | class BaseShape : public gc::TenuredCell | ^~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:293:40: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:244:7: note: 'class js::NewObjectCache' declared here 244 | class NewObjectCache | ^~~~~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::Address]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:290:33: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::Address'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/Safepoints.h:12, from src/third_party/mozjs-45/extract/js/src/jit/JitFrames.h:16, from src/third_party/mozjs-45/extract/js/src/jit/x64/MacroAssembler-x64.h:10, from src/third_party/mozjs-45/extract/js/src/jit/MacroAssembler.h:18, from src/third_party/mozjs-45/extract/js/src/irregexp/RegExpMacroAssembler.h:36: src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:282:8: note: 'struct js::jit::Address' declared here 282 | struct Address | ^~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::BaseIndex]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:306:35: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::BaseIndex'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:295:8: note: 'struct js::jit::BaseIndex' declared here 295 | struct BaseIndex | ^~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::CodeOffsetJump]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:513:25: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::jit::CodeOffsetJump'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:491:7: note: 'class js::jit::CodeOffsetJump' declared here 491 | class CodeOffsetJump | ^~~~~~~~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/bson/bsonobj.h:44, from src/mongo/db/query/killcursors_request.h:34: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/third_party/mozjs-45/include/js/TracingAPI.h:12, from src/third_party/mozjs-45/include/js/TraceableVector.h:13: src/third_party/mozjs-45/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': src/third_party/mozjs-45/include/js/HashTable.h:186:67: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' src/third_party/mozjs-45/extract/js/src/vm/SPSProfiler.h:256:18: required from here src/third_party/mozjs-45/include/js/HashTable.h:1550:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] 1550 | memset(table, 0, sizeof(*table) * capacity()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/HashTable.h:722:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here 722 | class HashTableEntry | ^~~~~~~~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36, from src/mongo/db/query/plan_cache.h:35, from src/mongo/db/query/query_solution.h:38: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call In file included from /usr/include/string.h:535, from /usr/include/c++/12/cstring:42, from src/mongo/base/string_data.h:33, from build/fedora/mongo/base/error_codes.h:35, from src/mongo/base/status.h:33, from src/mongo/base/status_with.h:36, from src/mongo/db/query/killcursors_request.h:33: In function 'memcpy', inlined from 'mongo::StringData::copyTo(char*, bool) const' at src/mongo/base/string_data.h:266:15, inlined from 'mongo::StringBuilderImpl::append(mongo::StringData)' at src/mongo/bson/util/builder.h:484:19, inlined from 'mongo::StringBuilderImpl::operator<<(mongo::StringData)' at src/mongo/bson/util/builder.h:441:15, inlined from 'mongo::StringBuilderImpl::operator<<(char const*)' at src/mongo/bson/util/builder.h:438:22, inlined from 'mongoutils::str::stream::operator<< (char const (&) [12])mongoutils::str::stream&' at src/mongo/util/mongoutils/str.h:66:12, inlined from 'mongo::KillCursorsRequest::parseFromBSON(std::__cxx11::basic_string, std::allocator > const&, mongo::BSONObj const&)' at src/mongo/db/query/killcursors_request.cpp:52:66: /usr/include/bits/string_fortified.h:29:33: warning: 'memcpy' offset [0, 10] is out of the bounds [0, 0] [-Warray-bounds] 29 | return __builtin___memcpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 30 | __glibc_objsize0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -o build/fedora/mongo/db/query/cursor_response.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/query/cursor_response.cpp g++ -o build/fedora/mongo/db/query/cursor_request.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/query/cursor_request.cpp g++ -o build/fedora/mongo/db/query/query_settings.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/query/query_settings.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/query_solution.h:36, from src/mongo/db/query/plan_executor.h:37, from src/mongo/db/clientcursor.h:38, from src/mongo/db/query/cursor_response.h:36, from src/mongo/db/query/cursor_response.cpp:33: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/bson/bsonobj.h:44, from src/mongo/db/query/cursor_response.h:35: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36, from src/mongo/db/query/plan_cache.h:35, from src/mongo/db/query/query_solution.h:38: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/query_settings.h:37, from src/mongo/db/query/query_settings.cpp:29: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/bson/bsonobj.h:44, from src/mongo/db/query/query_settings.h:35: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call ar rcsTD build/fedora/mongo/db/query/libcommand_request_response.a build/fedora/mongo/db/query/count_request.o build/fedora/mongo/db/query/cursor_request.o build/fedora/mongo/db/query/cursor_response.o build/fedora/mongo/db/query/find_and_modify_request.o build/fedora/mongo/db/query/getmore_request.o build/fedora/mongo/db/query/killcursors_request.o build/fedora/mongo/db/query/killcursors_response.o build/fedora/mongo/db/query/view_response_formatter.o Skipping ranlib for thin archive build/fedora/mongo/db/query/libcommand_request_response.a gcc -o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_frexp.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -DUSE_COMPILER_F80_TYPE=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -Dlinux=1 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_frexp.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C g++ -o build/fedora/third_party/icu4c-57.1/source/i18n/compactdecimalformat.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/compactdecimalformat.cpp g++ -o build/fedora/third_party/icu4c-57.1/source/i18n/quant.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/quant.cpp g++ -o build/fedora/mongo/db/s/sharded_connection_info.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/s/sharded_connection_info.cpp g++ -o build/fedora/mongo/db/s/operation_sharding_state.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/s/operation_sharding_state.cpp In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/bson/timestamp.h:31, from src/mongo/db/repl/optime.h:33, from src/mongo/db/namespace_string.h:38, from src/mongo/db/s/operation_sharding_state.h:34, from src/mongo/db/s/operation_sharding_state.cpp:31: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ChunkVersion, mongo::StringMapTraits>': src/mongo/db/s/operation_sharding_state.h:184:29: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ChunkVersion; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ChunkVersion; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ChunkVersion; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ChunkVersion; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::DatabaseVersion, mongo::StringMapTraits>': src/mongo/db/s/operation_sharding_state.h:185:32: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::DatabaseVersion; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::DatabaseVersion; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::DatabaseVersion; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::DatabaseVersion; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/mongo/db/storage/storage_init.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/storage/storage_init.cpp ar rcsTD build/fedora/mongo/db/s/libsharding_api_d.a build/fedora/mongo/db/s/collection_metadata.o build/fedora/mongo/db/s/collection_sharding_state.o build/fedora/mongo/db/s/database_sharding_state.o build/fedora/mongo/db/s/operation_sharding_state.o build/fedora/mongo/db/s/sharded_connection_info.o build/fedora/mongo/db/s/sharding_migration_critical_section.o build/fedora/mongo/db/s/sharding_state.o Skipping ranlib for thin archive build/fedora/mongo/db/s/libsharding_api_d.a ar rcsTD build/fedora/mongo/db/libstartup_warnings_mongod.a build/fedora/mongo/db/startup_warnings_mongod.o Skipping ranlib for thin archive build/fedora/mongo/db/libstartup_warnings_mongod.a g++ -o build/fedora/mongo/client/remote_command_retry_scheduler.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/client/remote_command_retry_scheduler.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/db/commands/server_status.h:33, from src/mongo/db/storage/storage_init.cpp:34: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/bson/timestamp.h:31, from src/mongo/db/repl/optime.h:33, from src/mongo/db/namespace_string.h:38, from src/mongo/db/client.h:43, from src/mongo/db/storage/storage_init.cpp:33: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ ar rcsTD build/fedora/mongo/client/libremote_command_retry_scheduler.a build/fedora/mongo/client/remote_command_retry_scheduler.o Skipping ranlib for thin archive build/fedora/mongo/client/libremote_command_retry_scheduler.a g++ -o build/fedora/mongo/db/pipeline/sequential_document_cache.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/pipeline/sequential_document_cache.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/sequential_document_cache.h:35, from src/mongo/db/pipeline/sequential_document_cache.cpp:31: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call g++ -o build/fedora/third_party/icu4c-57.1/source/i18n/uspoof_impl.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/uspoof_impl.cpp src/third_party/icu4c-57.1/source/i18n/uspoof_impl.cpp: In function 'int32_t uspoof_swap(const UDataSwapper*, const void*, int32_t, void*, UErrorCode*)': src/third_party/icu4c-57.1/source/i18n/uspoof_impl.cpp:859:34: warning: comparison between two arrays [-Warray-compare] 859 | if (outputDH->fFormatVersion != spoofDH->fFormatVersion) { | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/icu4c-57.1/source/i18n/uspoof_impl.cpp:859:34: note: use unary '+' which decays operands to pointers or '&'component_ref' not supported by dump_decl[0] != &'component_ref' not supported by dump_decl[0]' to compare the addresses gcc -o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid_decimal_data.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -DUSE_COMPILER_F80_TYPE=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -Dlinux=1 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid_decimal_data.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C g++ -o build/fedora/third_party/icu4c-57.1/source/common/ucln_cmn.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/ucln_cmn.cpp g++ -o build/fedora/mongo/db/pipeline/document_path_support.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/pipeline/document_path_support.cpp ar rcsTD build/fedora/mongo/db/storage/libstorage_init_d.a build/fedora/mongo/db/storage/storage_init.o Skipping ranlib for thin archive build/fedora/mongo/db/storage/libstorage_init_d.a g++ -o build/fedora/third_party/icu4c-57.1/source/common/rbbirb.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/rbbirb.cpp g++ -o build/fedora/third_party/icu4c-57.1/source/i18n/collationfastlatin.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/collationfastlatin.cpp ar rcsTD build/fedora/mongo/db/auth/libuser.a build/fedora/mongo/db/auth/user.o Skipping ranlib for thin archive build/fedora/mongo/db/auth/libuser.a g++ -o build/fedora/third_party/icu4c-57.1/source/i18n/currunit.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/currunit.cpp ar rcsTD build/fedora/mongo/db/repl/libabstract_async_component.a build/fedora/mongo/db/repl/abstract_async_component.o Skipping ranlib for thin archive build/fedora/mongo/db/repl/libabstract_async_component.a g++ -o build/fedora/third_party/s2/s2regioncoverer.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -DDEBUG_MODE=false -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/third_party/s2/s2regioncoverer.cc In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/document_path_support.h:33, from src/mongo/db/pipeline/document_path_support.cpp:33: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/bson/bsonmisc.h:32, from src/mongo/db/pipeline/value_internal.h:35: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/mongo/db/query/collation/collator_interface.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/query/collation/collator_interface.cpp ar rcsTD build/fedora/mongo/util/libicu_init.a build/fedora/mongo/util/icu_init.o Skipping ranlib for thin archive build/fedora/mongo/util/libicu_init.a ar rcsTD build/fedora/mongo/db/librepair_database_and_check_version.a build/fedora/mongo/db/repair_database_and_check_version.o Skipping ranlib for thin archive build/fedora/mongo/db/librepair_database_and_check_version.a ar rcsTD build/fedora/mongo/db/libglobal_settings.a build/fedora/mongo/db/global_settings.o Skipping ranlib for thin archive build/fedora/mongo/db/libglobal_settings.a g++ -o build/fedora/third_party/icu4c-57.1/source/i18n/csrsbcs.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/csrsbcs.cpp gcc -o build/fedora/third_party/icu4c-57.1/source/common/ubidiln.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/ubidiln.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C g++ -o build/fedora/mongo/db/pipeline/document.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/pipeline/document.cpp g++ -o build/fedora/mongo/db/fts/fts_language.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/fts/fts_language.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/document.cpp:31: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ g++ -o build/fedora/mongo/db/fts/fts_spec_legacy.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/fts/fts_spec_legacy.cpp g++ -o build/fedora/mongo/db/fts/fts_basic_tokenizer.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/fts/fts_basic_tokenizer.cpp In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/db/fts/fts_util.h:35, from src/mongo/db/fts/fts_language.h:37, from src/mongo/db/fts/fts_spec.h:36, from src/mongo/db/fts/fts_spec_legacy.cpp:29: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, bool, mongo::StringMapTraits>': src/mongo/db/fts/stop_words.h:62:21: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = bool; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = bool; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = bool; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = bool; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::fts::ScoreHelperStruct, mongo::StringMapTraits>': src/mongo/db/fts/fts_spec_legacy.cpp:74:20: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::fts::ScoreHelperStruct; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::fts::ScoreHelperStruct; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::fts::ScoreHelperStruct; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::fts::ScoreHelperStruct; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/db/fts/fts_util.h:35, from src/mongo/db/fts/fts_language.h:37, from src/mongo/db/fts/stemmer.h:35, from src/mongo/db/fts/fts_basic_tokenizer.h:34, from src/mongo/db/fts/fts_basic_tokenizer.cpp:31: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, bool, mongo::StringMapTraits>': src/mongo/db/fts/stop_words.h:62:21: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = bool; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = bool; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = bool; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = bool; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ gcc -o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_fmod.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -DUSE_COMPILER_F80_TYPE=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -Dlinux=1 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_fmod.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C g++ -o build/fedora/mongo/db/query/planner_analysis.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/query/planner_analysis.cpp ar rcsTD build/fedora/mongo/db/fts/libbase_fts.a build/fedora/mongo/db/fts/fts_index_format.o build/fedora/mongo/db/fts/fts_matcher.o build/fedora/mongo/db/fts/fts_query_impl.o build/fedora/mongo/db/fts/fts_query_parser.o build/fedora/mongo/db/fts/fts_spec.o build/fedora/mongo/db/fts/fts_spec_legacy.o build/fedora/mongo/db/fts/fts_language.o build/fedora/mongo/db/fts/fts_basic_phrase_matcher.o build/fedora/mongo/db/fts/fts_basic_tokenizer.o build/fedora/mongo/db/fts/fts_unicode_phrase_matcher.o build/fedora/mongo/db/fts/fts_unicode_tokenizer.o build/fedora/mongo/db/fts/fts_util.o build/fedora/mongo/db/fts/fts_element_iterator.o build/fedora/mongo/db/fts/stemmer.o build/fedora/mongo/db/fts/stop_words.o build/fedora/mongo/db/fts/stop_words_list.o build/fedora/mongo/db/fts/tokenizer.o Skipping ranlib for thin archive build/fedora/mongo/db/fts/libbase_fts.a gcc -o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_logbd.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -DUSE_COMPILER_F80_TYPE=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -Dlinux=1 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_logbd.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/planner_analysis.h:31, from src/mongo/db/query/planner_analysis.cpp:31: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ gcc -o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_log10.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -DUSE_COMPILER_F80_TYPE=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -Dlinux=1 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_log10.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/bson_validate.h:35, from src/mongo/db/dbmessage.h:34, from src/mongo/db/query/canonical_query.h:33: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/mongo/db/session.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/session.cpp src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/db/curop.h:35, from src/mongo/db/single_transaction_stats.h:31, from src/mongo/db/session.h:42, from src/mongo/db/session.cpp:33: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/bson/timestamp.h:31, from src/mongo/db/session.h:34: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, unsigned int, mongo::StringMapTraits>': src/mongo/db/op_observer.h:310:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long unsigned int, mongo::StringMapTraits>': src/mongo/db/views/view_graph.h:177:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/db/views/view_catalog.h:174:13: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Collection*, mongo::StringMapTraits>': src/mongo/db/catalog/database.h:165:38: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Top::CollectionData, mongo::StringMapTraits>': src/mongo/db/stats/top.h:150:14: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, int, mongo::StringMapTraits>': src/mongo/db/session.cpp:92:22: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call g++ -o build/fedora/mongo/db/update_index_data.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/update_index_data.cpp gcc -o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_noncomp.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -DUSE_COMPILER_F80_TYPE=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -Dlinux=1 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_noncomp.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C g++ -o build/fedora/third_party/s2/s2regionintersection.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -DDEBUG_MODE=false -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/third_party/s2/s2regionintersection.cc g++ -o build/fedora/third_party/icu4c-57.1/source/i18n/fphdlimp.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/fphdlimp.cpp g++ -o build/fedora/mongo/rpc/metadata/oplog_query_metadata.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/rpc/metadata/oplog_query_metadata.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/bson/util/bson_check.h:33, from src/mongo/rpc/metadata/oplog_query_metadata.cpp:31: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/oid.h:34, from src/mongo/rpc/metadata/oplog_query_metadata.h:31, from src/mongo/rpc/metadata/oplog_query_metadata.cpp:29: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, bool, mongo::StringMapTraits>': src/mongo/bson/util/bson_check.h:62:43: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = bool; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = bool; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = bool; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = bool; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/mongo/rpc/metadata.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/rpc/metadata.cpp In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/rpc/op_msg.h:36, from src/mongo/rpc/metadata.h:34, from src/mongo/rpc/metadata.cpp:31: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/rpc/metadata.cpp:136:1: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/mongo/rpc/metadata/config_server_metadata.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/rpc/metadata/config_server_metadata.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/bson/util/bson_check.h:33, from src/mongo/rpc/metadata/config_server_metadata.cpp:33: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/bson/timestamp.h:31, from src/mongo/db/repl/optime.h:33, from src/mongo/db/namespace_string.h:38, from src/mongo/db/client.h:43, from src/mongo/db/operation_context.h:36, from src/mongo/rpc/metadata/config_server_metadata.h:31, from src/mongo/rpc/metadata/config_server_metadata.cpp:31: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/third_party/icu4c-57.1/source/i18n/usearch.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/usearch.cpp In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call g++ -o build/fedora/mongo/db/keypattern.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/keypattern.cpp 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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, bool, mongo::StringMapTraits>': src/mongo/bson/util/bson_check.h:62:43: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = bool; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = bool; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = bool; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = bool; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/mongo/transport/service_executor_synchronous.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/asio-master/asio/include -Ibuild/fedora -Isrc src/mongo/transport/service_executor_synchronous.cpp In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call ar rcsTD build/fedora/mongo/rpc/libmetadata.a build/fedora/mongo/rpc/metadata.o build/fedora/mongo/rpc/metadata/config_server_metadata.o build/fedora/mongo/rpc/metadata/egress_metadata_hook_list.o build/fedora/mongo/rpc/metadata/logical_time_metadata.o build/fedora/mongo/rpc/metadata/sharding_metadata.o build/fedora/mongo/rpc/metadata/repl_set_metadata.o build/fedora/mongo/rpc/metadata/oplog_query_metadata.o build/fedora/mongo/rpc/metadata/tracking_metadata.o Skipping ranlib for thin archive build/fedora/mongo/rpc/libmetadata.a ar rcsTD build/fedora/mongo/db/libsystem_index.a build/fedora/mongo/db/system_index.o Skipping ranlib for thin archive build/fedora/mongo/db/libsystem_index.a g++ -o build/fedora/mongo/db/cloner.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/cloner.cpp /usr/bin/python3 src/mongo/base/generate_error_codes.py src/mongo/base/error_codes.err src/mongo/shell/error_codes.tpl.js=build/fedora/mongo/shell/error_codes.js /usr/bin/python3 site_scons/site_tools/jstoh.py build/fedora/mongo/shell/mongo.cpp src/mongo/shell/assert.js src/mongo/shell/bulk_api.js src/mongo/shell/collection.js src/mongo/shell/crud_api.js src/mongo/shell/db.js build/fedora/mongo/shell/error_codes.js src/mongo/shell/explainable.js src/mongo/shell/explain_query.js src/mongo/shell/mongo.js src/mongo/shell/mr.js src/mongo/shell/query.js src/mongo/shell/session.js src/mongo/shell/types.js src/mongo/shell/utils_auth.js src/mongo/shell/utils.js src/mongo/shell/utils_sh.js g++ -o build/fedora/mongo/shell/mongo.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc build/fedora/mongo/shell/mongo.cpp In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/client/connection_string.h:38, from src/mongo/client/dbclientinterface.h:34, from src/mongo/db/cloner.h:37, from src/mongo/db/cloner.cpp:33: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/plan_cache.h:35, from src/mongo/db/catalog/collection_info_cache.h:33, from src/mongo/db/catalog/collection.h:41, from src/mongo/db/cloner.cpp:43: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ ar rcsTD build/fedora/mongo/shell/libmongojs.a build/fedora/mongo/shell/mongo.o Skipping ranlib for thin archive build/fedora/mongo/shell/libmongojs.a g++ -o build/fedora/third_party/icu4c-57.1/source/i18n/dangical.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/dangical.cpp ar rcsTD build/fedora/mongo/executor/libconnection_pool_stats.a build/fedora/mongo/executor/connection_pool_stats.o Skipping ranlib for thin archive build/fedora/mongo/executor/libconnection_pool_stats.a gcc -o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_exp2.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -DUSE_COMPILER_F80_TYPE=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -Dlinux=1 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_exp2.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C gcc -o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_lround.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -DUSE_COMPILER_F80_TYPE=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -Dlinux=1 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_lround.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C g++ -o build/fedora/mongo/db/repl/replication_coordinator_impl_elect_v1.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/repl/replication_coordinator_impl_elect_v1.cpp src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, unsigned int, mongo::StringMapTraits>': src/mongo/db/op_observer.h:310:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long unsigned int, mongo::StringMapTraits>': src/mongo/db/views/view_graph.h:177:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/db/views/view_catalog.h:174:13: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Collection*, mongo::StringMapTraits>': src/mongo/db/catalog/database.h:165:38: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/query_solution.h:36, from src/mongo/db/query/plan_executor.h:37, from src/mongo/db/clientcursor.h:38, from src/mongo/client/fetcher.h:41, from src/mongo/db/repl/collection_cloner.h:39, from src/mongo/db/repl/initial_syncer.h:42, from src/mongo/db/repl/replication_coordinator_impl.h:38, from src/mongo/db/repl/replication_coordinator_impl_elect_v1.cpp:36: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/bson/timestamp.h:31, from src/mongo/db/repl/replication_coordinator_impl.h:36: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36, from src/mongo/db/query/plan_cache.h:35, from src/mongo/db/query/query_solution.h:38: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, unsigned int, mongo::StringMapTraits>': src/mongo/db/op_observer.h:310:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::repl::ReplSetTagPattern, mongo::StringMapTraits>': src/mongo/db/repl/repl_set_config.h:402:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::repl::ReplSetTagPattern; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::repl::ReplSetTagPattern; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::repl::ReplSetTagPattern; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::repl::ReplSetTagPattern; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call g++ -o build/fedora/mongo/db/transaction_history_iterator.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/transaction_history_iterator.cpp ar rcsTD build/fedora/mongo/db/libcloner.a build/fedora/mongo/db/cloner.o Skipping ranlib for thin archive build/fedora/mongo/db/libcloner.a g++ -o build/fedora/mongo/db/query/plan_cache.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/query/plan_cache.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/plan_cache.h:35, from src/mongo/db/query/plan_cache.cpp:33: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/db/exec/plan_stats.h:38, from src/mongo/db/query/plan_cache.h:34: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ gcc -o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_erfc.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -DUSE_COMPILER_F80_TYPE=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -Dlinux=1 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_erfc.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C g++ -o build/fedora/third_party/icu4c-57.1/source/i18n/alphaindex.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/alphaindex.cpp src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/query/plan_cache.cpp:42: src/mongo/db/matcher/expression_array.h: In member function 'virtual std::unique_ptr mongo::ElemMatchObjectMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_array.h:85:25: warning: redundant move in return statement [-Wredundant-move] 85 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_array.h:85:25: note: remove 'std::move' call src/mongo/db/matcher/expression_array.h: In member function 'virtual std::unique_ptr mongo::ElemMatchValueMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_array.h:140:25: warning: redundant move in return statement [-Wredundant-move] 140 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_array.h:140:25: note: remove 'std::move' call src/mongo/db/matcher/expression_array.h: In member function 'virtual std::unique_ptr mongo::SizeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_array.h:177:25: warning: redundant move in return statement [-Wredundant-move] 177 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_array.h:177:25: note: remove 'std::move' call ar rcsTD build/fedora/mongo/db/libwrite_concern_options.a build/fedora/mongo/db/write_concern_options.o Skipping ranlib for thin archive build/fedora/mongo/db/libwrite_concern_options.a g++ -o build/fedora/mongo/db/command_can_run_here.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/command_can_run_here.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/db/command_can_run_here.h:33, from src/mongo/db/command_can_run_here.cpp:31: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/bson/mutable/element.h:34, from src/mongo/db/auth/privilege.h:32, from src/mongo/db/commands.h:39: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call ar rcsTD build/fedora/mongo/db/libcommand_can_run_here.a build/fedora/mongo/db/command_can_run_here.o Skipping ranlib for thin archive build/fedora/mongo/db/libcommand_can_run_here.a g++ -o build/fedora/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src30.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -Wno-non-virtual-dtor -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -include js-confdefs.h -Wno-invalid-offsetof -fPIE -DIMPL_MFBT -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=1 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora/third_party/mozjs-45/extract/js/src -Isrc/third_party/mozjs-45/extract/js/src -Ibuild/fedora/third_party/mozjs-45/extract/mfbt -Isrc/third_party/mozjs-45/extract/mfbt -Ibuild/fedora/third_party/mozjs-45/extract/intl/icu/source/common -Isrc/third_party/mozjs-45/extract/intl/icu/source/common -Ibuild/fedora/third_party/mozjs-45/include -Isrc/third_party/mozjs-45/include -Ibuild/fedora/third_party/mozjs-45/mongo_sources -Isrc/third_party/mozjs-45/mongo_sources -Ibuild/fedora/third_party/mozjs-45/platform/x86_64/linux/build -Isrc/third_party/mozjs-45/platform/x86_64/linux/build -Ibuild/fedora/third_party/mozjs-45/platform/x86_64/linux/include -Isrc/third_party/mozjs-45/platform/x86_64/linux/include src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src30.cpp In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jsiter.h:16, from src/third_party/mozjs-45/extract/js/src/vm/Interpreter.h:14, from src/third_party/mozjs-45/extract/js/src/vm/Interpreter-inl.h:10, from src/third_party/mozjs-45/extract/js/src/vm/Interpreter.cpp:11, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src30.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1040:19: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 1040 | memcpy(&elements_[dstStart], src, count * sizeof(HeapSlot)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:22: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here 650 | class HeapSlot : public WriteBarrieredBase | ^~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1048:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 1048 | memcpy(&elements_[dstStart], src, count * sizeof(HeapSlot)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here 650 | class HeapSlot : public WriteBarrieredBase | ^~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1082:20: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 1082 | memmove(elements_ + dstStart, elements_ + srcStart, count * sizeof(HeapSlot)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here 650 | class HeapSlot : public WriteBarrieredBase | ^~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1094:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 1094 | memmove(elements_ + dstStart, elements_ + srcStart, count * sizeof(Value)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here 650 | class HeapSlot : public WriteBarrieredBase | ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/Interpreter-inl.h:20: src/third_party/mozjs-45/extract/js/src/jsobjinlines.h: In static member function 'static JSObject* JSObject::create(js::ExclusiveContext*, js::gc::AllocKind, js::gc::InitialHeap, js::HandleShape, js::HandleObjectGroup)': src/third_party/mozjs-45/extract/js/src/jsobjinlines.h:355:15: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::HeapSlot'; use assignment instead [-Wclass-memaccess] 355 | memset(obj->as().fixedSlots(), 0, size - sizeof(js::NativeObject)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here 650 | class HeapSlot : public WriteBarrieredBase | ^~~~~~~~ gcc -o build/fedora/third_party/icu4c-57.1/source/common/ucnv_lmb.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/ucnv_lmb.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C g++ -o build/fedora/mongo/db/update/current_date_node.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/update/current_date_node.cpp In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/TraceableVector.h:12, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:14: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': src/third_party/mozjs-45/include/js/MemoryMetrics.h:40:34: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/gc/StoreBuffer.h:18, from src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:13: src/third_party/mozjs-45/include/js/MemoryMetrics.h:31:8: note: 'struct JS::TabSizes' declared here 31 | struct TabSizes | ^~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::ServoSizes]': src/third_party/mozjs-45/include/js/MemoryMetrics.h:71:36: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::ServoSizes'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/MemoryMetrics.h:59:8: note: 'struct JS::ServoSizes' declared here 59 | struct ServoSizes | ^~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JSSubString]': src/third_party/mozjs-45/extract/js/src/jsstr.h:73:37: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JSSubString'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/TraceLoggingTypes.h:11, from src/third_party/mozjs-45/extract/js/src/vm/TraceLoggingGraph.h:15, from src/third_party/mozjs-45/extract/js/src/vm/TraceLogging.h:19, from src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:22, from src/third_party/mozjs-45/extract/js/src/jsscript.h:24: src/third_party/mozjs-45/extract/js/src/jsstr.h:68:8: note: 'struct JSSubString' declared here 68 | struct JSSubString { | ^~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::PreliminaryObjectArray]': src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:808:25: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::PreliminaryObjectArray'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:23: src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:796:7: note: 'class js::PreliminaryObjectArray' declared here 796 | class PreliminaryObjectArray | ^~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::TypeNewScript]': src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:939:39: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::TypeNewScript' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:886:7: note: 'class js::TypeNewScript' declared here 886 | class TypeNewScript | ^~~~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:699:25: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:686:8: note: 'struct js::jit::IonScriptCounts' declared here 686 | struct IonScriptCounts | ^~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': src/third_party/mozjs-45/extract/js/src/vm/String.h:1092:25: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/Shape.h:32, from src/third_party/mozjs-45/extract/js/src/jsobj.h:27, from src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:16: src/third_party/mozjs-45/extract/js/src/vm/String.h:1074:7: note: 'class js::StaticStrings' declared here 1074 | class StaticStrings | ^~~~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': src/third_party/mozjs-45/extract/js/src/vm/Shape.h:392:25: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/Shape.h:323:7: note: 'class js::BaseShape' declared here 323 | class BaseShape : public gc::TenuredCell | ^~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:293:40: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:244:7: note: 'class js::NewObjectCache' declared here 244 | class NewObjectCache | ^~~~~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::Address]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:290:33: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::Address'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/Safepoints.h:12, from src/third_party/mozjs-45/extract/js/src/jit/JitFrames.h:16, from src/third_party/mozjs-45/extract/js/src/jscntxtinlines.h:16, from src/third_party/mozjs-45/extract/js/src/jscompartmentinlines.h:14, from src/third_party/mozjs-45/extract/js/src/jsobjinlines.h:29: src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:282:8: note: 'struct js::jit::Address' declared here 282 | struct Address | ^~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::BaseIndex]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:306:35: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::BaseIndex'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:295:8: note: 'struct js::jit::BaseIndex' declared here 295 | struct BaseIndex | ^~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::CodeOffsetJump]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:513:25: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::jit::CodeOffsetJump'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:491:7: note: 'class js::jit::CodeOffsetJump' declared here 491 | class CodeOffsetJump | ^~~~~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodCopy(T*, const T*, size_t) [with T = js::HeapSlot; size_t = long unsigned int]': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.cpp:806:16: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:110:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 110 | memcpy(aDst, aSrc, aNElem * sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here 650 | class HeapSlot : public WriteBarrieredBase | ^~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ObjectGroup]': src/third_party/mozjs-45/extract/js/src/vm/ObjectGroup.cpp:34:12: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::ObjectGroup' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/Shape.h:31: src/third_party/mozjs-45/extract/js/src/vm/ObjectGroup.h:78:7: note: 'class js::ObjectGroup' declared here 78 | class ObjectGroup : public gc::TenuredCell | ^~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ObjectGroupCompartment]': src/third_party/mozjs-45/extract/js/src/vm/ObjectGroup.cpp:1608:12: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::ObjectGroupCompartment'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/ObjectGroup.h:537:7: note: 'class js::ObjectGroupCompartment' declared here 537 | class ObjectGroupCompartment | ^~~~~~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/include/js/TracingAPI.h:12, from src/third_party/mozjs-45/include/js/TraceableVector.h:13: src/third_party/mozjs-45/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': src/third_party/mozjs-45/include/js/HashTable.h:186:67: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' src/third_party/mozjs-45/extract/js/src/vm/SPSProfiler.h:256:18: required from here src/third_party/mozjs-45/include/js/HashTable.h:1550:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] 1550 | memset(table, 0, sizeof(*table) * capacity()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/HashTable.h:722:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here 722 | class HashTableEntry | ^~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry >; HashPolicy = js::HashMap, js::ObjectGroupCompartment::AllocationSiteKey, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': src/third_party/mozjs-45/include/js/HashTable.h:186:67: required from 'void js::HashMap::clear() [with Key = js::ObjectGroupCompartment::AllocationSiteKey; Value = js::ReadBarriered; HashPolicy = js::ObjectGroupCompartment::AllocationSiteKey; AllocPolicy = js::SystemAllocPolicy]' src/third_party/mozjs-45/extract/js/src/vm/ObjectGroup.cpp:1701:35: required from here src/third_party/mozjs-45/include/js/HashTable.h:1550:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable >, js::HashMap, js::ObjectGroupCompartment::AllocationSiteKey, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry > >'} with no trivial copy-assignment [-Wclass-memaccess] 1550 | memset(table, 0, sizeof(*table) * capacity()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/HashTable.h:722:7: note: 'js::detail::HashTable >, js::HashMap, js::ObjectGroupCompartment::AllocationSiteKey, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry > >'} declared here 722 | class HashTableEntry | ^~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry >; HashPolicy = js::HashMap, js::ObjectGroupCompartment::ArrayObjectKey, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': src/third_party/mozjs-45/include/js/HashTable.h:186:67: required from 'void js::HashMap::clear() [with Key = js::ObjectGroupCompartment::ArrayObjectKey; Value = js::ReadBarriered; HashPolicy = js::ObjectGroupCompartment::ArrayObjectKey; AllocPolicy = js::SystemAllocPolicy]' src/third_party/mozjs-45/extract/js/src/vm/ObjectGroup.cpp:1703:32: required from here src/third_party/mozjs-45/include/js/HashTable.h:1550:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable >, js::HashMap, js::ObjectGroupCompartment::ArrayObjectKey, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry > >'} with no trivial copy-assignment [-Wclass-memaccess] 1550 | memset(table, 0, sizeof(*table) * capacity()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/HashTable.h:722:7: note: 'js::detail::HashTable >, js::HashMap, js::ObjectGroupCompartment::ArrayObjectKey, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry > >'} declared here 722 | class HashTableEntry | ^~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': src/third_party/mozjs-45/include/js/HashTable.h:186:67: required from 'void js::HashMap::clear() [with Key = js::ObjectGroupCompartment::PlainObjectKey; Value = js::ObjectGroupCompartment::PlainObjectEntry; HashPolicy = js::ObjectGroupCompartment::PlainObjectKey; AllocPolicy = js::SystemAllocPolicy]' src/third_party/mozjs-45/extract/js/src/vm/ObjectGroup.cpp:1711:32: required from here src/third_party/mozjs-45/include/js/HashTable.h:1550:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] 1550 | memset(table, 0, sizeof(*table) * capacity()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/HashTable.h:722:7: note: 'js::detail::HashTable, js::HashMap::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here 722 | class HashTableEntry | ^~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = const js::ObjectGroupCompartment::NewEntry; HashPolicy = js::HashSet::SetOps; AllocPolicy = js::SystemAllocPolicy]': src/third_party/mozjs-45/include/js/HashTable.h:424:67: required from 'void js::HashSet::clear() [with T = js::ObjectGroupCompartment::NewEntry; HashPolicy = js::ObjectGroupCompartment::NewEntry; AllocPolicy = js::SystemAllocPolicy]' src/third_party/mozjs-45/extract/js/src/vm/ObjectGroup.cpp:1714:31: required from here src/third_party/mozjs-45/include/js/HashTable.h:1550:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable::SetOps, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry'} with no trivial copy-assignment [-Wclass-memaccess] 1550 | memset(table, 0, sizeof(*table) * capacity()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/HashTable.h:722:7: note: 'js::detail::HashTable::SetOps, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry'} declared here 722 | class HashTableEntry | ^~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/BitSet.h:12, from src/third_party/mozjs-45/extract/js/src/jit/Safepoints.h:10: src/third_party/mozjs-45/extract/js/src/jit/JitAllocPolicy.h: In instantiation of 'T* js::jit::JitAllocPolicy::maybe_pod_calloc(size_t) [with T = js::detail::HashTableEntry >; size_t = long unsigned int]': src/third_party/mozjs-45/include/js/HashTable.h:1144:54: required from 'static js::detail::HashTable::Entry* js::detail::HashTable::createTable(AllocPolicy&, uint32_t, FailureBehavior) [with T = js::HashMapEntry; HashPolicy = js::HashMap::MapHashPolicy; AllocPolicy = js::jit::JitAllocPolicy; Entry = js::detail::HashTableEntry >; uint32_t = unsigned int]' src/third_party/mozjs-45/include/js/HashTable.h:1212:28: required from 'bool js::detail::HashTable::init(uint32_t) [with T = js::HashMapEntry; HashPolicy = js::HashMap::MapHashPolicy; AllocPolicy = js::jit::JitAllocPolicy; uint32_t = unsigned int]' src/third_party/mozjs-45/include/js/HashTable.h:79:73: required from 'bool js::HashMap::init(uint32_t) [with Key = JS::Value; Value = unsigned int; HashPolicy = js::jit::LIRGraph::ValueHasher; AllocPolicy = js::jit::JitAllocPolicy; uint32_t = unsigned int]' src/third_party/mozjs-45/extract/js/src/jit/LIR.h:1696:37: required from here src/third_party/mozjs-45/extract/js/src/jit/JitAllocPolicy.h:92:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::detail::HashTableEntry >' with no trivial copy-assignment [-Wclass-memaccess] 92 | memset(p, 0, numElems * sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/HashTable.h:722:7: note: 'class js::detail::HashTableEntry >' declared here 722 | class HashTableEntry | ^~~~~~~~~~~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/document_comparator.h:32, from src/mongo/db/pipeline/expression_context.h:41, from src/mongo/db/update/update_leaf_node.h:31, from src/mongo/db/update/modifier_node.h:31, from src/mongo/db/update/current_date_node.h:31, from src/mongo/db/update/current_date_node.cpp:31: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/bson/bsonobj.h:44, from src/mongo/db/pipeline/expression_context.h:37: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/mongo/db/storage/mmap_v1/btree/btree_interface.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/storage/mmap_v1/btree/btree_interface.cpp In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(js::ExclusiveContext* const&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:708:30, inlined from 'PurgeProtoChain(js::ExclusiveContext*, JSObject*, JS::Handle)' at src/third_party/mozjs-45/extract/js/src/vm/NativeObject.cpp:1073:25: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'shape' in 'MEM[(struct Rooted * *)cx_60(D) + 32B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src30.cpp:38: src/third_party/mozjs-45/extract/js/src/vm/NativeObject.cpp: In function 'PurgeProtoChain(js::ExclusiveContext*, JSObject*, JS::Handle)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.cpp:1073:17: note: 'shape' declared here 1073 | RootedShape shape(cx); | ^~~~~ src/third_party/mozjs-45/extract/js/src/vm/NativeObject.cpp:1073:17: note: 'cx_60(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSScript*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'GetNonexistentProperty(JSContext*, JS::Handle, JS::Handle, JS::Handle, IsNameLookup, JS::MutableHandle) [clone .constprop.0]' at src/third_party/mozjs-45/extract/js/src/vm/NativeObject.cpp:1829:51: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'script' in 'MEM[(struct Rooted * *)cx_9(D) + 80B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/NativeObject.cpp: In function 'GetNonexistentProperty(JSContext*, JS::Handle, JS::Handle, JS::Handle, IsNameLookup, JS::MutableHandle) [clone .constprop.0]': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.cpp:1829:18: note: 'script' declared here 1829 | RootedScript script(cx, cx->currentScript(&pc)); | ^~~~~~ src/third_party/mozjs-45/extract/js/src/vm/NativeObject.cpp:1829:18: note: 'cx_9(D)' declared here g++ -o build/fedora/third_party/icu4c-57.1/source/common/unorm.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/unorm.cpp g++ -o build/fedora/third_party/icu4c-57.1/source/i18n/tznames.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/tznames.cpp In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted&>(JSContext* const&, JS::Handle&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::LooselyEqual(JSContext*, JS::Handle, JS::Handle, bool*)' at src/third_party/mozjs-45/extract/js/src/vm/Interpreter.cpp:802:36: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'rvalue' in 'MEM[(struct Rooted * *)cx_143(D) + 104B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/Interpreter.cpp: In function 'js::LooselyEqual(JSContext*, JS::Handle, JS::Handle, bool*)': src/third_party/mozjs-45/extract/js/src/vm/Interpreter.cpp:802:21: note: 'rvalue' declared here 802 | RootedValue rvalue(cx, rval); | ^~~~~~ src/third_party/mozjs-45/extract/js/src/vm/Interpreter.cpp:802:21: note: 'cx_143(D)' declared here g++ -o build/fedora/mongo/db/catalog/catalog_control.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/catalog/catalog_control.cpp In member function 'js::AutoResolving::AutoResolving(JSContext*, JS::Handle, JS::Handle, js::AutoResolving::Kind)', inlined from 'js::CallResolveOp(JSContext*, JS::Handle, JS::Handle, JS::MutableHandle, bool*)' at src/third_party/mozjs-45/extract/js/src/vm/NativeObject-inl.h:380:40, inlined from 'js::LookupOwnPropertyInline<(js::AllowGC)1>(js::ExclusiveContext*, js::MaybeRooted::HandleType, js::MaybeRooted::HandleType, js::MaybeRooted::MutableHandleType, bool*)bool' at src/third_party/mozjs-45/extract/js/src/vm/NativeObject-inl.h:478:27, inlined from 'js::NativeHasProperty(JSContext*, JS::Handle, JS::Handle, bool*)' at src/third_party/mozjs-45/extract/js/src/vm/NativeObject.cpp:1618:44: src/third_party/mozjs-45/extract/js/src/jscntxt.h:492:27: warning: storing the address of local variable 'resolving' in '*cx_204(D).resolvingList' [-Wdangling-pointer=] 492 | cx->resolvingList = this; | ~~~~~~~~~~~~~~~~~~^~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/UnboxedObject-inl.h:13, from src/third_party/mozjs-45/extract/js/src/vm/Interpreter-inl.h:25: src/third_party/mozjs-45/extract/js/src/vm/NativeObject-inl.h: In function 'js::NativeHasProperty(JSContext*, JS::Handle, JS::Handle, bool*)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject-inl.h:380:19: note: 'resolving' declared here 380 | AutoResolving resolving(cx, obj, id); | ^~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/NativeObject-inl.h:380:19: note: 'cx_204(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'NativeGetPropertyInline<(js::AllowGC)0>(JSContext*, js::MaybeRooted::HandleType, js::MaybeRooted::HandleType, js::MaybeRooted::HandleType, IsNameLookup, js::MaybeRooted::MutableHandleType)bool' at src/third_party/mozjs-45/extract/js/src/vm/NativeObject.cpp:1945:22, inlined from 'js::NativeGetPropertyNoGC(JSContext*, js::NativeObject*, JS::Value const&, jsid, JS::Value*)' at src/third_party/mozjs-45/extract/js/src/vm/NativeObject.cpp:1975:41: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'proto' in 'MEM[(struct Rooted * *)cx_2(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/NativeObject.cpp: In function 'js::NativeGetPropertyNoGC(JSContext*, js::NativeObject*, JS::Value const&, jsid, JS::Value*)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.cpp:1945:22: note: 'proto' declared here 1945 | RootedObject proto(cx, done ? nullptr : pobj->getProto()); | ^~~~~ src/third_party/mozjs-45/extract/js/src/vm/NativeObject.cpp:1945:22: note: 'cx_2(D)' declared here In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/bson/timestamp.h:31, from src/mongo/db/repl/optime.h:33, from src/mongo/db/namespace_string.h:38, from src/mongo/db/client.h:43, from src/mongo/db/operation_context.h:36, from src/mongo/db/catalog/catalog_control.h:31, from src/mongo/db/catalog/catalog_control.cpp:32: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/plan_cache.h:35, from src/mongo/db/catalog/collection_info_cache.h:33, from src/mongo/db/catalog/collection.h:41, from src/mongo/db/catalog/catalog_control.cpp:34: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::ObjectGroup*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'JSObject::splicePrototype(JSContext*, js::Class const*, JS::Handle)' at src/third_party/mozjs-45/extract/js/src/vm/ObjectGroup.cpp:287:51: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'group' in 'MEM[(struct Rooted * *)cx_84(D) + 48B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src30.cpp:47: src/third_party/mozjs-45/extract/js/src/vm/ObjectGroup.cpp: In member function 'JSObject::splicePrototype(JSContext*, js::Class const*, JS::Handle)': src/third_party/mozjs-45/extract/js/src/vm/ObjectGroup.cpp:287:23: note: 'group' declared here 287 | RootedObjectGroup group(cx, self->getGroup(cx)); | ^~~~~ src/third_party/mozjs-45/extract/js/src/vm/ObjectGroup.cpp:287:23: note: 'cx_84(D)' declared here src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, unsigned int, mongo::StringMapTraits>': src/mongo/db/op_observer.h:310:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long unsigned int, mongo::StringMapTraits>': src/mongo/db/views/view_graph.h:177:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/db/views/view_catalog.h:174:13: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Collection*, mongo::StringMapTraits>': src/mongo/db/catalog/database.h:165:38: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::vector, mongo::StringMapTraits>': src/mongo/db/catalog/uuid_catalog.h:234:44: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::vector; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::vector; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::vector; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::vector; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::pair >, std::vector > >, mongo::StringMapTraits>': src/mongo/db/catalog/catalog_control.cpp:107:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::pair >, std::vector > >; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::pair >, std::vector > >; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::pair >, std::vector > >; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::pair >, std::vector > >; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSScript*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::CloneFunctionObjectIfNotSingleton(JSContext*, JS::Handle, JS::Handle, JS::Handle, js::NewObjectKind)' at src/third_party/mozjs-45/extract/js/src/jsfuninlines.h:92:55: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'script' in 'MEM[(struct Rooted * *)cx_103(D) + 80B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/Interpreter.cpp:49: src/third_party/mozjs-45/extract/js/src/jsfuninlines.h: In function 'js::CloneFunctionObjectIfNotSingleton(JSContext*, JS::Handle, JS::Handle, JS::Handle, js::NewObjectKind)': src/third_party/mozjs-45/extract/js/src/jsfuninlines.h:92:18: note: 'script' declared here 92 | RootedScript script(cx, fun->getOrCreateScript(cx)); | ^~~~~~ src/third_party/mozjs-45/extract/js/src/jsfuninlines.h:92:18: note: 'cx_103(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSFunction*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::LambdaArrow(JSContext*, JS::Handle, JS::Handle, JS::Handle)' at src/third_party/mozjs-45/extract/js/src/vm/Interpreter.cpp:4080:76: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'clone' in 'MEM[(struct Rooted * *)cx_29(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/Interpreter.cpp: In function 'js::LambdaArrow(JSContext*, JS::Handle, JS::Handle, JS::Handle)': src/third_party/mozjs-45/extract/js/src/vm/Interpreter.cpp:4079:18: note: 'clone' declared here 4079 | RootedObject clone(cx, CloneFunctionObjectIfNotSingleton(cx, fun, parent, nullptr, | ^~~~~ src/third_party/mozjs-45/extract/js/src/vm/Interpreter.cpp:4079:18: note: 'cx_29(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::ObjectGroup*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::ObjectGroup::getOrFixupCopyOnWriteObject(JSContext*, JS::Handle, unsigned char*)' at src/third_party/mozjs-45/extract/js/src/vm/ObjectGroup.cpp:1544:83: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'group' in 'MEM[(struct Rooted * *)cx_106(D) + 48B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/ObjectGroup.cpp: In function 'js::ObjectGroup::getOrFixupCopyOnWriteObject(JSContext*, JS::Handle, unsigned char*)': src/third_party/mozjs-45/extract/js/src/vm/ObjectGroup.cpp:1544:23: note: 'group' declared here 1544 | RootedObjectGroup group(cx, allocationSiteGroup(cx, script, pc, JSProto_Array)); | ^~~~~ src/third_party/mozjs-45/extract/js/src/vm/ObjectGroup.cpp:1544:23: note: 'cx_106(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::DeletePropertyJit(JSContext*, JS::Handle, JS::Handle, bool*)bool' at src/third_party/mozjs-45/extract/js/src/vm/Interpreter.cpp:4205:18: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'obj' in 'MEM[(struct Rooted * *)cx_74(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/Interpreter.cpp: In function 'js::DeletePropertyJit(JSContext*, JS::Handle, JS::Handle, bool*)bool': src/third_party/mozjs-45/extract/js/src/vm/Interpreter.cpp:4205:18: note: 'obj' declared here 4205 | RootedObject obj(cx, ToObjectFromStack(cx, v)); | ^~~ src/third_party/mozjs-45/extract/js/src/vm/Interpreter.cpp:4205:18: note: 'cx_74(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::DeletePropertyJit(JSContext*, JS::Handle, JS::Handle, bool*)bool' at src/third_party/mozjs-45/extract/js/src/vm/Interpreter.cpp:4205:18: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'obj' in 'MEM[(struct Rooted * *)cx_68(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/Interpreter.cpp: In function 'js::DeletePropertyJit(JSContext*, JS::Handle, JS::Handle, bool*)bool': src/third_party/mozjs-45/extract/js/src/vm/Interpreter.cpp:4205:18: note: 'obj' declared here 4205 | RootedObject obj(cx, ToObjectFromStack(cx, v)); | ^~~ src/third_party/mozjs-45/extract/js/src/vm/Interpreter.cpp:4205:18: note: 'cx_68(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::DeleteElementJit(JSContext*, JS::Handle, JS::Handle, bool*)bool' at src/third_party/mozjs-45/extract/js/src/vm/Interpreter.cpp:4233:18: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'obj' in 'MEM[(struct Rooted * *)cx_80(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/Interpreter.cpp: In function 'js::DeleteElementJit(JSContext*, JS::Handle, JS::Handle, bool*)bool': src/third_party/mozjs-45/extract/js/src/vm/Interpreter.cpp:4233:18: note: 'obj' declared here 4233 | RootedObject obj(cx, ToObjectFromStack(cx, val)); | ^~~ src/third_party/mozjs-45/extract/js/src/vm/Interpreter.cpp:4233:18: note: 'cx_80(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::DeleteElementJit(JSContext*, JS::Handle, JS::Handle, bool*)bool' at src/third_party/mozjs-45/extract/js/src/vm/Interpreter.cpp:4233:18: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'obj' in 'MEM[(struct Rooted * *)cx_75(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/Interpreter.cpp: In function 'js::DeleteElementJit(JSContext*, JS::Handle, JS::Handle, bool*)bool': src/third_party/mozjs-45/extract/js/src/vm/Interpreter.cpp:4233:18: note: 'obj' declared here 4233 | RootedObject obj(cx, ToObjectFromStack(cx, val)); | ^~~ src/third_party/mozjs-45/extract/js/src/vm/Interpreter.cpp:4233:18: note: 'cx_75(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::PlainObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::CopyInitializerObject(JSContext*, JS::Handle, js::NewObjectKind)' at src/third_party/mozjs-45/extract/js/src/vm/NativeObject-inl.h:298:91, inlined from 'js::NewObjectOperation(JSContext*, JS::Handle, unsigned char*, js::NewObjectKind)' at src/third_party/mozjs-45/extract/js/src/vm/Interpreter.cpp:4594:36: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'obj' in 'MEM[(struct Rooted * *)cx_139(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/NativeObject-inl.h: In function 'js::NewObjectOperation(JSContext*, JS::Handle, unsigned char*, js::NewObjectKind)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject-inl.h:298:23: note: 'obj' declared here 298 | RootedPlainObject obj(cx, NewBuiltinClassInstance(cx, allocKind, newKind)); | ^~~ src/third_party/mozjs-45/extract/js/src/vm/NativeObject-inl.h:298:23: note: 'cx_139(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::PlainObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::CopyInitializerObject(JSContext*, JS::Handle, js::NewObjectKind)' at src/third_party/mozjs-45/extract/js/src/vm/NativeObject-inl.h:298:91, inlined from 'js::NewObjectOperationWithTemplate(JSContext*, JS::Handle)' at src/third_party/mozjs-45/extract/js/src/vm/Interpreter.cpp:4632:42: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'obj' in 'MEM[(struct Rooted * *)cx_46(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/NativeObject-inl.h: In function 'js::NewObjectOperationWithTemplate(JSContext*, JS::Handle)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject-inl.h:298:23: note: 'obj' declared here 298 | RootedPlainObject obj(cx, NewBuiltinClassInstance(cx, allocKind, newKind)); | ^~~ src/third_party/mozjs-45/extract/js/src/vm/NativeObject-inl.h:298:23: note: 'cx_46(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::NativeObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::SetPropertyByDefining(JSContext*, JS::Handle, JS::Handle, JS::Handle, JS::ObjectOpResult&)' at src/third_party/mozjs-45/extract/js/src/vm/NativeObject.cpp:2128:79: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'nativeReceiver' in 'MEM[(struct Rooted * *)cx_183(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/NativeObject.cpp: In function 'js::SetPropertyByDefining(JSContext*, JS::Handle, JS::Handle, JS::Handle, JS::ObjectOpResult&)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.cpp:2128:31: note: 'nativeReceiver' declared here 2128 | Rooted nativeReceiver(cx, &receiver->as()); | ^~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/NativeObject.cpp:2128:31: note: 'cx_183(D)' declared here In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(js::ExclusiveContext* const&, js::Shape*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'AddOrChangeProperty(js::ExclusiveContext*, JS::Handle, JS::Handle, JS::Handle)' at src/third_party/mozjs-45/extract/js/src/vm/NativeObject.cpp:1165:94: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'shape' in 'MEM[(struct Rooted * *)cx_95(D) + 32B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/NativeObject.cpp: In function 'AddOrChangeProperty(js::ExclusiveContext*, JS::Handle, JS::Handle, JS::Handle)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.cpp:1164:17: note: 'shape' declared here 1164 | RootedShape shape(cx, NativeObject::putProperty(cx, obj, id, desc.getter(), desc.setter(), | ^~~~~ 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call src/third_party/mozjs-45/extract/js/src/vm/NativeObject.cpp:1164:17: note: 'cx_95(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::GetProperty(JSContext*, JS::Handle, JS::Handle, JS::MutableHandle)' at src/third_party/mozjs-45/extract/js/src/vm/Interpreter.cpp:4009:50: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'obj' in 'MEM[(struct Rooted * *)cx_100(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/Interpreter.cpp: In function 'js::GetProperty(JSContext*, JS::Handle, JS::Handle, JS::MutableHandle)': src/third_party/mozjs-45/extract/js/src/vm/Interpreter.cpp:4009:18: note: 'obj' declared here 4009 | RootedObject obj(cx, ToObjectFromStack(cx, v)); | ^~~ src/third_party/mozjs-45/extract/js/src/vm/Interpreter.cpp:4009:18: note: 'cx_100(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::GetPrimitiveElementOperation(JSContext*, JSOp, JS::Handle, JS::Handle, JS::MutableHandle)' at src/third_party/mozjs-45/extract/js/src/vm/Interpreter-inl.h:465:60, inlined from 'js::GetElementOperation(JSContext*, JSOp, JS::MutableHandle, JS::Handle, JS::MutableHandle)' at src/third_party/mozjs-45/extract/js/src/vm/Interpreter-inl.h:552:44, inlined from 'js::GetElement(JSContext*, JS::MutableHandle, JS::Handle, JS::MutableHandle)' at src/third_party/mozjs-45/extract/js/src/vm/Interpreter.cpp:4260:31: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'boxed' in 'MEM[(struct Rooted * *)cx_2(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/Interpreter-inl.h: In function 'js::GetElement(JSContext*, JS::MutableHandle, JS::Handle, JS::MutableHandle)': src/third_party/mozjs-45/extract/js/src/vm/Interpreter-inl.h:465:18: note: 'boxed' declared here 465 | RootedObject boxed(cx, ToObjectFromStack(cx, receiver_)); | ^~~~~ src/third_party/mozjs-45/extract/js/src/vm/Interpreter-inl.h:465:18: note: 'cx_2(D)' declared here g++ -o build/fedora/mongo/db/catalog/private/record_store_validate_adaptor.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/catalog/private/record_store_validate_adaptor.cpp In member function 'js::AutoResolving::AutoResolving(JSContext*, JS::Handle, JS::Handle, js::AutoResolving::Kind)', inlined from 'js::CallResolveOp(JSContext*, JS::Handle, JS::Handle, JS::MutableHandle, bool*)' at src/third_party/mozjs-45/extract/js/src/vm/NativeObject-inl.h:380:40, inlined from 'js::LookupOwnPropertyInline<(js::AllowGC)1>(js::ExclusiveContext*, js::MaybeRooted::HandleType, js::MaybeRooted::HandleType, js::MaybeRooted::MutableHandleType, bool*)bool' at src/third_party/mozjs-45/extract/js/src/vm/NativeObject-inl.h:478:27, inlined from 'NativeGetPropertyInline<(js::AllowGC)1>(JSContext*, js::MaybeRooted::HandleType, js::MaybeRooted::HandleType, js::MaybeRooted::HandleType, IsNameLookup, js::MaybeRooted::MutableHandleType)bool' at src/third_party/mozjs-45/extract/js/src/vm/NativeObject.cpp:1924:46, inlined from 'js::GetPropertyForNameLookup(JSContext*, JS::Handle, JS::Handle, JS::MutableHandle)' at src/third_party/mozjs-45/extract/js/src/vm/NativeObject.cpp:1984:42: src/third_party/mozjs-45/extract/js/src/jscntxt.h:492:27: warning: storing the address of local variable 'resolving' in '*cx_309(D).resolvingList' [-Wdangling-pointer=] 492 | cx->resolvingList = this; | ~~~~~~~~~~~~~~~~~~^~~~~~ src/third_party/mozjs-45/extract/js/src/vm/NativeObject-inl.h: In function 'js::GetPropertyForNameLookup(JSContext*, JS::Handle, JS::Handle, JS::MutableHandle)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject-inl.h:380:19: note: 'resolving' declared here 380 | AutoResolving resolving(cx, obj, id); | ^~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/NativeObject-inl.h:380:19: note: 'cx_309(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(js::ExclusiveContext* const&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:708:30, inlined from 'AddPlainObjectProperties(js::ExclusiveContext*, JS::Handle, js::IdValuePair*, unsigned long)' at src/third_party/mozjs-45/extract/js/src/vm/ObjectGroup.cpp:1153:25: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'value' in 'MEM[(struct Rooted * *)cx_63(D) + 104B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/ObjectGroup.cpp: In function 'AddPlainObjectProperties(js::ExclusiveContext*, JS::Handle, js::IdValuePair*, unsigned long)': src/third_party/mozjs-45/extract/js/src/vm/ObjectGroup.cpp:1153:17: note: 'value' declared here 1153 | RootedValue value(cx); | ^~~~~ src/third_party/mozjs-45/extract/js/src/vm/ObjectGroup.cpp:1153:17: note: 'cx_63(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(js::ExclusiveContext* const&, js::PlainObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::NewPlainObjectWithProperties(js::ExclusiveContext*, js::IdValuePair*, unsigned long, js::NewObjectKind)' at src/third_party/mozjs-45/extract/js/src/vm/ObjectGroup.cpp:1170:91: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'obj' in 'MEM[(struct Rooted * *)cx_38(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/ObjectGroup.cpp: In function 'js::NewPlainObjectWithProperties(js::ExclusiveContext*, js::IdValuePair*, unsigned long, js::NewObjectKind)': src/third_party/mozjs-45/extract/js/src/vm/ObjectGroup.cpp:1170:23: note: 'obj' declared here 1170 | RootedPlainObject obj(cx, NewBuiltinClassInstance(cx, allocKind, newKind)); | ^~~ src/third_party/mozjs-45/extract/js/src/vm/ObjectGroup.cpp:1170:23: note: 'cx_38(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(js::ExclusiveContext* const&, js::ObjectGroup*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::ObjectGroup::newPlainObject(js::ExclusiveContext*, js::IdValuePair*, unsigned long, js::NewObjectKind)' at src/third_party/mozjs-45/extract/js/src/vm/ObjectGroup.cpp:1210:78: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'group' in 'MEM[(struct Rooted * *)cx_1479(D) + 48B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/ObjectGroup.cpp: In function 'js::ObjectGroup::newPlainObject(js::ExclusiveContext*, js::IdValuePair*, unsigned long, js::NewObjectKind)': src/third_party/mozjs-45/extract/js/src/vm/ObjectGroup.cpp:1209:27: note: 'group' declared here 1209 | RootedObjectGroup group(cx, ObjectGroupCompartment::makeGroup(cx, &PlainObject::class_, | ^~~~~ src/third_party/mozjs-45/extract/js/src/vm/ObjectGroup.cpp:1209:27: note: 'cx_1479(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:708:30, inlined from 'js::JSONParser::parse(JS::MutableHandle)' at src/third_party/mozjs-45/extract/js/src/vm/JSONParser.cpp:631:17: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'value' in 'MEM[(struct Rooted * *)_126 + 104B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src30.cpp:11: src/third_party/mozjs-45/extract/js/src/vm/JSONParser.cpp: In member function 'js::JSONParser::parse(JS::MutableHandle)': src/third_party/mozjs-45/extract/js/src/vm/JSONParser.cpp:631:17: note: 'value' declared here 631 | RootedValue value(cx); | ^~~~~ src/third_party/mozjs-45/extract/js/src/vm/JSONParser.cpp:631:17: note: 'MEM[(struct JSContext * const &)this_32(D) + 8]' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:708:30, inlined from 'js::JSONParser::parse(JS::MutableHandle)' at src/third_party/mozjs-45/extract/js/src/vm/JSONParser.cpp:631:17: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'value' in 'MEM[(struct Rooted * *)_126 + 104B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/JSONParser.cpp: In member function 'js::JSONParser::parse(JS::MutableHandle)': src/third_party/mozjs-45/extract/js/src/vm/JSONParser.cpp:631:17: note: 'value' declared here 631 | RootedValue value(cx); | ^~~~~ src/third_party/mozjs-45/extract/js/src/vm/JSONParser.cpp:631:17: note: 'MEM[(struct JSContext * const &)this_32(D) + 8]' declared here In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/catalog/private/record_store_validate_adaptor.cpp:40: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/bson/bsonobj.h:44, from src/mongo/bson/ordering.h:32, from src/mongo/db/catalog/index_catalog_entry.h:36, from src/mongo/db/catalog/index_catalog.h:36, from src/mongo/db/catalog/private/record_store_validate_adaptor.h:31, from src/mongo/db/catalog/private/record_store_validate_adaptor.cpp:33: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In member function 'js::AutoResolving::AutoResolving(JSContext*, JS::Handle, JS::Handle, js::AutoResolving::Kind)', inlined from 'js::CallResolveOp(JSContext*, JS::Handle, JS::Handle, JS::MutableHandle, bool*)' at src/third_party/mozjs-45/extract/js/src/vm/NativeObject-inl.h:380:40, inlined from 'js::LookupOwnPropertyInline<(js::AllowGC)1>(js::ExclusiveContext*, js::MaybeRooted::HandleType, js::MaybeRooted::HandleType, js::MaybeRooted::MutableHandleType, bool*)bool' at src/third_party/mozjs-45/extract/js/src/vm/NativeObject-inl.h:478:27, inlined from 'js::NativeSetProperty(JSContext*, JS::Handle, JS::Handle, JS::Handle, JS::Handle, js::QualifiedBool, JS::ObjectOpResult&)' at src/third_party/mozjs-45/extract/js/src/vm/NativeObject.cpp:2315:44: src/third_party/mozjs-45/extract/js/src/jscntxt.h:492:27: warning: storing the address of local variable 'resolving' in '*cx_276(D).resolvingList' [-Wdangling-pointer=] 492 | cx->resolvingList = this; | ~~~~~~~~~~~~~~~~~~^~~~~~ src/third_party/mozjs-45/extract/js/src/vm/NativeObject-inl.h: In function 'js::NativeSetProperty(JSContext*, JS::Handle, JS::Handle, JS::Handle, JS::Handle, js::QualifiedBool, JS::ObjectOpResult&)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject-inl.h:380:19: note: 'resolving' declared here 380 | AutoResolving resolving(cx, obj, id); | ^~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/NativeObject-inl.h:380:19: note: 'cx_276(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::NativeObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::GlobalObject::setIntrinsicValue(JSContext*, JS::Handle, JS::Handle, JS::Handle)' at src/third_party/mozjs-45/extract/js/src/vm/GlobalObject.h:619:78, inlined from 'js::SetIntrinsicOperation(JSContext*, JSScript*, unsigned char*, JS::Handle) [clone .isra.0]' at src/third_party/mozjs-45/extract/js/src/vm/Interpreter-inl.h:237:43: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'holder' in 'MEM[(struct Rooted * *)cx_3(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jscompartment.h:18, from src/third_party/mozjs-45/extract/js/src/vm/Interpreter-inl.h:12: src/third_party/mozjs-45/extract/js/src/vm/GlobalObject.h: In function 'js::SetIntrinsicOperation(JSContext*, JSScript*, unsigned char*, JS::Handle) [clone .isra.0]': src/third_party/mozjs-45/extract/js/src/vm/GlobalObject.h:619:22: note: 'holder' declared here 619 | RootedObject holder(cx, GlobalObject::getIntrinsicsHolder(cx, global)); | ^~~~~~ src/third_party/mozjs-45/extract/js/src/vm/GlobalObject.h:619:22: note: 'cx_3(D)' declared here ar rcsTD build/fedora/mongo/db/catalog/libcatalog_impl.a build/fedora/mongo/db/catalog/catalog_control.o build/fedora/mongo/db/catalog/collection_compact.o build/fedora/mongo/db/catalog/collection_impl.o build/fedora/mongo/db/catalog/collection_info_cache_impl.o build/fedora/mongo/db/catalog/database_holder_impl.o build/fedora/mongo/db/catalog/database_impl.o build/fedora/mongo/db/catalog/index_catalog_entry_impl.o build/fedora/mongo/db/catalog/index_catalog_impl.o build/fedora/mongo/db/catalog/index_consistency.o build/fedora/mongo/db/catalog/index_create_impl.o build/fedora/mongo/db/catalog/private/record_store_validate_adaptor.o Skipping ranlib for thin archive build/fedora/mongo/db/catalog/libcatalog_impl.a g++ -o build/fedora/third_party/icu4c-57.1/source/common/utrie.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/utrie.cpp gcc -o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_lround.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -DUSE_COMPILER_F80_TYPE=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -Dlinux=1 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_lround.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C ar rcsTD build/fedora/mongo/client/libauthentication.a build/fedora/mongo/client/authenticate.o Skipping ranlib for thin archive build/fedora/mongo/client/libauthentication.a g++ -o build/fedora/mongo/db/repl/bgsync.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/repl/bgsync.cpp gcc -o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_exp10.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -DUSE_COMPILER_F80_TYPE=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -Dlinux=1 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_exp10.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C g++ -o build/fedora/mongo/db/ftdc/ftdc_system_stats.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/ftdc/ftdc_system_stats.cpp In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/db/repl/bgsync.h:35, from src/mongo/db/repl/bgsync.cpp:33: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/plan_cache.h:35, from src/mongo/db/catalog/collection_info_cache.h:33, from src/mongo/db/catalog/collection.h:41, from src/mongo/db/repl/storage_interface.h:40, from src/mongo/db/repl/oplog_applier.h:43, from src/mongo/db/repl/data_replicator_external_state.h:34, from src/mongo/db/repl/bgsync.h:36: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call ar rcsTD build/fedora/mongo/db/ftdc/libftdc_server.a build/fedora/mongo/db/ftdc/ftdc_server.o build/fedora/mongo/db/ftdc/ftdc_system_stats.o build/fedora/mongo/db/ftdc/ftdc_system_stats_linux.o Skipping ranlib for thin archive build/fedora/mongo/db/ftdc/libftdc_server.a 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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call g++ -o build/fedora/third_party/icu4c-57.1/source/i18n/collationruleparser.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/collationruleparser.cpp 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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/third_party/s2/s2region.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -DDEBUG_MODE=false -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/third_party/s2/s2region.cc src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, unsigned int, mongo::StringMapTraits>': src/mongo/db/op_observer.h:310:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ ar rcsTD build/fedora/mongo/libmongodmain.a build/fedora/mongo/db/db.o Skipping ranlib for thin archive build/fedora/mongo/libmongodmain.a src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::repl::ReplSetTagPattern, mongo::StringMapTraits>': src/mongo/db/repl/repl_set_config.h:402:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::repl::ReplSetTagPattern; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::repl::ReplSetTagPattern; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ g++ -o build/fedora/third_party/s2/s2cellid.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -DDEBUG_MODE=false -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/third_party/s2/s2cellid.cc src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::repl::ReplSetTagPattern; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::repl::ReplSetTagPattern; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/third_party/icu4c-57.1/source/i18n/format.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/format.cpp g++ -o build/fedora/third_party/icu4c-57.1/source/common/resource.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/resource.cpp g++ -o build/fedora/third_party/icu4c-57.1/source/common/uts46.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/uts46.cpp In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call gcc -o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_erf.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -DUSE_COMPILER_F80_TYPE=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -Dlinux=1 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_erf.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C gcc -o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_cbrt.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -DUSE_COMPILER_F80_TYPE=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -Dlinux=1 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_cbrt.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C gcc -o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_nexttowardd.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -DUSE_COMPILER_F80_TYPE=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -Dlinux=1 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_nexttowardd.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C gcc -o build/fedora/third_party/icu4c-57.1/source/common/ucnv.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/ucnv.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C gcc -o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_log2.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -DUSE_COMPILER_F80_TYPE=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -Dlinux=1 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_log2.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C ar rcsTD build/fedora/mongo/db/auth/libaddress_restriction.a build/fedora/mongo/db/auth/address_restriction.o build/fedora/mongo/db/auth/address_restriction_gen.o Skipping ranlib for thin archive build/fedora/mongo/db/auth/libaddress_restriction.a gcc -o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_rem.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -DUSE_COMPILER_F80_TYPE=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -Dlinux=1 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_rem.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C ar rcsTD build/fedora/mongo/db/storage/devnull/libstorage_devnull_core.a build/fedora/mongo/db/storage/devnull/devnull_kv_engine.o Skipping ranlib for thin archive build/fedora/mongo/db/storage/devnull/libstorage_devnull_core.a gcc -o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_nexttowardd.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -DUSE_COMPILER_F80_TYPE=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -Dlinux=1 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_nexttowardd.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C ar rcsTD build/fedora/mongo/db/ftdc/libftdc_mongod.a build/fedora/mongo/db/ftdc/ftdc_commands.o build/fedora/mongo/db/ftdc/ftdc_mongod.o Skipping ranlib for thin archive build/fedora/mongo/db/ftdc/libftdc_mongod.a g++ -o build/fedora/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src20.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -Wno-non-virtual-dtor -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -include js-confdefs.h -Wno-invalid-offsetof -fPIE -DIMPL_MFBT -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=1 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora/third_party/mozjs-45/extract/js/src -Isrc/third_party/mozjs-45/extract/js/src -Ibuild/fedora/third_party/mozjs-45/extract/mfbt -Isrc/third_party/mozjs-45/extract/mfbt -Ibuild/fedora/third_party/mozjs-45/extract/intl/icu/source/common -Isrc/third_party/mozjs-45/extract/intl/icu/source/common -Ibuild/fedora/third_party/mozjs-45/include -Isrc/third_party/mozjs-45/include -Ibuild/fedora/third_party/mozjs-45/mongo_sources -Isrc/third_party/mozjs-45/mongo_sources -Ibuild/fedora/third_party/mozjs-45/platform/x86_64/linux/build -Isrc/third_party/mozjs-45/platform/x86_64/linux/build -Ibuild/fedora/third_party/mozjs-45/platform/x86_64/linux/include -Isrc/third_party/mozjs-45/platform/x86_64/linux/include src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src20.cpp In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jit/BaselineIC.h:12, from src/third_party/mozjs-45/extract/js/src/jit/x64/SharedIC-x64.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src20.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1040:19: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 1040 | memcpy(&elements_[dstStart], src, count * sizeof(HeapSlot)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:22: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here 650 | class HeapSlot : public WriteBarrieredBase | ^~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1048:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 1048 | memcpy(&elements_[dstStart], src, count * sizeof(HeapSlot)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here 650 | class HeapSlot : public WriteBarrieredBase | ^~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1082:20: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 1082 | memmove(elements_ + dstStart, elements_ + srcStart, count * sizeof(HeapSlot)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here 650 | class HeapSlot : public WriteBarrieredBase | ^~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1094:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 1094 | memmove(elements_ + dstStart, elements_ + srcStart, count * sizeof(Value)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here 650 | class HeapSlot : public WriteBarrieredBase | ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/TraceableVector.h:12, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:14: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': src/third_party/mozjs-45/include/js/MemoryMetrics.h:40:34: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/gc/StoreBuffer.h:18, from src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:13: src/third_party/mozjs-45/include/js/MemoryMetrics.h:31:8: note: 'struct JS::TabSizes' declared here 31 | struct TabSizes | ^~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::ServoSizes]': src/third_party/mozjs-45/include/js/MemoryMetrics.h:71:36: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::ServoSizes'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/MemoryMetrics.h:59:8: note: 'struct JS::ServoSizes' declared here 59 | struct ServoSizes | ^~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JSSubString]': src/third_party/mozjs-45/extract/js/src/jsstr.h:73:37: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JSSubString'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/TraceLoggingTypes.h:11, from src/third_party/mozjs-45/extract/js/src/vm/TraceLoggingGraph.h:15, from src/third_party/mozjs-45/extract/js/src/vm/TraceLogging.h:19, from src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:22, from src/third_party/mozjs-45/extract/js/src/jsscript.h:24: src/third_party/mozjs-45/extract/js/src/jsstr.h:68:8: note: 'struct JSSubString' declared here 68 | struct JSSubString { | ^~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::PreliminaryObjectArray]': src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:808:25: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::PreliminaryObjectArray'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:23: src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:796:7: note: 'class js::PreliminaryObjectArray' declared here 796 | class PreliminaryObjectArray | ^~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::TypeNewScript]': src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:939:39: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::TypeNewScript' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:886:7: note: 'class js::TypeNewScript' declared here 886 | class TypeNewScript | ^~~~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:699:25: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:686:8: note: 'struct js::jit::IonScriptCounts' declared here 686 | struct IonScriptCounts | ^~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': src/third_party/mozjs-45/extract/js/src/vm/String.h:1092:25: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/Shape.h:32, from src/third_party/mozjs-45/extract/js/src/jsobj.h:27, from src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:16: src/third_party/mozjs-45/extract/js/src/vm/String.h:1074:7: note: 'class js::StaticStrings' declared here 1074 | class StaticStrings | ^~~~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': src/third_party/mozjs-45/extract/js/src/vm/Shape.h:392:25: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/Shape.h:323:7: note: 'class js::BaseShape' declared here 323 | class BaseShape : public gc::TenuredCell | ^~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:293:40: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:244:7: note: 'class js::NewObjectCache' declared here 244 | class NewObjectCache | ^~~~~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::Address]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:290:33: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::Address'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/Safepoints.h:12, from src/third_party/mozjs-45/extract/js/src/jit/JitFrames.h:16, from src/third_party/mozjs-45/extract/js/src/jit/Bailouts.h:13, from src/third_party/mozjs-45/extract/js/src/jit/BaselineJIT.h:16, from src/third_party/mozjs-45/extract/js/src/jit/BaselineIC.h:19: src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:282:8: note: 'struct js::jit::Address' declared here 282 | struct Address | ^~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::BaseIndex]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:306:35: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::BaseIndex'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:295:8: note: 'struct js::jit::BaseIndex' declared here 295 | struct BaseIndex | ^~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::CodeOffsetJump]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:513:25: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::jit::CodeOffsetJump'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:491:7: note: 'class js::jit::CodeOffsetJump' declared here 491 | class CodeOffsetJump | ^~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/include/js/TracingAPI.h:12, from src/third_party/mozjs-45/include/js/TraceableVector.h:13: src/third_party/mozjs-45/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': src/third_party/mozjs-45/include/js/HashTable.h:186:67: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' src/third_party/mozjs-45/extract/js/src/vm/SPSProfiler.h:256:18: required from here src/third_party/mozjs-45/include/js/HashTable.h:1550:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] 1550 | memset(table, 0, sizeof(*table) * capacity()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/HashTable.h:722:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here 722 | class HashTableEntry | ^~~~~~~~~~~~~~ g++ -o build/fedora/third_party/icu4c-57.1/source/i18n/bocsu.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/bocsu.cpp gcc -o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid_feclearexcept.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -DUSE_COMPILER_F80_TYPE=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -Dlinux=1 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid_feclearexcept.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C gcc -o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_to_int64.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -DUSE_COMPILER_F80_TYPE=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -Dlinux=1 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_to_int64.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C ar rcsTD build/fedora/mongo/db/query/collation/libcollator_icu.a build/fedora/mongo/db/query/collation/collator_factory_icu.o build/fedora/mongo/db/query/collation/collator_interface_icu.o Skipping ranlib for thin archive build/fedora/mongo/db/query/collation/libcollator_icu.a g++ -o build/fedora/third_party/icu4c-57.1/source/i18n/decfmtst.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/decfmtst.cpp g++ -o build/fedora/third_party/icu4c-57.1/source/i18n/currfmt.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/currfmt.cpp g++ -o build/fedora/third_party/icu4c-57.1/source/i18n/dtptngen.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/dtptngen.cpp gcc -o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_acos.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -DUSE_COMPILER_F80_TYPE=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -Dlinux=1 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_acos.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C ar rcsTD build/fedora/mongo/db/liblog_process_details.a build/fedora/mongo/db/log_process_details.o Skipping ranlib for thin archive build/fedora/mongo/db/liblog_process_details.a g++ -o build/fedora/mongo/db/pipeline/document_source_index_stats.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/pipeline/document_source_index_stats.cpp g++ -o build/fedora/mongo/rpc/protocol.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/rpc/protocol.cpp In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/bson/bsonobj.h:44, from src/mongo/db/collection_index_usage_tracker.h:33, from src/mongo/db/pipeline/document_source_index_stats.h:31, from src/mongo/db/pipeline/document_source_index_stats.cpp:31: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/db/pipeline/document_source.h:44, from src/mongo/db/pipeline/document_source_index_stats.h:32: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ gcc -o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_erf.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -DUSE_COMPILER_F80_TYPE=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -Dlinux=1 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_erf.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/third_party/icu4c-57.1/source/i18n/titletrn.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/titletrn.cpp gcc -o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_atan2.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -DUSE_COMPILER_F80_TYPE=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -Dlinux=1 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_atan2.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call g++ -o build/fedora/mongo/db/repl/repl_set_html_summary.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/repl/repl_set_html_summary.cpp 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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/bson/timestamp.h:31, from src/mongo/db/repl/member_data.h:31, from src/mongo/db/repl/repl_set_html_summary.h:34, from src/mongo/db/repl/repl_set_html_summary.cpp:33: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::repl::ReplSetTagPattern, mongo::StringMapTraits>': src/mongo/db/repl/repl_set_config.h:402:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::repl::ReplSetTagPattern; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::repl::ReplSetTagPattern; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::repl::ReplSetTagPattern; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::repl::ReplSetTagPattern; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from /usr/include/string.h:535, from /usr/include/c++/12/cstring:42, from src/mongo/base/data_view.h:30, from src/mongo/bson/timestamp.h:30: In function 'memcpy', inlined from 'mongo::StringData::copyTo(char*, bool) const' at src/mongo/base/string_data.h:266:15, inlined from 'mongo::StringBuilderImpl::append(mongo::StringData)' at src/mongo/bson/util/builder.h:484:19, inlined from 'mongo::StringBuilderImpl::appendIntegral(int, int)mongo::StringBuilderImpl&' at src/mongo/bson/util/builder.h:518:19, inlined from 'mongo::StringBuilderImpl::appendIntegral(int, int)mongo::StringBuilderImpl&' at src/mongo/bson/util/builder.h:512:24, inlined from 'mongo::StringBuilderImpl::operator<<(int)' at src/mongo/bson/util/builder.h:402:30, inlined from 'mongoutils::str::stream::operator<< (int const&)mongoutils::str::stream&' at src/mongo/util/mongoutils/str.h:66:12, inlined from 'mongo::repl::ReplSetHtmlSummary::toHtmlString[abi:cxx11]() const' at src/mongo/db/repl/repl_set_html_summary.cpp:169:71: /usr/include/bits/string_fortified.h:29:33: warning: 'memcpy' offset [0, 511] is out of the bounds [0, 0] [-Warray-bounds] 29 | return __builtin___memcpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 30 | __glibc_objsize0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call g++ -o build/fedora/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src21.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -Wno-non-virtual-dtor -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -include js-confdefs.h -Wno-invalid-offsetof -fPIE -DIMPL_MFBT -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=1 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora/third_party/mozjs-45/extract/js/src -Isrc/third_party/mozjs-45/extract/js/src -Ibuild/fedora/third_party/mozjs-45/extract/mfbt -Isrc/third_party/mozjs-45/extract/mfbt -Ibuild/fedora/third_party/mozjs-45/extract/intl/icu/source/common -Isrc/third_party/mozjs-45/extract/intl/icu/source/common -Ibuild/fedora/third_party/mozjs-45/include -Isrc/third_party/mozjs-45/include -Ibuild/fedora/third_party/mozjs-45/mongo_sources -Isrc/third_party/mozjs-45/mongo_sources -Ibuild/fedora/third_party/mozjs-45/platform/x86_64/linux/build -Isrc/third_party/mozjs-45/platform/x86_64/linux/build -Ibuild/fedora/third_party/mozjs-45/platform/x86_64/linux/include -Isrc/third_party/mozjs-45/platform/x86_64/linux/include src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src21.cpp In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jit/BaselineIC.h:12, from src/third_party/mozjs-45/extract/js/src/jit/x86-shared/BaselineIC-x86-shared.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src21.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1040:19: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 1040 | memcpy(&elements_[dstStart], src, count * sizeof(HeapSlot)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:22: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here 650 | class HeapSlot : public WriteBarrieredBase | ^~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1048:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 1048 | memcpy(&elements_[dstStart], src, count * sizeof(HeapSlot)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here 650 | class HeapSlot : public WriteBarrieredBase | ^~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1082:20: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 1082 | memmove(elements_ + dstStart, elements_ + srcStart, count * sizeof(HeapSlot)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here 650 | class HeapSlot : public WriteBarrieredBase | ^~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1094:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 1094 | memmove(elements_ + dstStart, elements_ + srcStart, count * sizeof(Value)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here 650 | class HeapSlot : public WriteBarrieredBase | ^~~~~~~~ g++ -o build/fedora/mongo/db/catalog/drop_indexes.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/catalog/drop_indexes.cpp In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/TraceableVector.h:12, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:14: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': src/third_party/mozjs-45/include/js/MemoryMetrics.h:40:34: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/gc/StoreBuffer.h:18, from src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:13: src/third_party/mozjs-45/include/js/MemoryMetrics.h:31:8: note: 'struct JS::TabSizes' declared here 31 | struct TabSizes | ^~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::ServoSizes]': src/third_party/mozjs-45/include/js/MemoryMetrics.h:71:36: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::ServoSizes'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/MemoryMetrics.h:59:8: note: 'struct JS::ServoSizes' declared here 59 | struct ServoSizes | ^~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JSSubString]': src/third_party/mozjs-45/extract/js/src/jsstr.h:73:37: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JSSubString'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/TraceLoggingTypes.h:11, from src/third_party/mozjs-45/extract/js/src/vm/TraceLoggingGraph.h:15, from src/third_party/mozjs-45/extract/js/src/vm/TraceLogging.h:19, from src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:22, from src/third_party/mozjs-45/extract/js/src/jsscript.h:24: src/third_party/mozjs-45/extract/js/src/jsstr.h:68:8: note: 'struct JSSubString' declared here 68 | struct JSSubString { | ^~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::PreliminaryObjectArray]': src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:808:25: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::PreliminaryObjectArray'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:23: src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:796:7: note: 'class js::PreliminaryObjectArray' declared here 796 | class PreliminaryObjectArray | ^~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::TypeNewScript]': src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:939:39: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::TypeNewScript' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:886:7: note: 'class js::TypeNewScript' declared here 886 | class TypeNewScript | ^~~~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:699:25: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:686:8: note: 'struct js::jit::IonScriptCounts' declared here 686 | struct IonScriptCounts | ^~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': src/third_party/mozjs-45/extract/js/src/vm/String.h:1092:25: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/Shape.h:32, from src/third_party/mozjs-45/extract/js/src/jsobj.h:27, from src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:16: src/third_party/mozjs-45/extract/js/src/vm/String.h:1074:7: note: 'class js::StaticStrings' declared here 1074 | class StaticStrings | ^~~~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': src/third_party/mozjs-45/extract/js/src/vm/Shape.h:392:25: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/Shape.h:323:7: note: 'class js::BaseShape' declared here 323 | class BaseShape : public gc::TenuredCell | ^~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:293:40: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:244:7: note: 'class js::NewObjectCache' declared here 244 | class NewObjectCache | ^~~~~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::Address]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:290:33: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::Address'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/Safepoints.h:12, from src/third_party/mozjs-45/extract/js/src/jit/JitFrames.h:16, from src/third_party/mozjs-45/extract/js/src/jit/Bailouts.h:13, from src/third_party/mozjs-45/extract/js/src/jit/BaselineJIT.h:16, from src/third_party/mozjs-45/extract/js/src/jit/BaselineIC.h:19: src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:282:8: note: 'struct js::jit::Address' declared here 282 | struct Address | ^~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::BaseIndex]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:306:35: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::BaseIndex'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:295:8: note: 'struct js::jit::BaseIndex' declared here 295 | struct BaseIndex | ^~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::CodeOffsetJump]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:513:25: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::jit::CodeOffsetJump'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:491:7: note: 'class js::jit::CodeOffsetJump' declared here 491 | class CodeOffsetJump | ^~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/include/js/TracingAPI.h:12, from src/third_party/mozjs-45/include/js/TraceableVector.h:13: src/third_party/mozjs-45/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': src/third_party/mozjs-45/include/js/HashTable.h:186:67: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' src/third_party/mozjs-45/extract/js/src/vm/SPSProfiler.h:256:18: required from here src/third_party/mozjs-45/include/js/HashTable.h:1550:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] 1550 | memset(table, 0, sizeof(*table) * capacity()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/HashTable.h:722:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here 722 | class HashTableEntry | ^~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/BitSet.h:12, from src/third_party/mozjs-45/extract/js/src/jit/Safepoints.h:10: src/third_party/mozjs-45/extract/js/src/jit/JitAllocPolicy.h: In instantiation of 'T* js::jit::JitAllocPolicy::maybe_pod_calloc(size_t) [with T = js::detail::HashTableEntry >; size_t = long unsigned int]': src/third_party/mozjs-45/include/js/HashTable.h:1144:54: required from 'static js::detail::HashTable::Entry* js::detail::HashTable::createTable(AllocPolicy&, uint32_t, FailureBehavior) [with T = js::HashMapEntry; HashPolicy = js::HashMap::MapHashPolicy; AllocPolicy = js::jit::JitAllocPolicy; Entry = js::detail::HashTableEntry >; uint32_t = unsigned int]' src/third_party/mozjs-45/include/js/HashTable.h:1212:28: required from 'bool js::detail::HashTable::init(uint32_t) [with T = js::HashMapEntry; HashPolicy = js::HashMap::MapHashPolicy; AllocPolicy = js::jit::JitAllocPolicy; uint32_t = unsigned int]' src/third_party/mozjs-45/include/js/HashTable.h:79:73: required from 'bool js::HashMap::init(uint32_t) [with Key = JS::Value; Value = unsigned int; HashPolicy = js::jit::LIRGraph::ValueHasher; AllocPolicy = js::jit::JitAllocPolicy; uint32_t = unsigned int]' src/third_party/mozjs-45/extract/js/src/jit/LIR.h:1696:37: required from here src/third_party/mozjs-45/extract/js/src/jit/JitAllocPolicy.h:92:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::detail::HashTableEntry >' with no trivial copy-assignment [-Wclass-memaccess] 92 | memset(p, 0, numElems * sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/HashTable.h:722:7: note: 'class js::detail::HashTableEntry >' declared here 722 | class HashTableEntry | ^~~~~~~~~~~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/db/curop.h:35, from src/mongo/db/concurrency/write_conflict_exception.h:36, from src/mongo/db/catalog/drop_indexes.cpp:38: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/bson/timestamp.h:31, from src/mongo/db/repl/optime.h:33, from src/mongo/db/namespace_string.h:38, from src/mongo/db/background.h:43, from src/mongo/db/catalog/drop_indexes.cpp:35: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, unsigned int, mongo::StringMapTraits>': src/mongo/db/op_observer.h:310:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long unsigned int, mongo::StringMapTraits>': src/mongo/db/views/view_graph.h:177:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/db/views/view_catalog.h:174:13: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Collection*, mongo::StringMapTraits>': src/mongo/db/catalog/database.h:165:38: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Top::CollectionData, mongo::StringMapTraits>': src/mongo/db/stats/top.h:150:14: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call ar rcsTD build/fedora/mongo/db/libservice_context_d.a build/fedora/mongo/db/service_entry_point_mongod.o Skipping ranlib for thin archive build/fedora/mongo/db/libservice_context_d.a g++ -o build/fedora/mongo/db/fts/ftsmongod.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/fts/ftsmongod.cpp ar rcsTD build/fedora/mongo/db/fts/libftsmongod.a build/fedora/mongo/db/fts/ftsmongod.o Skipping ranlib for thin archive build/fedora/mongo/db/fts/libftsmongod.a g++ -o build/fedora/mongo/db/logical_time_metadata_hook.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/logical_time_metadata_hook.cpp gcc -o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_inv_hyper.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -DUSE_COMPILER_F80_TYPE=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -Dlinux=1 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_inv_hyper.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C g++ -o build/fedora/mongo/db/storage/mmap_v1/btree/key.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/storage/mmap_v1/btree/key.cpp ar rcsTD build/fedora/mongo/util/libperiodic_runner_factory.a build/fedora/mongo/util/periodic_runner_factory.o Skipping ranlib for thin archive build/fedora/mongo/util/libperiodic_runner_factory.a g++ -o build/fedora/mongo/db/repl/replication_consistency_markers_impl.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/repl/replication_consistency_markers_impl.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/db/curop.h:35, from src/mongo/db/concurrency/write_conflict_exception.h:36, from src/mongo/db/repl/replication_consistency_markers_impl.cpp:37: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/bson/timestamp.h:31, from src/mongo/db/repl/optime.h:33, from src/mongo/db/namespace_string.h:38, from src/mongo/db/repl/replication_consistency_markers_impl.h:32, from src/mongo/db/repl/replication_consistency_markers_impl.cpp:32: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/mongo/db/pipeline/document_source_graph_lookup.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/pipeline/document_source_graph_lookup.cpp In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, unsigned int, mongo::StringMapTraits>': src/mongo/db/op_observer.h:310:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/bson/bsonobj.h:44, from src/mongo/bson/bsonobj_comparator_interface.h:32, from src/mongo/bson/simple_bsonobj_comparator.h:34, from src/mongo/db/pipeline/document_source.h:41, from src/mongo/db/pipeline/document_source_graph_lookup.h:31, from src/mongo/db/pipeline/document_source_graph_lookup.cpp:31: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/db/pipeline/document_source.h:44: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call src/mongo/db/pipeline/document_source_graph_lookup.cpp: In static member function 'static boost::intrusive_ptr mongo::DocumentSourceGraphLookUp::createFromBson(mongo::BSONElement, const boost::intrusive_ptr&)': src/mongo/db/pipeline/document_source_graph_lookup.cpp:602:21: warning: redundant move in return statement [-Wredundant-move] 602 | return std::move(newSource); | ~~~~~~~~~^~~~~~~~~~~ src/mongo/db/pipeline/document_source_graph_lookup.cpp:602:21: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call g++ -o build/fedora/mongo/util/signal_handlers.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/asio-master/asio/include -Ibuild/fedora -Isrc src/mongo/util/signal_handlers.cpp ar rcsTD build/fedora/mongo/util/libsignal_handlers.a build/fedora/mongo/util/signal_handlers.o build/fedora/mongo/util/signal_win32.o Skipping ranlib for thin archive build/fedora/mongo/util/libsignal_handlers.a g++ -o build/fedora/mongo/db/fts/fts_query_noop.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/fts/fts_query_noop.cpp src/mongo/db/fts/fts_query_noop.cpp: In member function 'virtual std::unique_ptr mongo::fts::FTSQueryNoop::clone() const': src/mongo/db/fts/fts_query_noop.cpp:44:21: warning: redundant move in return statement [-Wredundant-move] 44 | return std::move(clonedQuery); | ~~~~~~~~~^~~~~~~~~~~~~ src/mongo/db/fts/fts_query_noop.cpp:44:21: note: remove 'std::move' call ar rcsTD build/fedora/mongo/db/fts/libfts_query_noop.a build/fedora/mongo/db/fts/fts_query_noop.o Skipping ranlib for thin archive build/fedora/mongo/db/fts/libfts_query_noop.a gcc -o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -DUSE_COMPILER_F80_TYPE=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -Dlinux=1 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C g++ -o build/fedora/mongo/db/storage/mmap_v1/compress.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/storage/mmap_v1/compress.cpp ar rcsTD build/fedora/mongo/db/storage/mmap_v1/libcompress.a build/fedora/mongo/db/storage/mmap_v1/compress.o Skipping ranlib for thin archive build/fedora/mongo/db/storage/mmap_v1/libcompress.a g++ -o build/fedora/third_party/icu4c-57.1/source/common/ucol_swp.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/ucol_swp.cpp gcc -o build/fedora/third_party/timelib-2018.01alpha1/dow.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -DHAVE_GETTIMEOFDAY -DHAVE_STRING_H -DHAVE_DIRENT_H -DHAVE_SYS_TIME_H -DHAVE_UNISTD_H -D_GNU_SOURCE -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/timelib-2018.01alpha1 src/third_party/timelib-2018.01alpha1/dow.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C g++ -o build/fedora/mongo/db/matcher/expression_where.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/matcher/expression_where.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/matcher/expression_where_base.h:31, from src/mongo/db/matcher/expression_where.h:31, from src/mongo/db/matcher/expression_where.cpp:33: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/bson/bsonobj.h:44, from src/mongo/db/matcher/expression.h:36: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ ar rcsTD build/fedora/mongo/db/catalog/libindex_catalog.a build/fedora/mongo/db/catalog/index_catalog.o Skipping ranlib for thin archive build/fedora/mongo/db/catalog/libindex_catalog.a ar rcsTD build/fedora/mongo/db/libindex_names.a build/fedora/mongo/db/index_names.o Skipping ranlib for thin archive build/fedora/mongo/db/libindex_names.a g++ -o build/fedora/third_party/icu4c-57.1/source/i18n/collationtailoring.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/collationtailoring.cpp src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:36, from src/mongo/db/matcher/expression_where.cpp:40: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37: 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: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::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::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::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 ar rcsTD build/fedora/mongo/db/catalog/libindex_create.a build/fedora/mongo/db/catalog/index_create.o Skipping ranlib for thin archive build/fedora/mongo/db/catalog/libindex_create.a g++ -o build/fedora/mongo/db/index/fts_access_method.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/index/fts_access_method.cpp src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/db/matcher/expression_where.cpp: In member function 'virtual std::unique_ptr mongo::WhereMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_where.cpp:106:21: warning: redundant move in return statement [-Wredundant-move] 106 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_where.cpp:106:21: note: remove 'std::move' call In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/db/fts/fts_util.h:35, from src/mongo/db/fts/fts_language.h:37, from src/mongo/db/fts/fts_spec.h:36, from src/mongo/db/index/fts_access_method.h:32, from src/mongo/db/index/fts_access_method.cpp:29: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, bool, mongo::StringMapTraits>': src/mongo/db/fts/stop_words.h:62:21: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = bool; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = bool; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = bool; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = bool; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call ar rcsTD build/fedora/mongo/db/index/libindex_access_methods.a build/fedora/mongo/db/index/2d_access_method.o build/fedora/mongo/db/index/btree_access_method.o build/fedora/mongo/db/index/fts_access_method.o build/fedora/mongo/db/index/hash_access_method.o build/fedora/mongo/db/index/haystack_access_method.o build/fedora/mongo/db/index/s2_access_method.o Skipping ranlib for thin archive build/fedora/mongo/db/index/libindex_access_methods.a g++ -o build/fedora/mongo/transport/thread_idle_callback.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/asio-master/asio/include -Ibuild/fedora -Isrc src/mongo/transport/thread_idle_callback.cpp g++ -o build/fedora/third_party/icu4c-57.1/source/i18n/translit.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/translit.cpp g++ -o build/fedora/mongo/db/repl/last_vote.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/repl/last_vote.cpp ar rcsTD build/fedora/mongo/db/matcher/libexpressions_mongod_only.a build/fedora/mongo/db/matcher/extensions_callback_real.o build/fedora/mongo/db/matcher/expression_text.o build/fedora/mongo/db/matcher/expression_where.o Skipping ranlib for thin archive build/fedora/mongo/db/matcher/libexpressions_mongod_only.a g++ -o build/fedora/mongo/db/pipeline/value_comparator.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/pipeline/value_comparator.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/value_comparator.h:35, from src/mongo/db/pipeline/value_comparator.cpp:31: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/bson/util/bson_check.h:33, from src/mongo/db/repl/last_vote.cpp:31: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/bson/mutable/element.h:34, from src/mongo/db/auth/privilege.h:32, from src/mongo/db/commands.h:39: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/mongo/db/pipeline/value.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/pipeline/value.cpp src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/value.cpp:31: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/value.cpp:43: src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, bool, mongo::StringMapTraits>': src/mongo/bson/util/bson_check.h:62:43: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = bool; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = bool; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = bool; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = bool; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/bson/bsonmisc.h:32, from src/mongo/db/pipeline/value_internal.h:35: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call In file included from /usr/include/string.h:535, from /usr/include/c++/12/cstring:42, from src/mongo/base/string_data.h:33, from src/mongo/db/pipeline/value.h:32: In function 'memcpy', inlined from 'mongo::StringData::copyTo(char*, bool) const' at src/mongo/base/string_data.h:266:15, inlined from 'mongo::StringBuilderImpl::append(mongo::StringData)' at src/mongo/bson/util/builder.h:484:19, inlined from 'mongo::StringBuilderImpl::appendIntegral(int, int)mongo::StringBuilderImpl&' at src/mongo/bson/util/builder.h:518:19, inlined from 'mongo::StringBuilderImpl::appendIntegral(int, int)mongo::StringBuilderImpl&' at src/mongo/bson/util/builder.h:512:24, inlined from 'mongo::StringBuilderImpl::operator<<(int)' at src/mongo/bson/util/builder.h:402:30, inlined from 'mongoutils::str::stream::operator<< (int const&)mongoutils::str::stream&' at src/mongo/util/mongoutils/str.h:66:12, inlined from 'mongo::Value::coerceToString[abi:cxx11]() const' at src/mongo/db/pipeline/value.cpp:588:46: /usr/include/bits/string_fortified.h:29:33: warning: 'memcpy' offset [0, 511] is out of the bounds [0, 0] [-Warray-bounds] 29 | return __builtin___memcpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 30 | __glibc_objsize0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'memcpy', inlined from 'mongo::StringData::copyTo(char*, bool) const' at src/mongo/base/string_data.h:266:15, inlined from 'mongo::StringBuilderImpl::append(mongo::StringData)' at src/mongo/bson/util/builder.h:484:19, inlined from 'mongo::StringBuilderImpl::appendIntegral(long long, int)mongo::StringBuilderImpl&' at src/mongo/bson/util/builder.h:518:19, inlined from 'mongo::StringBuilderImpl::appendIntegral(long long, int)mongo::StringBuilderImpl&' at src/mongo/bson/util/builder.h:512:24, inlined from 'mongo::StringBuilderImpl::operator<<(long long)' at src/mongo/bson/util/builder.h:414:30, inlined from 'mongoutils::str::stream::operator<< (long long const&)mongoutils::str::stream&' at src/mongo/util/mongoutils/str.h:66:12, inlined from 'mongo::Value::coerceToString[abi:cxx11]() const' at src/mongo/db/pipeline/value.cpp:591:46: /usr/include/bits/string_fortified.h:29:33: warning: 'memcpy' offset [0, 511] is out of the bounds [0, 0] [-Warray-bounds] 29 | return __builtin___memcpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 30 | __glibc_objsize0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -o build/fedora/third_party/icu4c-57.1/source/common/uset_props.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/uset_props.cpp g++ -o build/fedora/mongo/db/query/query_solution.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/query/query_solution.cpp ar rcsTD build/fedora/mongo/db/pipeline/libdocument_value.a build/fedora/mongo/db/pipeline/document.o build/fedora/mongo/db/pipeline/document_comparator.o build/fedora/mongo/db/pipeline/document_path_support.o build/fedora/mongo/db/pipeline/value.o build/fedora/mongo/db/pipeline/value_comparator.o Skipping ranlib for thin archive build/fedora/mongo/db/pipeline/libdocument_value.a ar rcsTD build/fedora/mongo/db/repl/libbgsync.a build/fedora/mongo/db/repl/bgsync.o Skipping ranlib for thin archive build/fedora/mongo/db/repl/libbgsync.a gcc -o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_asin.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -DUSE_COMPILER_F80_TYPE=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -Dlinux=1 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_asin.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C ar rcsTD build/fedora/mongo/db/storage/mmap_v1/librecord_access_tracker.a build/fedora/mongo/db/storage/mmap_v1/record_access_tracker.o Skipping ranlib for thin archive build/fedora/mongo/db/storage/mmap_v1/librecord_access_tracker.a g++ -o build/fedora/mongo/db/update/pull_node.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/update/pull_node.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/query_solution.h:36, from src/mongo/db/query/query_solution.cpp:31: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/bson/bsonobj.h:44, from src/mongo/bson/bsonobj_comparator_interface.h:32, from src/mongo/db/query/query_solution.h:33: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36, from src/mongo/db/query/plan_cache.h:35, from src/mongo/db/query/query_solution.h:38: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/document_comparator.h:32, from src/mongo/db/pipeline/expression_context.h:41, from src/mongo/db/update/update_leaf_node.h:31, from src/mongo/db/update/modifier_node.h:31, from src/mongo/db/update/array_culling_node.h:32, from src/mongo/db/update/pull_node.h:31, from src/mongo/db/update/pull_node.cpp:31: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/bson/bsonobj.h:44, from src/mongo/db/pipeline/expression_context.h:37: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:36, from src/mongo/db/matcher/copyable_match_expression.h:31, from src/mongo/db/update/pull_node.cpp:33: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ 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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ 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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ 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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37: 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: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::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::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::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:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call ar rcsTD build/fedora/third_party/libshim_snappy.a build/fedora/third_party/shim_snappy.o Skipping ranlib for thin archive build/fedora/third_party/libshim_snappy.a g++ -o build/fedora/mongo/db/update/pullall_node.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/update/pullall_node.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/document_comparator.h:32, from src/mongo/db/pipeline/expression_context.h:41, from src/mongo/db/update/update_leaf_node.h:31, from src/mongo/db/update/modifier_node.h:31, from src/mongo/db/update/array_culling_node.h:32, from src/mongo/db/update/pullall_node.h:31, from src/mongo/db/update/pullall_node.cpp:31: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/bson/bsonobj.h:44, from src/mongo/db/pipeline/expression_context.h:37: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/third_party/icu4c-57.1/source/i18n/vzone.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/vzone.cpp g++ -o build/fedora/mongo/util/debugger.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/asio-master/asio/include -Ibuild/fedora -Isrc src/mongo/util/debugger.cpp ar rcsTD build/fedora/mongo/util/libdebugger.a build/fedora/mongo/util/debugger.o Skipping ranlib for thin archive build/fedora/mongo/util/libdebugger.a ar rcsTD build/fedora/mongo/db/repl/librollback_idl.a build/fedora/mongo/db/repl/rollback_gen.o Skipping ranlib for thin archive build/fedora/mongo/db/repl/librollback_idl.a g++ -o build/fedora/mongo/db/session_catalog.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/session_catalog.cpp g++ -o build/fedora/third_party/icu4c-57.1/source/common/ucnv_io.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/ucnv_io.cpp g++ -o build/fedora/mongo/db/keys_collection_manager.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/keys_collection_manager.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/db/curop.h:35, from src/mongo/db/single_transaction_stats.h:31, from src/mongo/db/session.h:42, from src/mongo/db/session_catalog.h:33, from src/mongo/db/session_catalog.cpp:33: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from build/fedora/mongo/db/logical_session_id_gen.h:16, from src/mongo/db/logical_session_id.h:34, from src/mongo/db/session_catalog.h:32: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, unsigned int, mongo::StringMapTraits>': src/mongo/db/op_observer.h:310:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/mongo/bson/util/bson_extract.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/bson/util/bson_extract.cpp src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long unsigned int, mongo::StringMapTraits>': src/mongo/db/views/view_graph.h:177:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/db/views/view_catalog.h:174:13: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Collection*, mongo::StringMapTraits>': src/mongo/db/catalog/database.h:165:38: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Top::CollectionData, mongo::StringMapTraits>': src/mongo/db/stats/top.h:150:14: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/third_party/icu4c-57.1/source/i18n/precision.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/precision.cpp gcc -o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_quantize.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -DUSE_COMPILER_F80_TYPE=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -Dlinux=1 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_quantize.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C gcc -o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_log.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -DUSE_COMPILER_F80_TYPE=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -Dlinux=1 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_log.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C gcc -o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_next.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -DUSE_COMPILER_F80_TYPE=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -Dlinux=1 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_next.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C g++ -o build/fedora/third_party/icu4c-57.1/source/common/usetiter.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/usetiter.cpp In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call g++ -o build/fedora/mongo/db/auth/sasl_mechanism_registry.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/auth/sasl_mechanism_registry.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/db/auth/sasl_mechanism_registry.h:37, from src/mongo/db/auth/sasl_mechanism_registry.cpp:32: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/db/server_options.h:30, from src/mongo/base/secure_allocator.h:40, from src/mongo/db/auth/authorization_manager.h:35, from src/mongo/db/auth/sasl_mechanism_registry.h:36: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ gcc -o build/fedora/third_party/icu4c-57.1/source/common/umapfile.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/umapfile.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C ar rcsTD build/fedora/mongo/db/pipeline/libaggregation.a build/fedora/mongo/db/pipeline/aggregation.o Skipping ranlib for thin archive build/fedora/mongo/db/pipeline/libaggregation.a src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ ar rcsTD build/fedora/mongo/db/repl/libisself.a build/fedora/mongo/db/repl/isself.o Skipping ranlib for thin archive build/fedora/mongo/db/repl/libisself.a ar rcsTD build/fedora/mongo/db/storage/mmap_v1/libextent.a build/fedora/mongo/db/storage/mmap_v1/extent.o build/fedora/mongo/db/storage/mmap_v1/extent_manager.o Skipping ranlib for thin archive build/fedora/mongo/db/storage/mmap_v1/libextent.a g++ -o build/fedora/mongo/db/repl/repl_set_heartbeat_response.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/repl/repl_set_heartbeat_response.cpp In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/db/repl/member_state.h:40, from src/mongo/db/repl/repl_set_heartbeat_response.h:33, from src/mongo/db/repl/repl_set_heartbeat_response.cpp:33: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::repl::ReplSetTagPattern, mongo::StringMapTraits>': src/mongo/db/repl/repl_set_config.h:402:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::repl::ReplSetTagPattern; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::repl::ReplSetTagPattern; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::repl::ReplSetTagPattern; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::repl::ReplSetTagPattern; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call g++ -o build/fedora/mongo/util/procparser.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/asio-master/asio/include -Ibuild/fedora -Isrc src/mongo/util/procparser.cpp g++ -o build/fedora/mongo/db/query/index_tag.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/query/index_tag.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/index_tag.h:35, from src/mongo/db/query/index_tag.cpp:29: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/db/query/index_tag.h:34: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/query/index_tag.cpp:31: src/mongo/db/matcher/expression_array.h: In member function 'virtual std::unique_ptr mongo::ElemMatchObjectMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_array.h:85:25: warning: redundant move in return statement [-Wredundant-move] 85 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_array.h:85:25: note: remove 'std::move' call src/mongo/db/matcher/expression_array.h: In member function 'virtual std::unique_ptr mongo::ElemMatchValueMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_array.h:140:25: warning: redundant move in return statement [-Wredundant-move] 140 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_array.h:140:25: note: remove 'std::move' call src/mongo/db/matcher/expression_array.h: In member function 'virtual std::unique_ptr mongo::SizeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_array.h:177:25: warning: redundant move in return statement [-Wredundant-move] 177 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_array.h:177:25: note: remove 'std::move' call In file included from src/mongo/db/query/index_tag.cpp:32: 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: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::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::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::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 g++ -o build/fedora/mongo/db/query/parsed_projection.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/query/parsed_projection.cpp g++ -o build/fedora/mongo/db/free_mon/free_mon_commands.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/free_mon/free_mon_commands.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/matcher/expression_parser.h:35, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/parsed_projection.cpp:29: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/db/query/parsed_projection.h:29: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/db/free_mon/free_mon_commands.cpp:32: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/db/server_options.h:30, from src/mongo/base/secure_allocator.h:40, from src/mongo/db/auth/authorization_manager.h:35, from src/mongo/db/auth/authorization_session.h:38, from src/mongo/db/free_mon/free_mon_commands.cpp:31: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call ar rcsTD build/fedora/mongo/db/query/libquery_planner.a build/fedora/mongo/db/query/canonical_query.o build/fedora/mongo/db/query/query_settings.o build/fedora/mongo/db/query/index_entry.o build/fedora/mongo/db/query/index_tag.o build/fedora/mongo/db/query/parsed_projection.o build/fedora/mongo/db/query/plan_cache.o build/fedora/mongo/db/query/plan_cache_indexability.o build/fedora/mongo/db/query/plan_enumerator.o build/fedora/mongo/db/query/planner_access.o build/fedora/mongo/db/query/planner_analysis.o build/fedora/mongo/db/query/planner_ixselect.o build/fedora/mongo/db/query/query_planner.o build/fedora/mongo/db/query/query_planner_common.o build/fedora/mongo/db/query/query_solution.o Skipping ranlib for thin archive build/fedora/mongo/db/query/libquery_planner.a g++ -o build/fedora/third_party/mozjs-45/extract/js/src/perf/pm_stub.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -Wno-non-virtual-dtor -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -include js-confdefs.h -Wno-invalid-offsetof -fPIE -DIMPL_MFBT -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=1 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora/third_party/mozjs-45/extract/js/src -Isrc/third_party/mozjs-45/extract/js/src -Ibuild/fedora/third_party/mozjs-45/extract/mfbt -Isrc/third_party/mozjs-45/extract/mfbt -Ibuild/fedora/third_party/mozjs-45/extract/intl/icu/source/common -Isrc/third_party/mozjs-45/extract/intl/icu/source/common -Ibuild/fedora/third_party/mozjs-45/include -Isrc/third_party/mozjs-45/include -Ibuild/fedora/third_party/mozjs-45/mongo_sources -Isrc/third_party/mozjs-45/mongo_sources -Ibuild/fedora/third_party/mozjs-45/platform/x86_64/linux/build -Isrc/third_party/mozjs-45/platform/x86_64/linux/build -Ibuild/fedora/third_party/mozjs-45/platform/x86_64/linux/include -Isrc/third_party/mozjs-45/platform/x86_64/linux/include src/third_party/mozjs-45/extract/js/src/perf/pm_stub.cpp g++ -o build/fedora/third_party/icu4c-57.1/source/i18n/rulebasedcollator.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/rulebasedcollator.cpp ar rcsTD build/fedora/mongo/db/free_mon/libfree_mon_mongod.a build/fedora/mongo/db/free_mon/free_mon_commands.o build/fedora/mongo/db/free_mon/free_mon_mongod.o build/fedora/mongo/db/free_mon/free_mon_options.o build/fedora/mongo/db/free_mon/free_mon_status.o build/fedora/mongo/db/free_mon/http_client_curl.o Skipping ranlib for thin archive build/fedora/mongo/db/free_mon/libfree_mon_mongod.a g++ -o build/fedora/third_party/icu4c-57.1/source/common/dtintrv.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/dtintrv.cpp g++ -o build/fedora/mongo/db/index/index_access_method.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/index/index_access_method.cpp g++ -o build/fedora/mongo/db/dbdirectclient.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/dbdirectclient.cpp In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/bson/bsonobj.h:44, from src/mongo/bson/bsonobj_comparator_interface.h:32, from src/mongo/db/index/btree_key_generator.h:35, from src/mongo/db/index/btree_access_method.h:33, from src/mongo/db/index/index_access_method.cpp:33: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/plan_cache.h:35, from src/mongo/db/catalog/collection_info_cache.h:33, from src/mongo/db/catalog/collection.h:41, from src/mongo/db/catalog/collection_impl.h:32, from src/mongo/db/index/index_access_method.cpp:40: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/db/dbdirectclient.cpp:38: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/client/connection_string.h:38, from src/mongo/client/dbclientinterface.h:34, from src/mongo/db/dbdirectclient.h:31, from src/mongo/db/dbdirectclient.cpp:33: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, unsigned int, mongo::StringMapTraits>': src/mongo/db/op_observer.h:310:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call ar rcsTD build/fedora/mongo/db/libdbdirectclient.a build/fedora/mongo/db/dbdirectclient.o Skipping ranlib for thin archive build/fedora/mongo/db/libdbdirectclient.a g++ -o build/fedora/mongo/util/net/ssl_stream.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/asio-master/asio/include -Ibuild/fedora -Isrc src/mongo/util/net/ssl_stream.cpp g++ -o build/fedora/mongo/db/update/set_node.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/update/set_node.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/document_comparator.h:32, from src/mongo/db/pipeline/expression_context.h:41, from src/mongo/db/update/update_leaf_node.h:31, from src/mongo/db/update/modifier_node.h:31, from src/mongo/db/update/set_node.h:31, from src/mongo/db/update/set_node.cpp:31: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/bson/bsonobj.h:44, from src/mongo/db/pipeline/expression_context.h:37: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/update/path_support.h:39, from src/mongo/db/update/set_node.cpp:33: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call g++ -o build/fedora/mongo/db/update/modifier_node.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/update/modifier_node.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/document_comparator.h:32, from src/mongo/db/pipeline/expression_context.h:41, from src/mongo/db/update/update_leaf_node.h:31, from src/mongo/db/update/modifier_node.h:31, from src/mongo/db/update/modifier_node.cpp:31: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/bson/bsonobj.h:44, from src/mongo/db/pipeline/expression_context.h:37: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/update/path_support.h:39, from src/mongo/db/update/modifier_node.cpp:34: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call ar rcsTD build/fedora/mongo/db/index/libindex_access_method.a build/fedora/mongo/db/index/index_access_method.o Skipping ranlib for thin archive build/fedora/mongo/db/index/libindex_access_method.a g++ -o build/fedora/mongo/db/update/modifier_table.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/update/modifier_table.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/document_comparator.h:32, from src/mongo/db/pipeline/expression_context.h:41, from src/mongo/db/update/update_leaf_node.h:31, from src/mongo/db/update/modifier_table.h:31, from src/mongo/db/update/modifier_table.cpp:29: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/bson/bsonobj.h:44, from src/mongo/db/pipeline/expression_context.h:37: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/mongo/db/update/object_replace_node.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/update/object_replace_node.cpp src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ gcc -o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_mul.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -DUSE_COMPILER_F80_TYPE=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -Dlinux=1 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_mul.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C ar rcsTD build/fedora/mongo/db/update/libupdate.a build/fedora/mongo/db/update/addtoset_node.o build/fedora/mongo/db/update/arithmetic_node.o build/fedora/mongo/db/update/array_culling_node.o build/fedora/mongo/db/update/bit_node.o build/fedora/mongo/db/update/compare_node.o build/fedora/mongo/db/update/current_date_node.o build/fedora/mongo/db/update/modifier_node.o build/fedora/mongo/db/update/modifier_table.o build/fedora/mongo/db/update/object_replace_node.o build/fedora/mongo/db/update/pop_node.o build/fedora/mongo/db/update/pull_node.o build/fedora/mongo/db/update/pullall_node.o build/fedora/mongo/db/update/push_node.o build/fedora/mongo/db/update/rename_node.o build/fedora/mongo/db/update/set_node.o build/fedora/mongo/db/update/unset_node.o build/fedora/mongo/db/update/update_array_node.o build/fedora/mongo/db/update/update_internal_node.o build/fedora/mongo/db/update/update_leaf_node.o build/fedora/mongo/db/update/update_node.o build/fedora/mongo/db/update/update_object_node.o Skipping ranlib for thin archive build/fedora/mongo/db/update/libupdate.a gcc -o build/fedora/third_party/timelib-2018.01alpha1/parse_date.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -DHAVE_GETTIMEOFDAY -DHAVE_STRING_H -DHAVE_DIRENT_H -DHAVE_SYS_TIME_H -DHAVE_UNISTD_H -D_GNU_SOURCE -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/timelib-2018.01alpha1 src/third_party/timelib-2018.01alpha1/parse_date.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C gcc -o build/fedora/third_party/timelib-2018.01alpha1/unixtime2tm.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -DHAVE_GETTIMEOFDAY -DHAVE_STRING_H -DHAVE_DIRENT_H -DHAVE_SYS_TIME_H -DHAVE_UNISTD_H -D_GNU_SOURCE -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/timelib-2018.01alpha1 src/third_party/timelib-2018.01alpha1/unixtime2tm.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C gcc -o build/fedora/third_party/timelib-2018.01alpha1/tm2unixtime.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -DHAVE_GETTIMEOFDAY -DHAVE_STRING_H -DHAVE_DIRENT_H -DHAVE_SYS_TIME_H -DHAVE_UNISTD_H -D_GNU_SOURCE -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/timelib-2018.01alpha1 src/third_party/timelib-2018.01alpha1/tm2unixtime.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C g++ -o build/fedora/third_party/icu4c-57.1/source/common/unistr_titlecase_brkiter.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/unistr_titlecase_brkiter.cpp ar rcsTD build/fedora/mongo/s/libis_mongos.a build/fedora/mongo/s/is_mongos.o Skipping ranlib for thin archive build/fedora/mongo/s/libis_mongos.a gcc -o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_minmax.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -DUSE_COMPILER_F80_TYPE=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -Dlinux=1 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_minmax.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C g++ -o build/fedora/mongo/db/auth/role_name.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/auth/role_name.cpp g++ -o build/fedora/mongo/db/repl/repl_set_config_checks.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/repl/repl_set_config_checks.cpp In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/client/connection_string.h:38, from src/mongo/db/repl/repl_set_config.h:36, from src/mongo/db/repl/repl_set_config_checks.cpp:35: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::repl::ReplSetTagPattern, mongo::StringMapTraits>': src/mongo/db/repl/repl_set_config.h:402:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::repl::ReplSetTagPattern; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::repl::ReplSetTagPattern; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::repl::ReplSetTagPattern; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::repl::ReplSetTagPattern; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ gcc -o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_to_uint16.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -DUSE_COMPILER_F80_TYPE=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -Dlinux=1 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_to_uint16.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C g++ -o build/fedora/third_party/icu4c-57.1/source/common/ucnvmbcs.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/ucnvmbcs.cpp gcc -o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_tanh.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -DUSE_COMPILER_F80_TYPE=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -Dlinux=1 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_tanh.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C gcc -o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_fmod.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -DUSE_COMPILER_F80_TYPE=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -Dlinux=1 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_fmod.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C ar rcsTD build/fedora/mongo/db/storage/devnull/libstorage_devnull.a build/fedora/mongo/db/storage/devnull/devnull_init.o Skipping ranlib for thin archive build/fedora/mongo/db/storage/devnull/libstorage_devnull.a gcc -o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_sin.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -DUSE_COMPILER_F80_TYPE=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -Dlinux=1 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_sin.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C g++ -o build/fedora/mongo/db/repl/replication_coordinator_impl.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/repl/replication_coordinator_impl.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/query_solution.h:36, from src/mongo/db/query/plan_executor.h:37, from src/mongo/db/clientcursor.h:38, from src/mongo/client/fetcher.h:41, from src/mongo/db/repl/collection_cloner.h:39, from src/mongo/db/repl/initial_syncer.h:42, from src/mongo/db/repl/replication_coordinator_impl.h:38, from src/mongo/db/repl/replication_coordinator_impl.cpp:33: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/bson/timestamp.h:31, from src/mongo/db/repl/replication_coordinator_impl.h:36: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36, from src/mongo/db/query/plan_cache.h:35, from src/mongo/db/query/query_solution.h:38: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, unsigned int, mongo::StringMapTraits>': src/mongo/db/op_observer.h:310:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::repl::ReplSetTagPattern, mongo::StringMapTraits>': src/mongo/db/repl/repl_set_config.h:402:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::repl::ReplSetTagPattern; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::repl::ReplSetTagPattern; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::repl::ReplSetTagPattern; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::repl::ReplSetTagPattern; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call g++ -o build/fedora/third_party/icu4c-57.1/source/common/bmpset.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/bmpset.cpp g++ -o build/fedora/third_party/mozjs-45/extract/js/src/frontend/Parser.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -Wno-non-virtual-dtor -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -include js-confdefs.h -Wno-invalid-offsetof -fPIE -DIMPL_MFBT -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=1 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora/third_party/mozjs-45/extract/js/src -Isrc/third_party/mozjs-45/extract/js/src -Ibuild/fedora/third_party/mozjs-45/extract/mfbt -Isrc/third_party/mozjs-45/extract/mfbt -Ibuild/fedora/third_party/mozjs-45/extract/intl/icu/source/common -Isrc/third_party/mozjs-45/extract/intl/icu/source/common -Ibuild/fedora/third_party/mozjs-45/include -Isrc/third_party/mozjs-45/include -Ibuild/fedora/third_party/mozjs-45/mongo_sources -Isrc/third_party/mozjs-45/mongo_sources -Ibuild/fedora/third_party/mozjs-45/platform/x86_64/linux/build -Isrc/third_party/mozjs-45/platform/x86_64/linux/build -Ibuild/fedora/third_party/mozjs-45/platform/x86_64/linux/include -Isrc/third_party/mozjs-45/platform/x86_64/linux/include src/third_party/mozjs-45/extract/js/src/frontend/Parser.cpp In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/frontend/TokenStream.h:23, from src/third_party/mozjs-45/extract/js/src/frontend/ParseNode.h:12, from src/third_party/mozjs-45/extract/js/src/frontend/FullParseHandler.h:13, from src/third_party/mozjs-45/extract/js/src/frontend/Parser.h:17, from src/third_party/mozjs-45/extract/js/src/frontend/Parser-inl.h:10, from src/third_party/mozjs-45/extract/js/src/frontend/Parser.cpp:20: src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1040:19: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 1040 | memcpy(&elements_[dstStart], src, count * sizeof(HeapSlot)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/String.h:18, from src/third_party/mozjs-45/extract/js/src/frontend/BytecodeCompiler.h:12, from src/third_party/mozjs-45/extract/js/src/frontend/Parser.h:16: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here 650 | class HeapSlot : public WriteBarrieredBase | ^~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1048:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 1048 | memcpy(&elements_[dstStart], src, count * sizeof(HeapSlot)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here 650 | class HeapSlot : public WriteBarrieredBase | ^~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1082:20: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 1082 | memmove(elements_ + dstStart, elements_ + srcStart, count * sizeof(HeapSlot)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here 650 | class HeapSlot : public WriteBarrieredBase | ^~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1094:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 1094 | memmove(elements_ + dstStart, elements_ + srcStart, count * sizeof(Value)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here 650 | class HeapSlot : public WriteBarrieredBase | ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/ScopeObject-inl.h:13, from src/third_party/mozjs-45/extract/js/src/frontend/Parser.cpp:43: src/third_party/mozjs-45/extract/js/src/jsobjinlines.h: In static member function 'static JSObject* JSObject::create(js::ExclusiveContext*, js::gc::AllocKind, js::gc::InitialHeap, js::HandleShape, js::HandleObjectGroup)': src/third_party/mozjs-45/extract/js/src/jsobjinlines.h:355:15: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::HeapSlot'; use assignment instead [-Wclass-memaccess] 355 | memset(obj->as().fixedSlots(), 0, size - sizeof(js::NativeObject)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here 650 | class HeapSlot : public WriteBarrieredBase | ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/extract/js/src/frontend/Parser.h:14: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JSSubString]': src/third_party/mozjs-45/extract/js/src/jsstr.h:73:37: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JSSubString'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/String.h:16: src/third_party/mozjs-45/extract/js/src/jsstr.h:68:8: note: 'struct JSSubString' declared here 68 | struct JSSubString { | ^~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': src/third_party/mozjs-45/include/js/MemoryMetrics.h:40:34: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/gc/StoreBuffer.h:18, from src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:13: src/third_party/mozjs-45/include/js/MemoryMetrics.h:31:8: note: 'struct JS::TabSizes' declared here 31 | struct TabSizes | ^~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::ServoSizes]': src/third_party/mozjs-45/include/js/MemoryMetrics.h:71:36: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::ServoSizes'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/MemoryMetrics.h:59:8: note: 'struct JS::ServoSizes' declared here 59 | struct ServoSizes | ^~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': src/third_party/mozjs-45/extract/js/src/vm/String.h:1092:25: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/String.h:1074:7: note: 'class js::StaticStrings' declared here 1074 | class StaticStrings | ^~~~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::PreliminaryObjectArray]': src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:808:25: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::PreliminaryObjectArray'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:23, from src/third_party/mozjs-45/extract/js/src/jsscript.h:24: src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:796:7: note: 'class js::PreliminaryObjectArray' declared here 796 | class PreliminaryObjectArray | ^~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::TypeNewScript]': src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:939:39: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::TypeNewScript' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:886:7: note: 'class js::TypeNewScript' declared here 886 | class TypeNewScript | ^~~~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:699:25: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:686:8: note: 'struct js::jit::IonScriptCounts' declared here 686 | struct IonScriptCounts | ^~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': src/third_party/mozjs-45/extract/js/src/vm/Shape.h:392:25: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsobj.h:27, from src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:16: src/third_party/mozjs-45/extract/js/src/vm/Shape.h:323:7: note: 'class js::BaseShape' declared here 323 | class BaseShape : public gc::TenuredCell | ^~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:293:40: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:244:7: note: 'class js::NewObjectCache' declared here 244 | class NewObjectCache | ^~~~~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::Address]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:290:33: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::Address'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/Safepoints.h:12, from src/third_party/mozjs-45/extract/js/src/jit/JitFrames.h:16, from src/third_party/mozjs-45/extract/js/src/jscntxtinlines.h:16, from src/third_party/mozjs-45/extract/js/src/frontend/ParseMaps-inl.h:12, from src/third_party/mozjs-45/extract/js/src/frontend/Parser-inl.h:12: src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:282:8: note: 'struct js::jit::Address' declared here 282 | struct Address | ^~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::BaseIndex]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:306:35: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::BaseIndex'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:295:8: note: 'struct js::jit::BaseIndex' declared here 295 | struct BaseIndex | ^~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::CodeOffsetJump]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:513:25: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::jit::CodeOffsetJump'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:491:7: note: 'class js::jit::CodeOffsetJump' declared here 491 | class CodeOffsetJump | ^~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/include/js/TracingAPI.h:12, from src/third_party/mozjs-45/include/js/TraceableVector.h:13, from src/third_party/mozjs-45/extract/js/src/NamespaceImports.h:16, from src/third_party/mozjs-45/extract/js/src/frontend/BytecodeCompiler.h:10: src/third_party/mozjs-45/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': src/third_party/mozjs-45/include/js/HashTable.h:186:67: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' src/third_party/mozjs-45/extract/js/src/vm/SPSProfiler.h:256:18: required from here src/third_party/mozjs-45/include/js/HashTable.h:1550:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] 1550 | memset(table, 0, sizeof(*table) * capacity()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/HashTable.h:722:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here 722 | class HashTableEntry | ^~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/gc/StoreBuffer.h:16: src/third_party/mozjs-45/extract/js/src/ds/LifoAlloc.h: In instantiation of 'T* js::LifoAllocPolicy::maybe_pod_calloc(size_t) [with T = js::detail::HashTableEntry; js::Fallibility fb = js::Fallible; size_t = long unsigned int]': src/third_party/mozjs-45/include/js/HashTable.h:1144:54: required from 'static js::detail::HashTable::Entry* js::detail::HashTable::createTable(AllocPolicy&, uint32_t, FailureBehavior) [with T = JSAtom* const; HashPolicy = js::HashSet, js::LifoAllocPolicy >::SetOps; AllocPolicy = js::LifoAllocPolicy; Entry = js::detail::HashTableEntry; uint32_t = unsigned int]' src/third_party/mozjs-45/include/js/HashTable.h:1212:28: required from 'bool js::detail::HashTable::init(uint32_t) [with T = JSAtom* const; HashPolicy = js::HashSet, js::LifoAllocPolicy >::SetOps; AllocPolicy = js::LifoAllocPolicy; uint32_t = unsigned int]' src/third_party/mozjs-45/include/js/HashTable.h:331:73: required from 'bool js::HashSet::init(uint32_t) [with T = JSAtom*; HashPolicy = js::DefaultHasher; AllocPolicy = js::LifoAllocPolicy; uint32_t = unsigned int]' src/third_party/mozjs-45/extract/js/src/frontend/Parser.cpp:2354:59: required from here src/third_party/mozjs-45/extract/js/src/ds/LifoAlloc.h:559:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::detail::HashTableEntry' with no trivial copy-assignment [-Wclass-memaccess] 559 | memset(p, 0, numElems * sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/HashTable.h:722:7: note: 'class js::detail::HashTableEntry' declared here 722 | class HashTableEntry | ^~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': src/third_party/mozjs-45/include/js/HashTable.h:186:67: required from 'void js::HashMap::clear() [with Key = JSAtom*; Value = js::frontend::DefinitionList; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' src/third_party/mozjs-45/extract/js/src/ds/InlineMap.h:63:22: required from 'bool js::InlineMap::switchToMap() [with K = JSAtom*; V = js::frontend::DefinitionList; long unsigned int InlineElems = 24]' src/third_party/mozjs-45/extract/js/src/ds/InlineMap.h:84:14: required from 'bool js::InlineMap::switchAndAdd(const K&, const V&) [with K = JSAtom*; V = js::frontend::DefinitionList; long unsigned int InlineElems = 24]' src/third_party/mozjs-45/extract/js/src/ds/InlineMap.h:265:24: required from 'bool js::InlineMap::add(AddPtr&, const K&, const V&) [with K = JSAtom*; V = js::frontend::DefinitionList; long unsigned int InlineElems = 24]' src/third_party/mozjs-45/extract/js/src/frontend/ParseMaps.h:457:28: required from 'bool js::frontend::AtomDecls::addUnique(JSAtom*, DefinitionNode) [with ParseHandler = js::frontend::FullParseHandler; DefinitionNode = js::frontend::Definition*]' src/third_party/mozjs-45/extract/js/src/frontend/Parser.cpp:283:30: required from here src/third_party/mozjs-45/include/js/HashTable.h:1550:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] 1550 | memset(table, 0, sizeof(*table) * capacity()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/HashTable.h:722:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here 722 | class HashTableEntry | ^~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': src/third_party/mozjs-45/include/js/HashTable.h:186:67: required from 'void js::HashMap::clear() [with Key = JSAtom*; Value = js::frontend::DefinitionSingle; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' src/third_party/mozjs-45/extract/js/src/ds/InlineMap.h:63:22: required from 'bool js::InlineMap::switchToMap() [with K = JSAtom*; V = js::frontend::DefinitionSingle; long unsigned int InlineElems = 24]' src/third_party/mozjs-45/extract/js/src/ds/InlineMap.h:84:14: required from 'bool js::InlineMap::switchAndAdd(const K&, const V&) [with K = JSAtom*; V = js::frontend::DefinitionSingle; long unsigned int InlineElems = 24]' src/third_party/mozjs-45/extract/js/src/ds/InlineMap.h:265:24: required from 'bool js::InlineMap::add(AddPtr&, const K&, const V&) [with K = JSAtom*; V = js::frontend::DefinitionSingle; long unsigned int InlineElems = 24]' src/third_party/mozjs-45/extract/js/src/frontend/Parser.cpp:1727:26: required from 'typename ParseHandler::DefinitionNode js::frontend::Parser::getOrCreateLexicalDependency(js::frontend::ParseContext*, JSAtom*) [with ParseHandler = js::frontend::FullParseHandler; typename ParseHandler::DefinitionNode = js::frontend::Definition*]' src/third_party/mozjs-45/extract/js/src/frontend/Parser.cpp:1847:56: required from here src/third_party/mozjs-45/include/js/HashTable.h:1550:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] 1550 | memset(table, 0, sizeof(*table) * capacity()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/HashTable.h:722:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here 722 | class HashTableEntry | ^~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/include/js/CallArgs.h:38, from src/third_party/mozjs-45/include/js/CallNonGenericMethod.h:12, from src/third_party/mozjs-45/extract/js/src/NamespaceImports.h:15: In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(js::ExclusiveContext* const&, js::PropertyName*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::frontend::Parser::identifierName(js::frontend::YieldHandling)' at src/third_party/mozjs-45/extract/js/src/frontend/Parser.cpp:8840:24: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'name' in 'MEM[(struct Rooted * *)_21 + 56B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/frontend/Parser.cpp: In member function 'js::frontend::Parser::identifierName(js::frontend::YieldHandling)': src/third_party/mozjs-45/extract/js/src/frontend/Parser.cpp:8840:24: note: 'name' declared here 8840 | RootedPropertyName name(context, tokenStream.currentName()); | ^~~~ src/third_party/mozjs-45/extract/js/src/frontend/Parser.cpp:8840:24: note: 'MEM[(struct ExclusiveContext * const &)this_10(D) + 32]' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(js::ExclusiveContext* const&, js::LazyScript*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::frontend::Parser::checkFunctionDefinition(JS::Handle, js::frontend::ParseNode**, js::frontend::FunctionSyntaxKind, bool*)' at src/third_party/mozjs-45/extract/js/src/frontend/Parser.cpp:2383:71: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'lazyOuter' in 'MEM[(struct Rooted * *)_207 + 88B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/frontend/Parser.cpp: In member function 'js::frontend::Parser::checkFunctionDefinition(JS::Handle, js::frontend::ParseNode**, js::frontend::FunctionSyntaxKind, bool*)': src/third_party/mozjs-45/extract/js/src/frontend/Parser.cpp:2383:25: note: 'lazyOuter' declared here 2383 | Rooted lazyOuter(context, handler.lazyOuterFunction()); | ^~~~~~~~~ src/third_party/mozjs-45/extract/js/src/frontend/Parser.cpp:2383:25: note: 'MEM[(struct ExclusiveContext * const &)this_87(D) + 32]' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(js::ExclusiveContext* const&, js::StaticBlockObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::frontend::Parser::pushLexicalScope(js::frontend::Parser::AutoPushStmtInfoPC&)' at src/third_party/mozjs-45/extract/js/src/frontend/Parser.cpp:4127:29: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'blockObj' in 'MEM[(struct Rooted * *)_14 + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/frontend/Parser.cpp: In member function 'js::frontend::Parser::pushLexicalScope(js::frontend::Parser::AutoPushStmtInfoPC&)': src/third_party/mozjs-45/extract/js/src/frontend/Parser.cpp:4127:29: note: 'blockObj' declared here 4127 | RootedStaticBlockObject blockObj(context, StaticBlockObject::create(context)); | ^~~~~~~~ src/third_party/mozjs-45/extract/js/src/frontend/Parser.cpp:4127:29: note: 'MEM[(struct ExclusiveContext * const &)this_5(D) + 32]' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(js::ExclusiveContext* const&, js::StaticBlockObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::frontend::Parser::pushLexicalScope(js::frontend::Parser::AutoPushStmtInfoPC&)' at src/third_party/mozjs-45/extract/js/src/frontend/Parser.cpp:4127:29: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'blockObj' in 'MEM[(struct Rooted * *)_14 + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/frontend/Parser.cpp: In member function 'js::frontend::Parser::pushLexicalScope(js::frontend::Parser::AutoPushStmtInfoPC&)': src/third_party/mozjs-45/extract/js/src/frontend/Parser.cpp:4127:29: note: 'blockObj' declared here 4127 | RootedStaticBlockObject blockObj(context, StaticBlockObject::create(context)); | ^~~~~~~~ src/third_party/mozjs-45/extract/js/src/frontend/Parser.cpp:4127:29: note: 'MEM[(struct ExclusiveContext * const &)this_5(D) + 32]' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(js::ExclusiveContext* const&, JSFunction*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::frontend::Parser::functionDef(js::frontend::InHandling, js::frontend::YieldHandling, JS::Handle, js::frontend::FunctionSyntaxKind, js::GeneratorKind, js::frontend::Parser::InvokedPrediction)' at src/third_party/mozjs-45/extract/js/src/frontend/Parser.cpp:2623:20: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'fun' in 'MEM[(struct Rooted * *)_68 + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/frontend/Parser.cpp: In member function 'js::frontend::Parser::functionDef(js::frontend::InHandling, js::frontend::YieldHandling, JS::Handle, js::frontend::FunctionSyntaxKind, js::GeneratorKind, js::frontend::Parser::InvokedPrediction)': src/third_party/mozjs-45/extract/js/src/frontend/Parser.cpp:2623:20: note: 'fun' declared here 2623 | RootedFunction fun(context, newFunction(funName, kind, generatorKind, proto)); | ^~~ src/third_party/mozjs-45/extract/js/src/frontend/Parser.cpp:2623:20: note: 'MEM[(struct ExclusiveContext * const &)this_24(D) + 32]' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(js::ExclusiveContext* const&, JSFunction*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::frontend::Parser::generatorComprehensionLambda(js::GeneratorKind, unsigned int, js::frontend::ParseNode*)' at src/third_party/mozjs-45/extract/js/src/frontend/Parser.cpp:8159:20: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'fun' in 'MEM[(struct Rooted * *)_113 + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/frontend/Parser.cpp: In member function 'js::frontend::Parser::generatorComprehensionLambda(js::GeneratorKind, unsigned int, js::frontend::ParseNode*)': src/third_party/mozjs-45/extract/js/src/frontend/Parser.cpp:8159:20: note: 'fun' declared here 8159 | RootedFunction fun(context, newFunction(/* atom = */ nullptr, Expression, | ^~~ src/third_party/mozjs-45/extract/js/src/frontend/Parser.cpp:8159:20: note: 'MEM[(struct ExclusiveContext * const &)this_44(D) + 32]' declared here ar rcsTD build/fedora/third_party/timelib-2018.01alpha1/libtimelib.a build/fedora/third_party/timelib-2018.01alpha1/astro.o build/fedora/third_party/timelib-2018.01alpha1/dow.o build/fedora/third_party/timelib-2018.01alpha1/interval.o build/fedora/third_party/timelib-2018.01alpha1/parse_date.o build/fedora/third_party/timelib-2018.01alpha1/parse_iso_intervals.o build/fedora/third_party/timelib-2018.01alpha1/parse_tz.o build/fedora/third_party/timelib-2018.01alpha1/parse_zoneinfo.o build/fedora/third_party/timelib-2018.01alpha1/timelib.o build/fedora/third_party/timelib-2018.01alpha1/tm2unixtime.o build/fedora/third_party/timelib-2018.01alpha1/unixtime2tm.o Skipping ranlib for thin archive build/fedora/third_party/timelib-2018.01alpha1/libtimelib.a g++ -o build/fedora/mongo/db/range_arithmetic.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/range_arithmetic.cpp In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(js::ExclusiveContext* const&, js::StaticWithObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::frontend::Parser::withStatement(js::frontend::YieldHandling)' at src/third_party/mozjs-45/extract/js/src/frontend/Parser.cpp:6153:84: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'staticWith' in 'MEM[(struct Rooted * *)_65 + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/frontend/Parser.cpp: In member function 'js::frontend::Parser::withStatement(js::frontend::YieldHandling)': src/third_party/mozjs-45/extract/js/src/frontend/Parser.cpp:6153:31: note: 'staticWith' declared here 6153 | Rooted staticWith(context, StaticWithObject::create(context)); | ^~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/frontend/Parser.cpp:6153:31: note: 'MEM[(struct ExclusiveContext * const &)this_31(D) + 32]' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(js::ExclusiveContext* const&, JSFunction*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::frontend::Parser::functionDef(js::frontend::InHandling, js::frontend::YieldHandling, JS::Handle, js::frontend::FunctionSyntaxKind, js::GeneratorKind, js::frontend::Parser::InvokedPrediction)' at src/third_party/mozjs-45/extract/js/src/frontend/Parser.cpp:2623:20: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'fun' in 'MEM[(struct Rooted * *)_61 + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/frontend/Parser.cpp: In member function 'js::frontend::Parser::functionDef(js::frontend::InHandling, js::frontend::YieldHandling, JS::Handle, js::frontend::FunctionSyntaxKind, js::GeneratorKind, js::frontend::Parser::InvokedPrediction)': src/third_party/mozjs-45/extract/js/src/frontend/Parser.cpp:2623:20: note: 'fun' declared here 2623 | RootedFunction fun(context, newFunction(funName, kind, generatorKind, proto)); | ^~~ src/third_party/mozjs-45/extract/js/src/frontend/Parser.cpp:2623:20: note: 'MEM[(struct ExclusiveContext * const &)this_21(D) + 32]' declared here ar rcsTD build/fedora/mongo/db/librange_arithmetic.a build/fedora/mongo/db/range_arithmetic.o Skipping ranlib for thin archive build/fedora/mongo/db/librange_arithmetic.a g++ -o build/fedora/mongo/db/sessions_collection_standalone.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/sessions_collection_standalone.cpp In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(js::ExclusiveContext* const&, JSFunction*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::frontend::Parser::generatorComprehensionLambda(js::GeneratorKind, unsigned int, js::frontend::SyntaxParseHandler::Node)' at src/third_party/mozjs-45/extract/js/src/frontend/Parser.cpp:8159:20: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'fun' in 'MEM[(struct Rooted * *)_65 + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/frontend/Parser.cpp: In member function 'js::frontend::Parser::generatorComprehensionLambda(js::GeneratorKind, unsigned int, js::frontend::SyntaxParseHandler::Node)': src/third_party/mozjs-45/extract/js/src/frontend/Parser.cpp:8159:20: note: 'fun' declared here 8159 | RootedFunction fun(context, newFunction(/* atom = */ nullptr, Expression, | ^~~ src/third_party/mozjs-45/extract/js/src/frontend/Parser.cpp:8159:20: note: 'MEM[(struct ExclusiveContext * const &)this_26(D) + 32]' declared here g++ -o build/fedora/mongo/db/pipeline/cluster_aggregation_planner.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/pipeline/cluster_aggregation_planner.cpp ar rcsTD build/fedora/mongo/db/libsessions_collection_standalone.a build/fedora/mongo/db/sessions_collection_standalone.o Skipping ranlib for thin archive build/fedora/mongo/db/libsessions_collection_standalone.a g++ -o build/fedora/third_party/icu4c-57.1/source/i18n/dcfmtsym.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/dcfmtsym.cpp ar rcsTD build/fedora/third_party/libshim_pcrecpp.a build/fedora/third_party/shim_pcrecpp.o Skipping ranlib for thin archive build/fedora/third_party/libshim_pcrecpp.a g++ -o build/fedora/third_party/icu4c-57.1/source/i18n/ucol.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/ucol.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/matcher/expression_parser.h:35, from src/mongo/db/pipeline/pipeline.h:36, from src/mongo/db/pipeline/cluster_aggregation_planner.h:31, from src/mongo/db/pipeline/cluster_aggregation_planner.cpp:31: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ g++ -o build/fedora/mongo/db/auth/authz_manager_external_state_local.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/auth/authz_manager_external_state_local.cpp In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/bson/bsonobj.h:44, from src/mongo/db/matcher/expression.h:36: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call ar rcsTD build/fedora/mongo/db/auth/libauth_impl_internal_local.a build/fedora/mongo/db/auth/authz_manager_external_state_local.o Skipping ranlib for thin archive build/fedora/mongo/db/auth/libauth_impl_internal_local.a g++ -o build/fedora/mongo/db/auth/sasl_commands.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/auth/sasl_commands.cpp g++ -o build/fedora/third_party/icu4c-57.1/source/common/loclikely.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/loclikely.cpp In file included from /usr/include/string.h:535, from src/third_party/icu4c-57.1/source/common/cmemory.h:30, from src/third_party/icu4c-57.1/source/common/loclikely.cpp:26: In function 'memmove', inlined from 'appendTag(char const*, int, char*, int*)' at src/third_party/icu4c-57.1/source/common/loclikely.cpp:103:5, inlined from 'createTagStringWithAlternates(char const*, int, char const*, int, char const*, int, char const*, int, char const*, char*, int, UErrorCode*)' at src/third_party/icu4c-57.1/source/common/loclikely.cpp:245:22: /usr/include/bits/string_fortified.h:36:34: warning: 'memcpy' offset [-2147483648, -1] is out of the bounds [0, 157] of object 'tagBuffer' with type 'char[157]' [-Warray-bounds] 36 | return __builtin___memmove_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 37 | __glibc_objsize0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/icu4c-57.1/source/common/loclikely.cpp: In function 'createTagStringWithAlternates(char const*, int, char const*, int, char const*, int, char const*, int, char const*, char*, int, UErrorCode*)': src/third_party/icu4c-57.1/source/common/loclikely.cpp:184:14: note: 'tagBuffer' declared here 184 | char tagBuffer[ULOC_FULLNAME_CAPACITY]; | ^~~~~~~~~ gcc -o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_round_integral.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -DUSE_COMPILER_F80_TYPE=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -Dlinux=1 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_round_integral.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C g++ -o build/fedora/third_party/shim_mozjs.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS src/third_party/shim_mozjs.cpp g++ -o build/fedora/third_party/icu4c-57.1/source/common/locdispnames.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/locdispnames.cpp g++ -o build/fedora/third_party/icu4c-57.1/source/common/ustrcase_locale.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/ustrcase_locale.cpp g++ -o build/fedora/mongo/db/bson/dotted_path_support.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/bson/dotted_path_support.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/db/auth/sasl_mechanism_registry.h:37, from src/mongo/db/auth/authentication_session.h:33, from src/mongo/db/auth/sasl_commands.cpp:43: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/bson/mutable/element.h:34, from src/mongo/bson/mutable/const_element.h:30, from src/mongo/bson/mutable/algorithm.h:35, from src/mongo/db/auth/sasl_commands.cpp:38: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ ar rcsTD build/fedora/mongo/db/bson/libdotted_path_support.a build/fedora/mongo/db/bson/dotted_path_support.o Skipping ranlib for thin archive build/fedora/mongo/db/bson/libdotted_path_support.a gcc -o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_minmax.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -DUSE_COMPILER_F80_TYPE=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -Dlinux=1 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_minmax.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C g++ -o build/fedora/third_party/icu4c-57.1/source/i18n/digitformatter.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/digitformatter.cpp g++ -o build/fedora/third_party/icu4c-57.1/source/i18n/uspoof_conf.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/uspoof_conf.cpp src/mongo/db/auth/sasl_commands.cpp: In function 'mongo::StatusWith > mongo::{anonymous}::doSaslStart(mongo::OperationContext*, const std::string&, const mongo::BSONObj&, mongo::BSONObjBuilder*)': src/mongo/db/auth/sasl_commands.cpp:241:21: warning: redundant move in return statement [-Wredundant-move] 241 | return std::move(session); | ~~~~~~~~~^~~~~~~~~ src/mongo/db/auth/sasl_commands.cpp:241:21: note: remove 'std::move' call ar rcsTD build/fedora/mongo/db/libcurop.a build/fedora/mongo/db/curop.o Skipping ranlib for thin archive build/fedora/mongo/db/libcurop.a g++ -o build/fedora/third_party/shim_stemmer.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS src/third_party/shim_stemmer.cpp ar rcsTD build/fedora/third_party/libshim_stemmer.a build/fedora/third_party/shim_stemmer.o Skipping ranlib for thin archive build/fedora/third_party/libshim_stemmer.a g++ -o build/fedora/third_party/icu4c-57.1/source/i18n/search.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/search.cpp g++ -o build/fedora/mongo/db/query/collation/collation_index_key.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/query/collation/collation_index_key.cpp In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call gcc -o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_pow.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -DUSE_COMPILER_F80_TYPE=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -Dlinux=1 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_pow.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C gcc -o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_llrintd.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -DUSE_COMPILER_F80_TYPE=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -Dlinux=1 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_llrintd.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C gcc -o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_tanh.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -DUSE_COMPILER_F80_TYPE=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -Dlinux=1 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_tanh.c gcc -o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_scalbl.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -DUSE_COMPILER_F80_TYPE=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -Dlinux=1 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_scalbl.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C gcc -o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_logbd.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -DUSE_COMPILER_F80_TYPE=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -Dlinux=1 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_logbd.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C gcc -o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_compare.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -DUSE_COMPILER_F80_TYPE=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -Dlinux=1 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_compare.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C gcc -o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_atan.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -DUSE_COMPILER_F80_TYPE=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -Dlinux=1 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_atan.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C gcc -o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid_dpd.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -DUSE_COMPILER_F80_TYPE=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -Dlinux=1 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid_dpd.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C gcc -o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_atanh.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -DUSE_COMPILER_F80_TYPE=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -Dlinux=1 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_atanh.c gcc -o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_mul.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -DUSE_COMPILER_F80_TYPE=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -Dlinux=1 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_mul.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C gcc -o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_sqrt.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -DUSE_COMPILER_F80_TYPE=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -Dlinux=1 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_sqrt.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C gcc -o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_log2.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -DUSE_COMPILER_F80_TYPE=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -Dlinux=1 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_log2.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C gcc -o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_log.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -DUSE_COMPILER_F80_TYPE=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -Dlinux=1 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_log.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C gcc -o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_lgamma.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -DUSE_COMPILER_F80_TYPE=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -Dlinux=1 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_lgamma.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C gcc -o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_lround.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -DUSE_COMPILER_F80_TYPE=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -Dlinux=1 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_lround.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C gcc -o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_quantize.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -DUSE_COMPILER_F80_TYPE=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -Dlinux=1 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_quantize.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C gcc -o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_to_int64.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -DUSE_COMPILER_F80_TYPE=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -Dlinux=1 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_to_int64.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C gcc -o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_to_int16.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -DUSE_COMPILER_F80_TYPE=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -Dlinux=1 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_to_int16.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C gcc -o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_sin.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -DUSE_COMPILER_F80_TYPE=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -Dlinux=1 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_sin.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C gcc -o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_erf.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -DUSE_COMPILER_F80_TYPE=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -Dlinux=1 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_erf.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C gcc -o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_erfc.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -DUSE_COMPILER_F80_TYPE=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -Dlinux=1 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_erfc.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C gcc -o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_cbrt.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -DUSE_COMPILER_F80_TYPE=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -Dlinux=1 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_cbrt.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C gcc -o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_asin.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -DUSE_COMPILER_F80_TYPE=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -Dlinux=1 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_asin.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C gcc -o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_fdimd.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -DUSE_COMPILER_F80_TYPE=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -Dlinux=1 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_fdimd.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C gcc -o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_to_bid128.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -DUSE_COMPILER_F80_TYPE=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -Dlinux=1 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_to_bid128.c gcc -o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_log10.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -DUSE_COMPILER_F80_TYPE=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -Dlinux=1 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_log10.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C gcc -o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_nearbyintd.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -DUSE_COMPILER_F80_TYPE=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -Dlinux=1 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_nearbyintd.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C gcc -o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_add.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -DUSE_COMPILER_F80_TYPE=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -Dlinux=1 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_add.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C gcc -o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_nearbyintd.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -DUSE_COMPILER_F80_TYPE=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -Dlinux=1 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_nearbyintd.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C gcc -o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_fmod.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -DUSE_COMPILER_F80_TYPE=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -Dlinux=1 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_fmod.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C gcc -o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_exp2.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -DUSE_COMPILER_F80_TYPE=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -Dlinux=1 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_exp2.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C gcc -o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_sinh.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -DUSE_COMPILER_F80_TYPE=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -Dlinux=1 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_sinh.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C gcc -o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_four_over_pi.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -DUSE_COMPILER_F80_TYPE=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -Dlinux=1 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_four_over_pi.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C gcc -o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_fma.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -DUSE_COMPILER_F80_TYPE=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -Dlinux=1 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_fma.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C gcc -o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_ldexp.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -DUSE_COMPILER_F80_TYPE=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -Dlinux=1 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_ldexp.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C gcc -o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_div.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -DUSE_COMPILER_F80_TYPE=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -Dlinux=1 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_div.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C gcc -o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_tgamma.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -DUSE_COMPILER_F80_TYPE=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -Dlinux=1 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_tgamma.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C gcc -o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_cbrt.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -DUSE_COMPILER_F80_TYPE=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -Dlinux=1 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_cbrt.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C gcc -o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_to_int32.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -DUSE_COMPILER_F80_TYPE=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -Dlinux=1 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_to_int32.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C gcc -o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_acosh.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -DUSE_COMPILER_F80_TYPE=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -Dlinux=1 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_acosh.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C gcc -o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_erf.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -DUSE_COMPILER_F80_TYPE=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -Dlinux=1 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_erf.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C gcc -o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_fdimd.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -DUSE_COMPILER_F80_TYPE=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -Dlinux=1 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_fdimd.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C gcc -o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_rem.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -DUSE_COMPILER_F80_TYPE=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -Dlinux=1 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_rem.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C gcc -o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid_feraiseexcept.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -DUSE_COMPILER_F80_TYPE=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -Dlinux=1 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid_feraiseexcept.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C ar rcsTD build/fedora/mongo/util/libprocparser.a build/fedora/mongo/util/procparser.o Skipping ranlib for thin archive build/fedora/mongo/util/libprocparser.a g++ -o build/fedora/third_party/icu4c-57.1/source/i18n/tzgnames.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/tzgnames.cpp g++ -o build/fedora/third_party/icu4c-57.1/source/common/locavailable.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/locavailable.cpp Using tempfile /tmp/tmpbvw5nzr4.lnk for command line: ar rcsTD build/fedora/third_party/IntelRDFPMathLib20U1/libintel_decimal128.a build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_exception.o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_four_over_pi.o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_bessel.o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_bid.o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_cbrt.o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_erf.o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_exp.o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_int.o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_inv_hyper.o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_inv_trig.o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_lgamma.o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_log.o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_mod.o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_ops.o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_ops_64.o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_pow.o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_powi.o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_sqrt.o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_trig.o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/sqrt_tab_t.o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128.o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_2_str_tables.o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_acos.o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_acosh.o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_add.o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_asin.o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_asinh.o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_atan.o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_atan2.o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_atanh.o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_cbrt.o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_compare.o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_cos.o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_cosh.o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_div.o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_erf.o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_erfc.o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_exp.o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_exp10.o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_exp2.o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_expm1.o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_fdimd.o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_fma.o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_fmod.o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_frexp.o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_hypot.o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_ldexp.o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_lgamma.o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_llrintd.o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_log.o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_log10.o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_log1p.o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_log2.o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_logb.o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_logbd.o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_lrintd.o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_lround.o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_minmax.o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_modf.o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_mul.o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_nearbyintd.o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_next.o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_nexttowardd.o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_noncomp.o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_pow.o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_quantexpd.o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_quantize.o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_rem.o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_round_integral.o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_scalb.o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_scalbl.o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_sin.o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_sinh.o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_sqrt.o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_string.o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_tan.o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_tanh.o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_tgamma.o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_to_int16.o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_to_int32.o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_to_int64.o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_to_int8.o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_to_uint16.o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_to_uint32.o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_to_uint64.o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_to_uint8.o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_acos.o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_acosh.o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_add.o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_asin.o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_asinh.o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_atan.o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_atan2.o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_atanh.o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_cbrt.o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_compare.o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_cos.o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_cosh.o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_div.o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_erf.o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_erfc.o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_exp.o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_exp10.o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_exp2.o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_expm1.o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_fdimd.o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_fma.o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_fmod.o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_frexp.o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_hypot.o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_ldexp.o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_lgamma.o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_llrintd.o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_log.o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_log10.o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_log1p.o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_log2.o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_logb.o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_logbd.o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_lrintd.o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_lround.o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_minmax.o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_modf.o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_mul.o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_nearbyintd.o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_next.o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_nexttowardd.o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_noncomp.o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_pow.o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_quantexpd.o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_quantize.o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_rem.o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_round_integral.o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_scalb.o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_scalbl.o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_sin.o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_sinh.o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_sqrt.o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_string.o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_sub.o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_tan.o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_tanh.o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_tgamma.o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_to_bid128.o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_to_bid64.o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_to_int16.o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_to_int32.o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_to_int64.o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_to_int8.o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_to_uint16.o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_to_uint32.o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_to_uint64.o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_to_uint8.o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_acos.o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_acosh.o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_add.o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_asin.o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_asinh.o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_atan.o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_atan2.o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_atanh.o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_cbrt.o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_compare.o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_cos.o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_cosh.o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_div.o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_erf.o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_erfc.o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_exp.o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_exp10.o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_exp2.o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_expm1.o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_fdimd.o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_fma.o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_fmod.o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_frexp.o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_hypot.o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_ldexp.o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_lgamma.o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_llrintd.o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_log.o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_log10.o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_log1p.o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_log2.o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_logb.o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_logbd.o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_lrintd.o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_lround.o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_minmax.o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_modf.o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_mul.o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_nearbyintd.o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_next.o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_nexttowardd.o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_noncomp.o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_pow.o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_quantexpd.o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_quantize.o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_rem.o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_round_integral.o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_scalb.o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_scalbl.o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_sin.o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_sinh.o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_sqrt.o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_string.o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_tan.o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_tanh.o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_tgamma.o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_to_bid128.o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_to_int16.o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_to_int32.o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_to_int64.o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_to_int8.o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_to_uint16.o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_to_uint32.o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_to_uint64.o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_to_uint8.o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid_binarydecimal.o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid_convert_data.o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid_decimal_data.o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid_decimal_globals.o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid_dpd.o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid_feclearexcept.o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid_fegetexceptflag.o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid_feraiseexcept.o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid_fesetexceptflag.o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid_fetestexcept.o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid_flag_operations.o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid_from_int.o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid_round.o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/strtod128.o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/strtod32.o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/strtod64.o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/wcstod128.o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/wcstod32.o build/fedora/third_party/IntelRDFPMathLib20U1/LIBRARY/src/wcstod64.o ar @/tmp/tmpbvw5nzr4.lnk Skipping ranlib for thin archive build/fedora/third_party/IntelRDFPMathLib20U1/libintel_decimal128.a ar rcsTD build/fedora/mongo/db/auth/libsasl_options.a build/fedora/mongo/db/auth/sasl_options.o Skipping ranlib for thin archive build/fedora/mongo/db/auth/libsasl_options.a g++ -o build/fedora/third_party/icu4c-57.1/source/i18n/collationdatareader.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/collationdatareader.cpp g++ -o build/fedora/third_party/icu4c-57.1/source/common/ucharstrie.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/ucharstrie.cpp g++ -o build/fedora/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src7.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -Wno-non-virtual-dtor -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -include js-confdefs.h -Wno-invalid-offsetof -fPIE -DIMPL_MFBT -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=1 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora/third_party/mozjs-45/extract/js/src -Isrc/third_party/mozjs-45/extract/js/src -Ibuild/fedora/third_party/mozjs-45/extract/mfbt -Isrc/third_party/mozjs-45/extract/mfbt -Ibuild/fedora/third_party/mozjs-45/extract/intl/icu/source/common -Isrc/third_party/mozjs-45/extract/intl/icu/source/common -Ibuild/fedora/third_party/mozjs-45/include -Isrc/third_party/mozjs-45/include -Ibuild/fedora/third_party/mozjs-45/mongo_sources -Isrc/third_party/mozjs-45/mongo_sources -Ibuild/fedora/third_party/mozjs-45/platform/x86_64/linux/build -Isrc/third_party/mozjs-45/platform/x86_64/linux/build -Ibuild/fedora/third_party/mozjs-45/platform/x86_64/linux/include -Isrc/third_party/mozjs-45/platform/x86_64/linux/include src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src7.cpp g++ -o build/fedora/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src32.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -Wno-non-virtual-dtor -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -include js-confdefs.h -Wno-invalid-offsetof -fPIE -DIMPL_MFBT -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=1 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora/third_party/mozjs-45/extract/js/src -Isrc/third_party/mozjs-45/extract/js/src -Ibuild/fedora/third_party/mozjs-45/extract/mfbt -Isrc/third_party/mozjs-45/extract/mfbt -Ibuild/fedora/third_party/mozjs-45/extract/intl/icu/source/common -Isrc/third_party/mozjs-45/extract/intl/icu/source/common -Ibuild/fedora/third_party/mozjs-45/include -Isrc/third_party/mozjs-45/include -Ibuild/fedora/third_party/mozjs-45/mongo_sources -Isrc/third_party/mozjs-45/mongo_sources -Ibuild/fedora/third_party/mozjs-45/platform/x86_64/linux/build -Isrc/third_party/mozjs-45/platform/x86_64/linux/build -Ibuild/fedora/third_party/mozjs-45/platform/x86_64/linux/include -Isrc/third_party/mozjs-45/platform/x86_64/linux/include src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src32.cpp In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/jsfun.h:15, from src/third_party/mozjs-45/extract/js/src/gc/Tracer.cpp:13, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src7.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1040:19: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 1040 | memcpy(&elements_[dstStart], src, count * sizeof(HeapSlot)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/gc/Tracer.h:12, from src/third_party/mozjs-45/extract/js/src/gc/Tracer.cpp:7: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here 650 | class HeapSlot : public WriteBarrieredBase | ^~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1048:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 1048 | memcpy(&elements_[dstStart], src, count * sizeof(HeapSlot)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here 650 | class HeapSlot : public WriteBarrieredBase | ^~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1082:20: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 1082 | memmove(elements_ + dstStart, elements_ + srcStart, count * sizeof(HeapSlot)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here 650 | class HeapSlot : public WriteBarrieredBase | ^~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1094:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 1094 | memmove(elements_ + dstStart, elements_ + srcStart, count * sizeof(Value)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here 650 | class HeapSlot : public WriteBarrieredBase | ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/vm/RegExpObject.h:13, from src/third_party/mozjs-45/extract/js/src/vm/RegExpObject.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src32.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1040:19: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 1040 | memcpy(&elements_[dstStart], src, count * sizeof(HeapSlot)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:22: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here 650 | class HeapSlot : public WriteBarrieredBase | ^~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1048:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 1048 | memcpy(&elements_[dstStart], src, count * sizeof(HeapSlot)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here 650 | class HeapSlot : public WriteBarrieredBase | ^~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1082:20: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 1082 | memmove(elements_ + dstStart, elements_ + srcStart, count * sizeof(HeapSlot)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here 650 | class HeapSlot : public WriteBarrieredBase | ^~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1094:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 1094 | memmove(elements_ + dstStart, elements_ + srcStart, count * sizeof(Value)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here 650 | class HeapSlot : public WriteBarrieredBase | ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/extract/js/src/jsapi.h:25, from src/third_party/mozjs-45/extract/js/src/jsfriendapi.h:15, from src/third_party/mozjs-45/extract/js/src/gc/Tracer.h:10: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': src/third_party/mozjs-45/include/js/MemoryMetrics.h:40:34: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/gc/StoreBuffer.h:18, from src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:13: src/third_party/mozjs-45/include/js/MemoryMetrics.h:31:8: note: 'struct JS::TabSizes' declared here 31 | struct TabSizes | ^~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::ServoSizes]': src/third_party/mozjs-45/include/js/MemoryMetrics.h:71:36: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::ServoSizes'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/MemoryMetrics.h:59:8: note: 'struct JS::ServoSizes' declared here 59 | struct ServoSizes | ^~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::PreliminaryObjectArray]': src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:808:25: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::PreliminaryObjectArray'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/ObjectGroup.h:16, from src/third_party/mozjs-45/extract/js/src/vm/Shape.h:31, from src/third_party/mozjs-45/extract/js/src/jsobj.h:27, from src/third_party/mozjs-45/extract/js/src/jsfun.h:14: src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:796:7: note: 'class js::PreliminaryObjectArray' declared here 796 | class PreliminaryObjectArray | ^~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::TypeNewScript]': src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:939:39: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::TypeNewScript' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:886:7: note: 'class js::TypeNewScript' declared here 886 | class TypeNewScript | ^~~~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JSSubString]': src/third_party/mozjs-45/extract/js/src/jsstr.h:73:37: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JSSubString'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/String.h:16, from src/third_party/mozjs-45/extract/js/src/vm/Shape.h:32: src/third_party/mozjs-45/extract/js/src/jsstr.h:68:8: note: 'struct JSSubString' declared here 68 | struct JSSubString { | ^~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': src/third_party/mozjs-45/extract/js/src/vm/String.h:1092:25: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/String.h:1074:7: note: 'class js::StaticStrings' declared here 1074 | class StaticStrings | ^~~~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': src/third_party/mozjs-45/extract/js/src/vm/Shape.h:392:25: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/Shape.h:323:7: note: 'class js::BaseShape' declared here 323 | class BaseShape : public gc::TenuredCell | ^~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/RegExpObject.cpp:23: src/third_party/mozjs-45/extract/js/src/jsobjinlines.h: In static member function 'static JSObject* JSObject::create(js::ExclusiveContext*, js::gc::AllocKind, js::gc::InitialHeap, js::HandleShape, js::HandleObjectGroup)': src/third_party/mozjs-45/extract/js/src/jsobjinlines.h:355:15: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::HeapSlot'; use assignment instead [-Wclass-memaccess] 355 | memset(obj->as().fixedSlots(), 0, size - sizeof(js::NativeObject)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:699:25: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:24: src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:686:8: note: 'struct js::jit::IonScriptCounts' declared here 686 | struct IonScriptCounts | ^~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here 650 | class HeapSlot : public WriteBarrieredBase | ^~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:293:40: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/gc/GCInternals.h:13, from src/third_party/mozjs-45/extract/js/src/gc/Tracer.cpp:20: src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:244:7: note: 'class js::NewObjectCache' declared here 244 | class NewObjectCache | ^~~~~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::gc::TenureCountCache]': src/third_party/mozjs-45/extract/js/src/gc/GCInternals.h:211:42: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::gc::TenureCountCache'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/gc/GCInternals.h:207:8: note: 'struct js::gc::TenureCountCache' declared here 207 | struct TenureCountCache | ^~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::Address]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:290:33: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::Address'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/Safepoints.h:12, from src/third_party/mozjs-45/extract/js/src/jit/JitFrames.h:16, from src/third_party/mozjs-45/extract/js/src/jscntxtinlines.h:16, from src/third_party/mozjs-45/extract/js/src/jscompartmentinlines.h:14, from src/third_party/mozjs-45/extract/js/src/gc/Tracer.cpp:27: src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:282:8: note: 'struct js::jit::Address' declared here 282 | struct Address | ^~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::BaseIndex]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:306:35: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::BaseIndex'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:295:8: note: 'struct js::jit::BaseIndex' declared here 295 | struct BaseIndex | ^~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::CodeOffsetJump]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:513:25: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::jit::CodeOffsetJump'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:491:7: note: 'class js::jit::CodeOffsetJump' declared here 491 | class CodeOffsetJump | ^~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsapi.h:29: src/third_party/mozjs-45/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': src/third_party/mozjs-45/include/js/HashTable.h:186:67: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' src/third_party/mozjs-45/extract/js/src/vm/SPSProfiler.h:256:18: required from here src/third_party/mozjs-45/include/js/HashTable.h:1550:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] 1550 | memset(table, 0, sizeof(*table) * capacity()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/HashTable.h:722:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here 722 | class HashTableEntry | ^~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/TraceableVector.h:12, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:14: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': src/third_party/mozjs-45/include/js/MemoryMetrics.h:40:34: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/gc/StoreBuffer.h:18, from src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:13: src/third_party/mozjs-45/include/js/MemoryMetrics.h:31:8: note: 'struct JS::TabSizes' declared here 31 | struct TabSizes | ^~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::ServoSizes]': src/third_party/mozjs-45/include/js/MemoryMetrics.h:71:36: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::ServoSizes'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/MemoryMetrics.h:59:8: note: 'struct JS::ServoSizes' declared here 59 | struct ServoSizes | ^~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JSSubString]': src/third_party/mozjs-45/extract/js/src/jsstr.h:73:37: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JSSubString'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/TraceLoggingTypes.h:11, from src/third_party/mozjs-45/extract/js/src/vm/TraceLoggingGraph.h:15, from src/third_party/mozjs-45/extract/js/src/vm/TraceLogging.h:19, from src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:22, from src/third_party/mozjs-45/extract/js/src/jsscript.h:24: src/third_party/mozjs-45/extract/js/src/jsstr.h:68:8: note: 'struct JSSubString' declared here 68 | struct JSSubString { | ^~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::PreliminaryObjectArray]': src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:808:25: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::PreliminaryObjectArray'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:23: src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:796:7: note: 'class js::PreliminaryObjectArray' declared here 796 | class PreliminaryObjectArray | ^~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::TypeNewScript]': src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:939:39: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::TypeNewScript' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:886:7: note: 'class js::TypeNewScript' declared here 886 | class TypeNewScript | ^~~~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:699:25: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:686:8: note: 'struct js::jit::IonScriptCounts' declared here 686 | struct IonScriptCounts | ^~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': src/third_party/mozjs-45/extract/js/src/vm/String.h:1092:25: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/Shape.h:32, from src/third_party/mozjs-45/extract/js/src/jsobj.h:27, from src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:16: src/third_party/mozjs-45/extract/js/src/vm/String.h:1074:7: note: 'class js::StaticStrings' declared here 1074 | class StaticStrings | ^~~~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': src/third_party/mozjs-45/extract/js/src/vm/Shape.h:392:25: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/Shape.h:323:7: note: 'class js::BaseShape' declared here 323 | class BaseShape : public gc::TenuredCell | ^~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:293:40: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:244:7: note: 'class js::NewObjectCache' declared here 244 | class NewObjectCache | ^~~~~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::Address]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:290:33: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::Address'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/Safepoints.h:12, from src/third_party/mozjs-45/extract/js/src/jit/JitFrames.h:16, from src/third_party/mozjs-45/extract/js/src/jscntxtinlines.h:16, from src/third_party/mozjs-45/extract/js/src/jscompartmentinlines.h:14, from src/third_party/mozjs-45/extract/js/src/jsobjinlines.h:29: src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:282:8: note: 'struct js::jit::Address' declared here 282 | struct Address | ^~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::BaseIndex]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:306:35: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::BaseIndex'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:295:8: note: 'struct js::jit::BaseIndex' declared here 295 | struct BaseIndex | ^~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::CodeOffsetJump]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:513:25: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::jit::CodeOffsetJump'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:491:7: note: 'class js::jit::CodeOffsetJump' declared here 491 | class CodeOffsetJump | ^~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/include/js/TracingAPI.h:12, from src/third_party/mozjs-45/include/js/TraceableVector.h:13: src/third_party/mozjs-45/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': src/third_party/mozjs-45/include/js/HashTable.h:186:67: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' src/third_party/mozjs-45/extract/js/src/vm/SPSProfiler.h:256:18: required from here src/third_party/mozjs-45/include/js/HashTable.h:1550:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] 1550 | memset(table, 0, sizeof(*table) * capacity()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/HashTable.h:722:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here 722 | class HashTableEntry | ^~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = const js::ReadBarriered; HashPolicy = js::HashSet, js::SavedFrame::HashPolicy, js::SystemAllocPolicy>::SetOps; AllocPolicy = js::SystemAllocPolicy]': src/third_party/mozjs-45/include/js/HashTable.h:424:67: required from 'void js::HashSet::clear() [with T = js::ReadBarriered; HashPolicy = js::SavedFrame::HashPolicy; AllocPolicy = js::SystemAllocPolicy]' src/third_party/mozjs-45/extract/js/src/vm/SavedStacks.cpp:1071:17: required from here src/third_party/mozjs-45/include/js/HashTable.h:1550:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashSet, js::SavedFrame::HashPolicy, js::SystemAllocPolicy>::SetOps, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] 1550 | memset(table, 0, sizeof(*table) * capacity()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/HashTable.h:722:7: note: 'js::detail::HashTable, js::HashSet, js::SavedFrame::HashPolicy, js::SystemAllocPolicy>::SetOps, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here 722 | class HashTableEntry | ^~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry >; HashPolicy = js::HashMap, js::MissingScopeKey, js::RuntimeAllocPolicy>::MapHashPolicy; AllocPolicy = js::RuntimeAllocPolicy]': src/third_party/mozjs-45/include/js/HashTable.h:186:67: required from 'void js::HashMap::clear() [with Key = js::MissingScopeKey; Value = js::ReadBarriered; HashPolicy = js::MissingScopeKey; AllocPolicy = js::RuntimeAllocPolicy]' src/third_party/mozjs-45/extract/js/src/vm/ScopeObject.cpp:2693:36: required from here src/third_party/mozjs-45/include/js/HashTable.h:1550:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable >, js::HashMap, js::MissingScopeKey, js::RuntimeAllocPolicy>::MapHashPolicy, js::RuntimeAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry > >'} with no trivial copy-assignment [-Wclass-memaccess] 1550 | memset(table, 0, sizeof(*table) * capacity()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/HashTable.h:722:7: note: 'js::detail::HashTable >, js::HashMap, js::MissingScopeKey, js::RuntimeAllocPolicy>::MapHashPolicy, js::RuntimeAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry > >'} declared here 722 | class HashTableEntry | ^~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry, js::LiveScopeVal>; HashPolicy = js::HashMap, js::LiveScopeVal, js::MovableCellHasher >, js::RuntimeAllocPolicy>::MapHashPolicy; AllocPolicy = js::RuntimeAllocPolicy]': src/third_party/mozjs-45/include/js/HashTable.h:186:67: required from 'void js::HashMap::clear() [with Key = js::ReadBarriered; Value = js::LiveScopeVal; HashPolicy = js::MovableCellHasher >; AllocPolicy = js::RuntimeAllocPolicy]' src/third_party/mozjs-45/extract/js/src/vm/ScopeObject.cpp:2694:33: required from here src/third_party/mozjs-45/include/js/HashTable.h:1550:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::LiveScopeVal>, js::HashMap, js::LiveScopeVal, js::MovableCellHasher >, js::RuntimeAllocPolicy>::MapHashPolicy, js::RuntimeAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry, js::LiveScopeVal> >'} with no trivial copy-assignment [-Wclass-memaccess] 1550 | memset(table, 0, sizeof(*table) * capacity()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/HashTable.h:722:7: note: 'js::detail::HashTable, js::LiveScopeVal>, js::HashMap, js::LiveScopeVal, js::MovableCellHasher >, js::RuntimeAllocPolicy>::MapHashPolicy, js::RuntimeAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry, js::LiveScopeVal> >'} declared here 722 | class HashTableEntry | ^~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/BitSet.h:12, from src/third_party/mozjs-45/extract/js/src/jit/Safepoints.h:10: src/third_party/mozjs-45/extract/js/src/jit/JitAllocPolicy.h: In instantiation of 'T* js::jit::JitAllocPolicy::maybe_pod_calloc(size_t) [with T = js::detail::HashTableEntry >; size_t = long unsigned int]': src/third_party/mozjs-45/include/js/HashTable.h:1144:54: required from 'static js::detail::HashTable::Entry* js::detail::HashTable::createTable(AllocPolicy&, uint32_t, FailureBehavior) [with T = js::HashMapEntry; HashPolicy = js::HashMap::MapHashPolicy; AllocPolicy = js::jit::JitAllocPolicy; Entry = js::detail::HashTableEntry >; uint32_t = unsigned int]' src/third_party/mozjs-45/include/js/HashTable.h:1212:28: required from 'bool js::detail::HashTable::init(uint32_t) [with T = js::HashMapEntry; HashPolicy = js::HashMap::MapHashPolicy; AllocPolicy = js::jit::JitAllocPolicy; uint32_t = unsigned int]' src/third_party/mozjs-45/include/js/HashTable.h:79:73: required from 'bool js::HashMap::init(uint32_t) [with Key = JS::Value; Value = unsigned int; HashPolicy = js::jit::LIRGraph::ValueHasher; AllocPolicy = js::jit::JitAllocPolicy; uint32_t = unsigned int]' src/third_party/mozjs-45/extract/js/src/jit/LIR.h:1696:37: required from here src/third_party/mozjs-45/extract/js/src/jit/JitAllocPolicy.h:92:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::detail::HashTableEntry >' with no trivial copy-assignment [-Wclass-memaccess] 92 | memset(p, 0, numElems * sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/HashTable.h:722:7: note: 'class js::detail::HashTableEntry >' declared here 722 | class HashTableEntry | ^~~~~~~~~~~~~~ In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted&>(JSContext* const&, JS::Handle&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::GetFirstSubsumedFrame(JSContext*, JS::Handle, JS::SavedFrameSelfHosted, bool&)' at src/third_party/mozjs-45/extract/js/src/vm/SavedStacks.cpp:551:43: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'rootedFrame' in 'MEM[(struct Rooted * *)cx_46(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src32.cpp:38: src/third_party/mozjs-45/extract/js/src/vm/SavedStacks.cpp: In function 'js::GetFirstSubsumedFrame(JSContext*, JS::Handle, JS::SavedFrameSelfHosted, bool&)': src/third_party/mozjs-45/extract/js/src/vm/SavedStacks.cpp:551:22: note: 'rootedFrame' declared here 551 | RootedSavedFrame rootedFrame(cx, frame); | ^~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/SavedStacks.cpp:551:22: note: 'cx_46(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'JS::UnwrapSavedFrame(JSContext*, JS::Handle, JS::SavedFrameSelfHosted, bool&)' at src/third_party/mozjs-45/extract/js/src/vm/SavedStacks.cpp:684:54: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'savedFrameObj' in 'MEM[(struct Rooted * *)cx_48(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/SavedStacks.cpp: In function 'JS::UnwrapSavedFrame(JSContext*, JS::Handle, JS::SavedFrameSelfHosted, bool&)': src/third_party/mozjs-45/extract/js/src/vm/SavedStacks.cpp:684:18: note: 'savedFrameObj' declared here 684 | RootedObject savedFrameObj(cx, CheckedUnwrap(obj)); | ^~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/SavedStacks.cpp:684:18: note: 'cx_48(D)' declared here In file included from src/third_party/mozjs-45/include/js/GCAPI.h:11, from src/third_party/mozjs-45/include/js/RootingAPI.h:19, from src/third_party/mozjs-45/include/js/CallArgs.h:38, from src/third_party/mozjs-45/extract/js/src/jsapi.h:27: In function 'mozilla::detail::VectorImpl, false>::new_(js::irregexp::GuardedAlternative*, js::irregexp::GuardedAlternative&&)void', inlined from 'mozilla::detail::VectorImpl, false>::moveConstruct(js::irregexp::GuardedAlternative*, js::irregexp::GuardedAlternative*, js::irregexp::GuardedAlternative*)void' at src/third_party/mozjs-45/include/mozilla/Vector.h:118:11, inlined from 'mozilla::Vector >::Vector(mozilla::Vector >&&)' at src/third_party/mozjs-45/include/mozilla/Vector.h:743:24, inlined from 'mozilla::Vector >::operator=(mozilla::Vector >&&)' at src/third_party/mozjs-45/include/mozilla/Vector.h:770:3, inlined from 'js::irregexp::ChoiceNode::FilterASCII(int, bool)' at src/third_party/mozjs-45/extract/js/src/irregexp/RegExpEngine.cpp:1007:42: src/third_party/mozjs-45/include/mozilla/Vector.h:74:5: warning: 'memcpy' reading 16 or more bytes from a region of size 8 [-Wstringop-overread] 74 | new(aDst) T(Forward(aU)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src7.cpp:47: src/third_party/mozjs-45/extract/js/src/irregexp/RegExpEngine.cpp: In member function 'js::irregexp::ChoiceNode::FilterASCII(int, bool)': src/third_party/mozjs-45/extract/js/src/irregexp/RegExpEngine.cpp:994:30: note: at offset 32 into source object 'new_alternatives' of size 40 994 | GuardedAlternativeVector new_alternatives(*alloc()); | ^~~~~~~~~~~~~~~~ In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(js::ExclusiveContext* const&, js::Shape*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::EmptyShape::ensureInitialCustomShape(js::ExclusiveContext*, JS::Handle)bool' at src/third_party/mozjs-45/extract/js/src/vm/Shape-inl.h:113:17, inlined from 'js::RegExpAlloc(js::ExclusiveContext*, JS::Handle)' at src/third_party/mozjs-45/extract/js/src/vm/RegExpObject.cpp:56:60: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'shape' in 'MEM[(struct Rooted * *)cx_45(D) + 32B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/RegExpObject.cpp:26: src/third_party/mozjs-45/extract/js/src/vm/Shape-inl.h: In function 'js::RegExpAlloc(js::ExclusiveContext*, JS::Handle)': src/third_party/mozjs-45/extract/js/src/vm/Shape-inl.h:113:17: note: 'shape' declared here 113 | RootedShape shape(cx, ObjectSubclass::assignInitialShape(cx, obj)); | ^~~~~ src/third_party/mozjs-45/extract/js/src/vm/Shape-inl.h:113:17: note: 'cx_45(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::NativeObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::SavedFrame::create(JSContext*)' at src/third_party/mozjs-45/extract/js/src/vm/SavedStacks.cpp:491:90: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'proto' in 'MEM[(struct Rooted * *)cx_58(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/SavedStacks.cpp: In function 'js::SavedFrame::create(JSContext*)': src/third_party/mozjs-45/extract/js/src/vm/SavedStacks.cpp:491:24: note: 'proto' declared here 491 | RootedNativeObject proto(cx, GlobalObject::getOrCreateSavedFramePrototype(cx, global)); | ^~~~~ src/third_party/mozjs-45/extract/js/src/vm/SavedStacks.cpp:491:24: note: 'cx_58(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::SavedFrame*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'JS::GetSavedFrameAsyncParent(JSContext*, JS::Handle, JS::MutableHandle, JS::SavedFrameSelfHosted)' at src/third_party/mozjs-45/extract/js/src/vm/SavedStacks.cpp:778:94: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'frame' in 'MEM[(struct Rooted * *)cx_73(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/SavedStacks.cpp: In function 'JS::GetSavedFrameAsyncParent(JSContext*, JS::Handle, JS::MutableHandle, JS::SavedFrameSelfHosted)': src/third_party/mozjs-45/extract/js/src/vm/SavedStacks.cpp:778:26: note: 'frame' declared here 778 | js::RootedSavedFrame frame(cx, UnwrapSavedFrame(cx, savedFrame, selfHosted, skippedAsync)); | ^~~~~ src/third_party/mozjs-45/extract/js/src/vm/SavedStacks.cpp:778:26: note: 'cx_73(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::SavedFrame*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'JS::GetSavedFrameParent(JSContext*, JS::Handle, JS::MutableHandle, JS::SavedFrameSelfHosted)' at src/third_party/mozjs-45/extract/js/src/vm/SavedStacks.cpp:807:94: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'frame' in 'MEM[(struct Rooted * *)cx_73(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/SavedStacks.cpp: In function 'JS::GetSavedFrameParent(JSContext*, JS::Handle, JS::MutableHandle, JS::SavedFrameSelfHosted)': src/third_party/mozjs-45/extract/js/src/vm/SavedStacks.cpp:807:26: note: 'frame' declared here 807 | js::RootedSavedFrame frame(cx, UnwrapSavedFrame(cx, savedFrame, selfHosted, skippedAsync)); | ^~~~~ src/third_party/mozjs-45/extract/js/src/vm/SavedStacks.cpp:807:26: note: 'cx_73(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSScript*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::GetThisValueForDebuggerMaybeOptimizedOut(JSContext*, js::AbstractFramePtr, unsigned char*, JS::MutableHandle)' at src/third_party/mozjs-45/extract/js/src/vm/ScopeObject.cpp:3101:57: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'script' in 'MEM[(struct Rooted * *)cx_154(D) + 80B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src32.cpp:47: src/third_party/mozjs-45/extract/js/src/vm/ScopeObject.cpp: In function 'js::GetThisValueForDebuggerMaybeOptimizedOut(JSContext*, js::AbstractFramePtr, unsigned char*, JS::MutableHandle)': src/third_party/mozjs-45/extract/js/src/vm/ScopeObject.cpp:3101:22: note: 'script' declared here 3101 | RootedScript script(cx, si.fun().nonLazyScript()); | ^~~~~~ src/third_party/mozjs-45/extract/js/src/vm/ScopeObject.cpp:3101:22: note: 'cx_154(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(js::ExclusiveContext* const&, js::Shape*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::EmptyShape::ensureInitialCustomShape(js::ExclusiveContext*, JS::Handle)bool' at src/third_party/mozjs-45/extract/js/src/vm/Shape-inl.h:113:17: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'shape' in 'MEM[(struct Rooted * *)cx_59(D) + 32B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/Shape-inl.h: In function 'js::EmptyShape::ensureInitialCustomShape(js::ExclusiveContext*, JS::Handle)bool': src/third_party/mozjs-45/extract/js/src/vm/Shape-inl.h:113:17: note: 'shape' declared here 113 | RootedShape shape(cx, ObjectSubclass::assignInitialShape(cx, obj)); | ^~~~~ src/third_party/mozjs-45/extract/js/src/vm/Shape-inl.h:113:17: note: 'cx_59(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::SavedFrame*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'JS::BuildStackString(JSContext*, JS::Handle, JS::MutableHandle, unsigned long)' at src/third_party/mozjs-45/extract/js/src/vm/SavedStacks.cpp:843:70: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'frame' in 'MEM[(struct Rooted * *)cx_213(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/SavedStacks.cpp: In function 'JS::BuildStackString(JSContext*, JS::Handle, JS::MutableHandle, unsigned long)': src/third_party/mozjs-45/extract/js/src/vm/SavedStacks.cpp:842:30: note: 'frame' declared here 842 | js::RootedSavedFrame frame(cx, UnwrapSavedFrame(cx, stack, SavedFrameSelfHosted::Exclude, | ^~~~~ src/third_party/mozjs-45/extract/js/src/vm/SavedStacks.cpp:842:30: note: 'cx_213(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSAtom*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::RegExpObject::toString(JSContext*) const' at src/third_party/mozjs-45/extract/js/src/vm/RegExpObject.cpp:436:35: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'src' in 'MEM[(struct Rooted * *)cx_102(D) + 56B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/RegExpObject.cpp: In member function 'js::RegExpObject::toString(JSContext*) const': src/third_party/mozjs-45/extract/js/src/vm/RegExpObject.cpp:436:16: note: 'src' declared here 436 | RootedAtom src(cx, getSource()); | ^~~ src/third_party/mozjs-45/extract/js/src/vm/RegExpObject.cpp:436:16: note: 'cx_102(D)' declared here g++ -o build/fedora/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src9.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -Wno-non-virtual-dtor -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -include js-confdefs.h -Wno-invalid-offsetof -fPIE -DIMPL_MFBT -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=1 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora/third_party/mozjs-45/extract/js/src -Isrc/third_party/mozjs-45/extract/js/src -Ibuild/fedora/third_party/mozjs-45/extract/mfbt -Isrc/third_party/mozjs-45/extract/mfbt -Ibuild/fedora/third_party/mozjs-45/extract/intl/icu/source/common -Isrc/third_party/mozjs-45/extract/intl/icu/source/common -Ibuild/fedora/third_party/mozjs-45/include -Isrc/third_party/mozjs-45/include -Ibuild/fedora/third_party/mozjs-45/mongo_sources -Isrc/third_party/mozjs-45/mongo_sources -Ibuild/fedora/third_party/mozjs-45/platform/x86_64/linux/build -Isrc/third_party/mozjs-45/platform/x86_64/linux/build -Ibuild/fedora/third_party/mozjs-45/platform/x86_64/linux/include -Isrc/third_party/mozjs-45/platform/x86_64/linux/include src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src9.cpp In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/jsfun.h:15, from src/third_party/mozjs-45/extract/js/src/jit/JitFrameIterator.h:10, from src/third_party/mozjs-45/extract/js/src/jit/Bailouts.h:12, from src/third_party/mozjs-45/extract/js/src/jit/LIR.h:15, from src/third_party/mozjs-45/extract/js/src/jit/RegisterAllocator.h:13, from src/third_party/mozjs-45/extract/js/src/jit/BacktrackingAllocator.h:14, from src/third_party/mozjs-45/extract/js/src/jit/BacktrackingAllocator.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src9.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1040:19: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 1040 | memcpy(&elements_[dstStart], src, count * sizeof(HeapSlot)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsobj.h:21, from src/third_party/mozjs-45/extract/js/src/jsfun.h:14: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here 650 | class HeapSlot : public WriteBarrieredBase | ^~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1048:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 1048 | memcpy(&elements_[dstStart], src, count * sizeof(HeapSlot)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here 650 | class HeapSlot : public WriteBarrieredBase | ^~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1082:20: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 1082 | memmove(elements_ + dstStart, elements_ + srcStart, count * sizeof(HeapSlot)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here 650 | class HeapSlot : public WriteBarrieredBase | ^~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1094:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 1094 | memmove(elements_ + dstStart, elements_ + srcStart, count * sizeof(Value)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here 650 | class HeapSlot : public WriteBarrieredBase | ^~~~~~~~ In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::SavedFrame*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::SavedStacks::createFrameFromLookup(JSContext*, js::SavedFrame::HandleLookup)' at src/third_party/mozjs-45/extract/js/src/vm/SavedStacks.cpp:1307:54: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'frame' in 'MEM[(struct Rooted * *)cx_30(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/SavedStacks.cpp: In member function 'js::SavedStacks::createFrameFromLookup(JSContext*, js::SavedFrame::HandleLookup)': src/third_party/mozjs-45/extract/js/src/vm/SavedStacks.cpp:1307:22: note: 'frame' declared here 1307 | RootedSavedFrame frame(cx, SavedFrame::create(cx)); | ^~~~~ src/third_party/mozjs-45/extract/js/src/vm/SavedStacks.cpp:1307:22: note: 'cx_30(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::StaticBlockObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'CloneStaticBlockObject(JSContext*, JS::Handle, JS::Handle)' at src/third_party/mozjs-45/extract/js/src/vm/ScopeObject.cpp:1198:71, inlined from 'js::CloneNestedScopeObject(JSContext*, JS::Handle, JS::Handle)' at src/third_party/mozjs-45/extract/js/src/vm/ScopeObject.cpp:1240:38: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'clone' in 'MEM[(struct Rooted * *)cx_55(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/ScopeObject.cpp: In function 'js::CloneNestedScopeObject(JSContext*, JS::Handle, JS::Handle)': src/third_party/mozjs-45/extract/js/src/vm/ScopeObject.cpp:1198:32: note: 'clone' declared here 1198 | Rooted clone(cx, StaticBlockObject::create(cx)); | ^~~~~ src/third_party/mozjs-45/extract/js/src/vm/ScopeObject.cpp:1198:32: note: 'cx_55(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(js::ExclusiveContext* const&, js::RegExpObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::RegExpObject::createNoStatics(js::ExclusiveContext*, JS::Handle, js::RegExpFlag, js::frontend::TokenStream*, js::LifoAlloc&)' at src/third_party/mozjs-45/extract/js/src/vm/RegExpObject.cpp:225:53: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'regexp' in 'MEM[(struct Rooted * *)cx_68(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/RegExpObject.cpp: In function 'js::RegExpObject::createNoStatics(js::ExclusiveContext*, JS::Handle, js::RegExpFlag, js::frontend::TokenStream*, js::LifoAlloc&)': src/third_party/mozjs-45/extract/js/src/vm/RegExpObject.cpp:225:27: note: 'regexp' declared here 225 | Rooted regexp(cx, RegExpAlloc(cx)); | ^~~~~~ src/third_party/mozjs-45/extract/js/src/vm/RegExpObject.cpp:225:27: note: 'cx_68(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(js::ExclusiveContext* const&, JSAtom*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::RegExpObject::createNoStatics(js::ExclusiveContext*, char16_t const*, unsigned long, js::RegExpFlag, js::frontend::TokenStream*, js::LifoAlloc&)' at src/third_party/mozjs-45/extract/js/src/vm/RegExpObject.cpp:201:58: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'source' in 'MEM[(struct Rooted * *)cx_33(D) + 56B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/RegExpObject.cpp: In function 'js::RegExpObject::createNoStatics(js::ExclusiveContext*, char16_t const*, unsigned long, js::RegExpFlag, js::frontend::TokenStream*, js::LifoAlloc&)': src/third_party/mozjs-45/extract/js/src/vm/RegExpObject.cpp:201:16: note: 'source' declared here 201 | RootedAtom source(cx, AtomizeChars(cx, chars, length)); | ^~~~~~ src/third_party/mozjs-45/extract/js/src/vm/RegExpObject.cpp:201:16: note: 'cx_33(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(js::ExclusiveContext* const&, JSAtom*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::RegExpObject::createNoStatics(js::ExclusiveContext*, char16_t const*, unsigned long, js::RegExpFlag, js::frontend::TokenStream*, js::LifoAlloc&)' at src/third_party/mozjs-45/extract/js/src/vm/RegExpObject.cpp:201:58, inlined from 'js::RegExpObject::create(js::ExclusiveContext*, js::RegExpStatics*, char16_t const*, unsigned long, js::RegExpFlag, js::frontend::TokenStream*, js::LifoAlloc&)' at src/third_party/mozjs-45/extract/js/src/vm/RegExpObject.cpp:194:27: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'source' in 'MEM[(struct Rooted * *)cx_5(D) + 56B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/RegExpObject.cpp: In function 'js::RegExpObject::create(js::ExclusiveContext*, js::RegExpStatics*, char16_t const*, unsigned long, js::RegExpFlag, js::frontend::TokenStream*, js::LifoAlloc&)': src/third_party/mozjs-45/extract/js/src/vm/RegExpObject.cpp:201:16: note: 'source' declared here 201 | RootedAtom source(cx, AtomizeChars(cx, chars, length)); | ^~~~~~ src/third_party/mozjs-45/extract/js/src/vm/RegExpObject.cpp:201:16: note: 'cx_5(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::RegExpObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::CloneRegExpObject(JSContext*, JSObject*)' at src/third_party/mozjs-45/extract/js/src/vm/RegExpObject.cpp:883:95: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'clone' in 'MEM[(struct Rooted * *)cx_157(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/RegExpObject.cpp: In function 'js::CloneRegExpObject(JSContext*, JSObject*)': src/third_party/mozjs-45/extract/js/src/vm/RegExpObject.cpp:883:27: note: 'clone' declared here 883 | Rooted clone(cx, NewObjectWithGroup(cx, group, TenuredObject)); | ^~~~~ src/third_party/mozjs-45/extract/js/src/vm/RegExpObject.cpp:883:27: note: 'cx_157(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::NonSyntacticVariablesObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::NonSyntacticVariablesObject::create(JSContext*, JS::Handle)' at src/third_party/mozjs-45/extract/js/src/vm/ScopeObject.cpp:810:87: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'obj' in 'MEM[(struct Rooted * *)cx_37(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/ScopeObject.cpp: In function 'js::NonSyntacticVariablesObject::create(JSContext*, JS::Handle)': src/third_party/mozjs-45/extract/js/src/vm/ScopeObject.cpp:808:42: note: 'obj' declared here 808 | Rooted obj(cx, | ^~~ src/third_party/mozjs-45/extract/js/src/vm/ScopeObject.cpp:808:42: note: 'cx_37(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::DeclEnvObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::DeclEnvObject::create(JSContext*, JS::Handle, JS::Handle)' at src/third_party/mozjs-45/extract/js/src/vm/ScopeObject.cpp:579:83: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'obj' in 'MEM[(struct Rooted * *)cx_37(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/ScopeObject.cpp: In function 'js::DeclEnvObject::create(JSContext*, JS::Handle, JS::Handle)': src/third_party/mozjs-45/extract/js/src/vm/ScopeObject.cpp:579:28: note: 'obj' declared here 579 | Rooted obj(cx, createTemplateObject(cx, callee, GenericObject)); | ^~~ src/third_party/mozjs-45/extract/js/src/vm/ScopeObject.cpp:579:28: note: 'cx_37(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted&>(JSContext* const&, JS::Handle&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::CreateScopeObjectsForScopeChain(JSContext*, JS::AutoVectorRooter&, JS::Handle, JS::MutableHandle)' at src/third_party/mozjs-45/extract/js/src/vm/ScopeObject.cpp:3034:67: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'dynamicEnclosingScope' in 'MEM[(struct Rooted * *)cx_99(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/ScopeObject.cpp: In function 'js::CreateScopeObjectsForScopeChain(JSContext*, JS::AutoVectorRooter&, JS::Handle, JS::MutableHandle)': src/third_party/mozjs-45/extract/js/src/vm/ScopeObject.cpp:3034:18: note: 'dynamicEnclosingScope' declared here 3034 | RootedObject dynamicEnclosingScope(cx, dynamicTerminatingScope); | ^~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/ScopeObject.cpp:3034:18: note: 'cx_99(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::ArrayObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::RegExpCompartment::createMatchResultTemplateObject(JSContext*)' at src/third_party/mozjs-45/extract/js/src/vm/RegExpObject.cpp:721:61: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'templateObject' in 'MEM[(struct Rooted * *)cx_155(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/RegExpObject.cpp: In member function 'js::RegExpCompartment::createMatchResultTemplateObject(JSContext*)': src/third_party/mozjs-45/extract/js/src/vm/RegExpObject.cpp:720:23: note: 'templateObject' declared here 720 | RootedArrayObject templateObject(cx, NewDenseUnallocatedArray(cx, RegExpObject::MaxPairCount, | ^~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/RegExpObject.cpp:720:23: note: 'cx_155(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::SavedFrame*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::SavedStacks::getOrCreateSavedFrame(JSContext*, js::SavedFrame::HandleLookup)' at src/third_party/mozjs-45/extract/js/src/vm/SavedStacks.cpp:1294:65: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'frame' in 'MEM[(struct Rooted * *)cx_38(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/SavedStacks.cpp: In member function 'js::SavedStacks::getOrCreateSavedFrame(JSContext*, js::SavedFrame::HandleLookup)': src/third_party/mozjs-45/extract/js/src/vm/SavedStacks.cpp:1294:22: note: 'frame' declared here 1294 | RootedSavedFrame frame(cx, createFrameFromLookup(cx, lookup)); | ^~~~~ src/third_party/mozjs-45/extract/js/src/vm/SavedStacks.cpp:1294:22: note: 'cx_38(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSAtom*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::SavedStacks::adoptAsyncStack(JSContext*, JS::Handle, JS::Handle, JS::MutableHandle, unsigned int)' at src/third_party/mozjs-45/extract/js/src/vm/SavedStacks.cpp:1223:64: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'asyncCauseAtom' in 'MEM[(struct Rooted * *)cx_101(D) + 56B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/SavedStacks.cpp: In member function 'js::SavedStacks::adoptAsyncStack(JSContext*, JS::Handle, JS::Handle, JS::MutableHandle, unsigned int)': src/third_party/mozjs-45/extract/js/src/vm/SavedStacks.cpp:1223:16: note: 'asyncCauseAtom' declared here 1223 | RootedAtom asyncCauseAtom(cx, AtomizeString(cx, asyncCause)); | ^~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/SavedStacks.cpp:1223:16: note: 'cx_101(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSObject*&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::SavedStacksMetadataCallback(JSContext*, JSObject*)' at src/third_party/mozjs-45/extract/js/src/vm/SavedStacks.cpp:1434:32: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'obj' in 'MEM[(struct Rooted * *)cx_61(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/SavedStacks.cpp: In function 'js::SavedStacksMetadataCallback(JSContext*, JSObject*)': src/third_party/mozjs-45/extract/js/src/vm/SavedStacks.cpp:1434:18: note: 'obj' declared here 1434 | RootedObject obj(cx, target); | ^~~ src/third_party/mozjs-45/extract/js/src/vm/SavedStacks.cpp:1434:18: note: 'cx_61(D)' declared here src/third_party/mozjs-45/extract/js/src/jit/BacktrackingAllocator.cpp: In member function 'bool js::jit::BacktrackingAllocator::init()': src/third_party/mozjs-45/extract/js/src/jit/BacktrackingAllocator.cpp:383:11: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::jit::VirtualRegister' with no trivial copy-assignment; use value-initialization instead [-Wclass-memaccess] 383 | memset(&vregs[0], 0, sizeof(VirtualRegister) * numVregs); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jit/BacktrackingAllocator.h:451:7: note: 'class js::jit::VirtualRegister' declared here 451 | class VirtualRegister | ^~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/Stack-inl.h:23, from src/third_party/mozjs-45/extract/js/src/jit/Bailouts.cpp:20, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src9.cpp:11: src/third_party/mozjs-45/extract/js/src/jsobjinlines.h: In static member function 'static JSObject* JSObject::create(js::ExclusiveContext*, js::gc::AllocKind, js::gc::InitialHeap, js::HandleShape, js::HandleObjectGroup)': src/third_party/mozjs-45/extract/js/src/jsobjinlines.h:355:15: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::HeapSlot'; use assignment instead [-Wclass-memaccess] 355 | memset(obj->as().fixedSlots(), 0, size - sizeof(js::NativeObject)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here 650 | class HeapSlot : public WriteBarrieredBase | ^~~~~~~~ In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::ObjectGroup*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::ClonedBlockObject::create(JSContext*, JS::Handle, JS::Handle)' at src/third_party/mozjs-45/extract/js/src/vm/ScopeObject.cpp:842:87: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'group' in 'MEM[(struct Rooted * *)cx_111(D) + 48B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/ScopeObject.cpp: In function 'js::ClonedBlockObject::create(JSContext*, JS::Handle, JS::Handle)': src/third_party/mozjs-45/extract/js/src/vm/ScopeObject.cpp:841:23: note: 'group' declared here 841 | RootedObjectGroup group(cx, ObjectGroup::defaultNewGroup(cx, &BlockObject::class_, | ^~~~~ src/third_party/mozjs-45/extract/js/src/vm/ScopeObject.cpp:841:23: note: 'cx_111(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::ClonedBlockObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::ClonedBlockObject::createHollowForDebug(JSContext*, JS::Handle)' at src/third_party/mozjs-45/extract/js/src/vm/ScopeObject.cpp:929:72: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'obj' in 'MEM[(struct Rooted * *)cx_79(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/ScopeObject.cpp: In function 'js::ClonedBlockObject::createHollowForDebug(JSContext*, JS::Handle)': src/third_party/mozjs-45/extract/js/src/vm/ScopeObject.cpp:929:32: note: 'obj' declared here 929 | Rooted obj(cx, create(cx, block, globalLexical)); | ^~~ src/third_party/mozjs-45/extract/js/src/vm/ScopeObject.cpp:929:32: note: 'cx_79(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::ClonedBlockObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::ClonedBlockObject::clone(JSContext*, JS::Handle)' at src/third_party/mozjs-45/extract/js/src/vm/ScopeObject.cpp:958:75: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'copy' in 'MEM[(struct Rooted * *)cx_87(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/ScopeObject.cpp: In function 'js::ClonedBlockObject::clone(JSContext*, JS::Handle)': src/third_party/mozjs-45/extract/js/src/vm/ScopeObject.cpp:958:32: note: 'copy' declared here 958 | Rooted copy(cx, create(cx, staticBlock, enclosing)); | ^~~~ src/third_party/mozjs-45/extract/js/src/vm/ScopeObject.cpp:958:32: note: 'cx_87(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::StaticBlockObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::ClonedBlockObject::createGlobal(JSContext*, JS::Handle)' at src/third_party/mozjs-45/extract/js/src/vm/ScopeObject.cpp:882:79: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'staticLexical' in 'MEM[(struct Rooted * *)cx_69(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/ScopeObject.cpp: In function 'js::ClonedBlockObject::createGlobal(JSContext*, JS::Handle)': src/third_party/mozjs-45/extract/js/src/vm/ScopeObject.cpp:882:32: note: 'staticLexical' declared here 882 | Rooted staticLexical(cx, StaticBlockObject::create(cx)); | ^~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/ScopeObject.cpp:882:32: note: 'cx_69(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::StaticBlockObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::ClonedBlockObject::createNonSyntactic(JSContext*, JS::Handle, JS::Handle)' at src/third_party/mozjs-45/extract/js/src/vm/ScopeObject.cpp:905:79: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'staticLexical' in 'MEM[(struct Rooted * *)cx_43(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/ScopeObject.cpp: In function 'js::ClonedBlockObject::createNonSyntactic(JSContext*, JS::Handle, JS::Handle)': src/third_party/mozjs-45/extract/js/src/vm/ScopeObject.cpp:905:32: note: 'staticLexical' declared here 905 | Rooted staticLexical(cx, StaticBlockObject::create(cx)); | ^~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/ScopeObject.cpp:905:32: note: 'cx_43(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::ObjectGroup*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::CallObject::createSingleton(JSContext*, JS::Handle, unsigned int)' at src/third_party/mozjs-45/extract/js/src/vm/ScopeObject.cpp:160:99: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'group' in 'MEM[(struct Rooted * *)cx_64(D) + 48B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/ScopeObject.cpp: In function 'js::CallObject::createSingleton(JSContext*, JS::Handle, unsigned int)': src/third_party/mozjs-45/extract/js/src/vm/ScopeObject.cpp:160:23: note: 'group' declared here 160 | RootedObjectGroup group(cx, ObjectGroup::lazySingletonGroup(cx, &class_, TaggedProto(nullptr))); | ^~~~~ src/third_party/mozjs-45/extract/js/src/vm/ScopeObject.cpp:160:23: note: 'cx_64(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::ObjectGroup*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::CallObject::createTemplateObject(JSContext*, JS::Handle, js::gc::InitialHeap)' at src/third_party/mozjs-45/extract/js/src/vm/ScopeObject.cpp:185:96: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'group' in 'MEM[(struct Rooted * *)cx_72(D) + 48B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/ScopeObject.cpp: In function 'js::CallObject::createTemplateObject(JSContext*, JS::Handle, js::gc::InitialHeap)': src/third_party/mozjs-45/extract/js/src/vm/ScopeObject.cpp:185:23: note: 'group' declared here 185 | RootedObjectGroup group(cx, ObjectGroup::defaultNewGroup(cx, &class_, TaggedProto(nullptr))); | ^~~~~ src/third_party/mozjs-45/extract/js/src/vm/ScopeObject.cpp:185:23: note: 'cx_72(D)' declared here In file included from src/third_party/mozjs-45/extract/js/src/ds/LifoAlloc.h:15, from src/third_party/mozjs-45/extract/js/src/ds/SplayTree.h:10, from src/third_party/mozjs-45/extract/js/src/jit/BacktrackingAllocator.h:13: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': src/third_party/mozjs-45/include/js/MemoryMetrics.h:40:34: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/gc/StoreBuffer.h:18, from src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:13: src/third_party/mozjs-45/include/js/MemoryMetrics.h:31:8: note: 'struct JS::TabSizes' declared here 31 | struct TabSizes | ^~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::ServoSizes]': src/third_party/mozjs-45/include/js/MemoryMetrics.h:71:36: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::ServoSizes'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/MemoryMetrics.h:59:8: note: 'struct JS::ServoSizes' declared here 59 | struct ServoSizes | ^~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::PreliminaryObjectArray]': src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:808:25: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::PreliminaryObjectArray'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/ObjectGroup.h:16, from src/third_party/mozjs-45/extract/js/src/vm/Shape.h:31, from src/third_party/mozjs-45/extract/js/src/jsobj.h:27: src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:796:7: note: 'class js::PreliminaryObjectArray' declared here 796 | class PreliminaryObjectArray | ^~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::TypeNewScript]': src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:939:39: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::TypeNewScript' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:886:7: note: 'class js::TypeNewScript' declared here 886 | class TypeNewScript | ^~~~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JSSubString]': src/third_party/mozjs-45/extract/js/src/jsstr.h:73:37: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JSSubString'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/String.h:16, from src/third_party/mozjs-45/extract/js/src/vm/Shape.h:32: src/third_party/mozjs-45/extract/js/src/jsstr.h:68:8: note: 'struct JSSubString' declared here 68 | struct JSSubString { | ^~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': src/third_party/mozjs-45/extract/js/src/vm/String.h:1092:25: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/String.h:1074:7: note: 'class js::StaticStrings' declared here 1074 | class StaticStrings | ^~~~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': src/third_party/mozjs-45/extract/js/src/vm/Shape.h:392:25: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/Shape.h:323:7: note: 'class js::BaseShape' declared here 323 | class BaseShape : public gc::TenuredCell | ^~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:699:25: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:24: src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:686:8: note: 'struct js::jit::IonScriptCounts' declared here 686 | struct IonScriptCounts | ^~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:293:40: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jit/JitFrames.h:12, from src/third_party/mozjs-45/extract/js/src/jit/Bailouts.h:13: src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:244:7: note: 'class js::NewObjectCache' declared here 244 | class NewObjectCache | ^~~~~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::Address]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:290:33: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::Address'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/Safepoints.h:12, from src/third_party/mozjs-45/extract/js/src/jit/JitFrames.h:16: src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:282:8: note: 'struct js::jit::Address' declared here 282 | struct Address | ^~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::BaseIndex]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:306:35: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::BaseIndex'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:295:8: note: 'struct js::jit::BaseIndex' declared here 295 | struct BaseIndex | ^~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::CodeOffsetJump]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:513:25: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::jit::CodeOffsetJump'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:491:7: note: 'class js::jit::CodeOffsetJump' declared here 491 | class CodeOffsetJump | ^~~~~~~~~~~~~~ In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::CallObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::CallObject::createHollowForDebug(JSContext*, JS::Handle)' at src/third_party/mozjs-45/extract/js/src/vm/ScopeObject.cpp:297:81: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'callobj' in 'MEM[(struct Rooted * *)cx_160(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/ScopeObject.cpp: In function 'js::CallObject::createHollowForDebug(JSContext*, JS::Handle)': src/third_party/mozjs-45/extract/js/src/vm/ScopeObject.cpp:297:25: note: 'callobj' declared here 297 | Rooted callobj(cx, createForFunction(cx, globalLexical, callee)); | ^~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/ScopeObject.cpp:297:25: note: 'cx_160(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(js::ExclusiveContext* const&, js::ObjectGroup*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::ModuleEnvironmentObject::create(js::ExclusiveContext*, JS::Handle)' at src/third_party/mozjs-45/extract/js/src/vm/ScopeObject.cpp:360:96: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'group' in 'MEM[(struct Rooted * *)cx_152(D) + 48B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/ScopeObject.cpp: In function 'js::ModuleEnvironmentObject::create(js::ExclusiveContext*, JS::Handle)': src/third_party/mozjs-45/extract/js/src/vm/ScopeObject.cpp:360:23: note: 'group' declared here 360 | RootedObjectGroup group(cx, ObjectGroup::defaultNewGroup(cx, &class_, TaggedProto(nullptr))); | ^~~~~ src/third_party/mozjs-45/extract/js/src/vm/ScopeObject.cpp:360:23: note: 'cx_152(D)' declared here In file included from src/third_party/mozjs-45/include/js/TracingAPI.h:12, from src/third_party/mozjs-45/include/js/TraceableVector.h:13, from src/third_party/mozjs-45/extract/js/src/NamespaceImports.h:16, from src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:10: src/third_party/mozjs-45/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': src/third_party/mozjs-45/include/js/HashTable.h:186:67: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' src/third_party/mozjs-45/extract/js/src/vm/SPSProfiler.h:256:18: required from here src/third_party/mozjs-45/include/js/HashTable.h:1550:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] 1550 | memset(table, 0, sizeof(*table) * capacity()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/HashTable.h:722:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here 722 | class HashTableEntry | ^~~~~~~~~~~~~~ In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'GetDebugScopeForScope(JSContext*, js::ScopeIter const&)' at src/third_party/mozjs-45/extract/js/src/vm/ScopeObject.cpp:2822:62, inlined from 'GetDebugScope(JSContext*, js::ScopeIter const&)' at src/third_party/mozjs-45/extract/js/src/vm/ScopeObject.cpp:2959:37: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'enclosingDebug' in 'MEM[(struct Rooted * *)cx_9(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/ScopeObject.cpp: In function 'GetDebugScope(JSContext*, js::ScopeIter const&)': src/third_party/mozjs-45/extract/js/src/vm/ScopeObject.cpp:2822:18: note: 'enclosingDebug' declared here 2822 | RootedObject enclosingDebug(cx, GetDebugScope(cx, ++copy)); | ^~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/ScopeObject.cpp:2822:18: note: 'cx_9(D)' declared here In file included from src/third_party/mozjs-45/extract/js/src/jit/BitSet.h:12, from src/third_party/mozjs-45/extract/js/src/jit/Safepoints.h:10: src/third_party/mozjs-45/extract/js/src/jit/JitAllocPolicy.h: In instantiation of 'T* js::jit::JitAllocPolicy::maybe_pod_calloc(size_t) [with T = js::detail::HashTableEntry >; size_t = long unsigned int]': src/third_party/mozjs-45/include/js/HashTable.h:1144:54: required from 'static js::detail::HashTable::Entry* js::detail::HashTable::createTable(AllocPolicy&, uint32_t, FailureBehavior) [with T = js::HashMapEntry; HashPolicy = js::HashMap::MapHashPolicy; AllocPolicy = js::jit::JitAllocPolicy; Entry = js::detail::HashTableEntry >; uint32_t = unsigned int]' src/third_party/mozjs-45/include/js/HashTable.h:1212:28: required from 'bool js::detail::HashTable::init(uint32_t) [with T = js::HashMapEntry; HashPolicy = js::HashMap::MapHashPolicy; AllocPolicy = js::jit::JitAllocPolicy; uint32_t = unsigned int]' src/third_party/mozjs-45/include/js/HashTable.h:79:73: required from 'bool js::HashMap::init(uint32_t) [with Key = JS::Value; Value = unsigned int; HashPolicy = js::jit::LIRGraph::ValueHasher; AllocPolicy = js::jit::JitAllocPolicy; uint32_t = unsigned int]' src/third_party/mozjs-45/extract/js/src/jit/LIR.h:1696:37: required from here src/third_party/mozjs-45/extract/js/src/jit/JitAllocPolicy.h:92:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::detail::HashTableEntry >' with no trivial copy-assignment [-Wclass-memaccess] 92 | memset(p, 0, numElems * sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/HashTable.h:722:7: note: 'class js::detail::HashTableEntry >' declared here 722 | class HashTableEntry | ^~~~~~~~~~~~~~ g++ -o build/fedora/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src33.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -Wno-non-virtual-dtor -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -include js-confdefs.h -Wno-invalid-offsetof -fPIE -DIMPL_MFBT -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=1 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora/third_party/mozjs-45/extract/js/src -Isrc/third_party/mozjs-45/extract/js/src -Ibuild/fedora/third_party/mozjs-45/extract/mfbt -Isrc/third_party/mozjs-45/extract/mfbt -Ibuild/fedora/third_party/mozjs-45/extract/intl/icu/source/common -Isrc/third_party/mozjs-45/extract/intl/icu/source/common -Ibuild/fedora/third_party/mozjs-45/include -Isrc/third_party/mozjs-45/include -Ibuild/fedora/third_party/mozjs-45/mongo_sources -Isrc/third_party/mozjs-45/mongo_sources -Ibuild/fedora/third_party/mozjs-45/platform/x86_64/linux/build -Isrc/third_party/mozjs-45/platform/x86_64/linux/build -Ibuild/fedora/third_party/mozjs-45/platform/x86_64/linux/include -Isrc/third_party/mozjs-45/platform/x86_64/linux/include src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src33.cpp In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/vm/SelfHosting.cpp:14, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src33.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1040:19: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 1040 | memcpy(&elements_[dstStart], src, count * sizeof(HeapSlot)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:22: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here 650 | class HeapSlot : public WriteBarrieredBase | ^~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1048:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 1048 | memcpy(&elements_[dstStart], src, count * sizeof(HeapSlot)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here 650 | class HeapSlot : public WriteBarrieredBase | ^~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1082:20: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 1082 | memmove(elements_ + dstStart, elements_ + srcStart, count * sizeof(HeapSlot)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here 650 | class HeapSlot : public WriteBarrieredBase | ^~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1094:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 1094 | memmove(elements_ + dstStart, elements_ + srcStart, count * sizeof(Value)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here 650 | class HeapSlot : public WriteBarrieredBase | ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/BooleanObject-inl.h:12, from src/third_party/mozjs-45/extract/js/src/vm/SelfHosting.cpp:45: src/third_party/mozjs-45/extract/js/src/jsobjinlines.h: In static member function 'static JSObject* JSObject::create(js::ExclusiveContext*, js::gc::AllocKind, js::gc::InitialHeap, js::HandleShape, js::HandleObjectGroup)': src/third_party/mozjs-45/extract/js/src/jsobjinlines.h:355:15: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::HeapSlot'; use assignment instead [-Wclass-memaccess] 355 | memset(obj->as().fixedSlots(), 0, size - sizeof(js::NativeObject)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here 650 | class HeapSlot : public WriteBarrieredBase | ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/extract/js/src/jsapi.h:25, from src/third_party/mozjs-45/extract/js/src/vm/SelfHosting.h:10, from src/third_party/mozjs-45/extract/js/src/vm/SelfHosting.cpp:7: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': src/third_party/mozjs-45/include/js/MemoryMetrics.h:40:34: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/gc/StoreBuffer.h:18, from src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:13: src/third_party/mozjs-45/include/js/MemoryMetrics.h:31:8: note: 'struct JS::TabSizes' declared here 31 | struct TabSizes | ^~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::ServoSizes]': src/third_party/mozjs-45/include/js/MemoryMetrics.h:71:36: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::ServoSizes'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/MemoryMetrics.h:59:8: note: 'struct JS::ServoSizes' declared here 59 | struct ServoSizes | ^~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JSSubString]': src/third_party/mozjs-45/extract/js/src/jsstr.h:73:37: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JSSubString'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/TraceLoggingTypes.h:11, from src/third_party/mozjs-45/extract/js/src/vm/TraceLoggingGraph.h:15, from src/third_party/mozjs-45/extract/js/src/vm/TraceLogging.h:19, from src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:22, from src/third_party/mozjs-45/extract/js/src/jsscript.h:24: src/third_party/mozjs-45/extract/js/src/jsstr.h:68:8: note: 'struct JSSubString' declared here 68 | struct JSSubString { | ^~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::PreliminaryObjectArray]': src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:808:25: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::PreliminaryObjectArray'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:23: src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:796:7: note: 'class js::PreliminaryObjectArray' declared here 796 | class PreliminaryObjectArray | ^~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::TypeNewScript]': src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:939:39: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::TypeNewScript' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:886:7: note: 'class js::TypeNewScript' declared here 886 | class TypeNewScript | ^~~~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:699:25: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:686:8: note: 'struct js::jit::IonScriptCounts' declared here 686 | struct IonScriptCounts | ^~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/include/js/Value.h:22, from src/third_party/mozjs-45/extract/js/src/jsutil.h:22, from src/third_party/mozjs-45/extract/js/src/ds/LifoAlloc.h:24: In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::jit::BaselineCompiler::emit_JSOP_CALLSITEOBJ()' at src/third_party/mozjs-45/extract/js/src/jit/BaselineCompiler.cpp:1529:69: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'raw' in 'MEM[(struct Rooted * *)_44 + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src9.cpp:29: src/third_party/mozjs-45/extract/js/src/jit/BaselineCompiler.cpp: In member function 'js::jit::BaselineCompiler::emit_JSOP_CALLSITEOBJ()': src/third_party/mozjs-45/extract/js/src/jit/BaselineCompiler.cpp:1529:18: note: 'raw' declared here 1529 | RootedObject raw(cx, script->getObject(GET_UINT32_INDEX(pc) + 1)); | ^~~ src/third_party/mozjs-45/extract/js/src/jit/BaselineCompiler.cpp:1529:18: note: 'MEM[(struct JSContext * const &)this_16(D)]' declared here src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': src/third_party/mozjs-45/extract/js/src/vm/String.h:1092:25: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/Shape.h:32, from src/third_party/mozjs-45/extract/js/src/jsobj.h:27, from src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:16: src/third_party/mozjs-45/extract/js/src/vm/String.h:1074:7: note: 'class js::StaticStrings' declared here 1074 | class StaticStrings | ^~~~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': src/third_party/mozjs-45/extract/js/src/vm/Shape.h:392:25: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/Shape.h:323:7: note: 'class js::BaseShape' declared here 323 | class BaseShape : public gc::TenuredCell | ^~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:293:40: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:244:7: note: 'class js::NewObjectCache' declared here 244 | class NewObjectCache | ^~~~~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::Address]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:290:33: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::Address'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/Safepoints.h:12, from src/third_party/mozjs-45/extract/js/src/jit/JitFrames.h:16, from src/third_party/mozjs-45/extract/js/src/jit/Bailouts.h:13, from src/third_party/mozjs-45/extract/js/src/jit/BaselineJIT.h:16, from src/third_party/mozjs-45/extract/js/src/jsscriptinlines.h:13, from src/third_party/mozjs-45/extract/js/src/vm/SelfHosting.cpp:43: src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:282:8: note: 'struct js::jit::Address' declared here 282 | struct Address | ^~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::BaseIndex]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:306:35: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::BaseIndex'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:295:8: note: 'struct js::jit::BaseIndex' declared here 295 | struct BaseIndex | ^~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::CodeOffsetJump]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:513:25: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::jit::CodeOffsetJump'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:491:7: note: 'class js::jit::CodeOffsetJump' declared here 491 | class CodeOffsetJump | ^~~~~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::AsmJSModule::StaticLinkData::Pod]': src/third_party/mozjs-45/extract/js/src/asmjs/AsmJSModule.h:681:44: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::AsmJSModule::StaticLinkData::Pod'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/Stack.cpp:14, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src33.cpp:29: src/third_party/mozjs-45/extract/js/src/asmjs/AsmJSModule.h:683:16: note: 'struct js::AsmJSModule::StaticLinkData::Pod' declared here 683 | struct Pod { | ^~~ In file included from src/third_party/mozjs-45/extract/js/src/jsapi.h:29: src/third_party/mozjs-45/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': src/third_party/mozjs-45/include/js/HashTable.h:186:67: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' src/third_party/mozjs-45/extract/js/src/vm/SPSProfiler.h:256:18: required from here src/third_party/mozjs-45/include/js/HashTable.h:1550:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] 1550 | memset(table, 0, sizeof(*table) * capacity()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/HashTable.h:722:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here 722 | class HashTableEntry | ^~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/BitSet.h:12, from src/third_party/mozjs-45/extract/js/src/jit/Safepoints.h:10: src/third_party/mozjs-45/extract/js/src/jit/JitAllocPolicy.h: In instantiation of 'T* js::jit::JitAllocPolicy::maybe_pod_calloc(size_t) [with T = js::detail::HashTableEntry >; size_t = long unsigned int]': src/third_party/mozjs-45/include/js/HashTable.h:1144:54: required from 'static js::detail::HashTable::Entry* js::detail::HashTable::createTable(AllocPolicy&, uint32_t, FailureBehavior) [with T = js::HashMapEntry; HashPolicy = js::HashMap::MapHashPolicy; AllocPolicy = js::jit::JitAllocPolicy; Entry = js::detail::HashTableEntry >; uint32_t = unsigned int]' src/third_party/mozjs-45/include/js/HashTable.h:1212:28: required from 'bool js::detail::HashTable::init(uint32_t) [with T = js::HashMapEntry; HashPolicy = js::HashMap::MapHashPolicy; AllocPolicy = js::jit::JitAllocPolicy; uint32_t = unsigned int]' src/third_party/mozjs-45/include/js/HashTable.h:79:73: required from 'bool js::HashMap::init(uint32_t) [with Key = JS::Value; Value = unsigned int; HashPolicy = js::jit::LIRGraph::ValueHasher; AllocPolicy = js::jit::JitAllocPolicy; uint32_t = unsigned int]' src/third_party/mozjs-45/extract/js/src/jit/LIR.h:1696:37: required from here src/third_party/mozjs-45/extract/js/src/jit/JitAllocPolicy.h:92:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::detail::HashTableEntry >' with no trivial copy-assignment [-Wclass-memaccess] 92 | memset(p, 0, numElems * sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/HashTable.h:722:7: note: 'class js::detail::HashTableEntry >' declared here 722 | class HashTableEntry | ^~~~~~~~~~~~~~ In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::jit::BaselineCompiler::emit_JSOP_OBJECT()' at src/third_party/mozjs-45/extract/js/src/jit/BaselineCompiler.cpp:1502:69: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'obj' in 'MEM[(struct Rooted * *)_52 + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jit/BaselineCompiler.cpp: In member function 'js::jit::BaselineCompiler::emit_JSOP_OBJECT()': src/third_party/mozjs-45/extract/js/src/jit/BaselineCompiler.cpp:1502:22: note: 'obj' declared here 1502 | RootedObject obj(cx, script->getObject(GET_UINT32_INDEX(pc))); | ^~~ src/third_party/mozjs-45/extract/js/src/jit/BaselineCompiler.cpp:1502:22: note: 'MEM[(struct JSContext * const &)this_18(D)]' declared here In file included from src/third_party/mozjs-45/include/js/CallArgs.h:38, from src/third_party/mozjs-45/extract/js/src/jsapi.h:27: In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::NativeObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'intrinsic_NewListIterator(JSContext*, unsigned int, JS::Value*)' at src/third_party/mozjs-45/extract/js/src/vm/SelfHosting.cpp:516:88: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'proto' in 'MEM[(struct Rooted * *)cx_50(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/SelfHosting.cpp: In function 'intrinsic_NewListIterator(JSContext*, unsigned int, JS::Value*)': src/third_party/mozjs-45/extract/js/src/vm/SelfHosting.cpp:516:18: note: 'proto' declared here 516 | RootedObject proto(cx, GlobalObject::getOrCreateIteratorPrototype(cx, cx->global())); | ^~~~~ src/third_party/mozjs-45/extract/js/src/vm/SelfHosting.cpp:516:18: note: 'cx_50(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::NativeObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'intrinsic_NewArrayIterator(JSContext*, unsigned int, JS::Value*)' at src/third_party/mozjs-45/extract/js/src/vm/SelfHosting.cpp:465:93: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'proto' in 'MEM[(struct Rooted * *)cx_35(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/SelfHosting.cpp: In function 'intrinsic_NewArrayIterator(JSContext*, unsigned int, JS::Value*)': src/third_party/mozjs-45/extract/js/src/vm/SelfHosting.cpp:465:18: note: 'proto' declared here 465 | RootedObject proto(cx, GlobalObject::getOrCreateArrayIteratorPrototype(cx, cx->global())); | ^~~~~ src/third_party/mozjs-45/extract/js/src/vm/SelfHosting.cpp:465:18: note: 'cx_35(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::NativeObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'intrinsic_NewStringIterator(JSContext*, unsigned int, JS::Value*)' at src/third_party/mozjs-45/extract/js/src/vm/SelfHosting.cpp:498:94: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'proto' in 'MEM[(struct Rooted * *)cx_35(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/SelfHosting.cpp: In function 'intrinsic_NewStringIterator(JSContext*, unsigned int, JS::Value*)': src/third_party/mozjs-45/extract/js/src/vm/SelfHosting.cpp:498:18: note: 'proto' declared here 498 | RootedObject proto(cx, GlobalObject::getOrCreateStringIteratorPrototype(cx, cx->global())); | ^~~~~ src/third_party/mozjs-45/extract/js/src/vm/SelfHosting.cpp:498:18: note: 'cx_35(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSScript*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'JSRuntime::cloneSelfHostedFunctionScript(JSContext*, JS::Handle, JS::Handle)' at src/third_party/mozjs-45/extract/js/src/vm/SelfHosting.cpp:2058:67: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'sourceScript' in 'MEM[(struct Rooted * *)cx_135(D) + 80B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/SelfHosting.cpp: In member function 'JSRuntime::cloneSelfHostedFunctionScript(JSContext*, JS::Handle, JS::Handle)': src/third_party/mozjs-45/extract/js/src/vm/SelfHosting.cpp:2058:18: note: 'sourceScript' declared here 2058 | RootedScript sourceScript(cx, sourceFun->getOrCreateScript(cx)); | ^~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/SelfHosting.cpp:2058:18: note: 'cx_135(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::NativeObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::InitSharedArrayBufferClass(JSContext*, JS::Handle)' at src/third_party/mozjs-45/extract/js/src/vm/SharedArrayObject.cpp:357:104: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'proto' in 'MEM[(struct Rooted * *)cx_138(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src33.cpp:20: src/third_party/mozjs-45/extract/js/src/vm/SharedArrayObject.cpp: In function 'js::InitSharedArrayBufferClass(JSContext*, JS::Handle)': src/third_party/mozjs-45/extract/js/src/vm/SharedArrayObject.cpp:357:24: note: 'proto' declared here 357 | RootedNativeObject proto(cx, global->createBlankPrototype(cx, &SharedArrayBufferObject::protoClass)); | ^~~~~ src/third_party/mozjs-45/extract/js/src/vm/SharedArrayObject.cpp:357:24: note: 'cx_138(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSLinearString*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::AutoStableStringChars::initTwoByte(JSContext*, JSString*)' at src/third_party/mozjs-45/extract/js/src/vm/String.cpp:919:60: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'linearString' in 'MEM[(struct Rooted * *)cx_73(D) + 56B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src33.cpp:47: src/third_party/mozjs-45/extract/js/src/vm/String.cpp: In member function 'js::AutoStableStringChars::initTwoByte(JSContext*, JSString*)': src/third_party/mozjs-45/extract/js/src/vm/String.cpp:919:24: note: 'linearString' declared here 919 | RootedLinearString linearString(cx, s->ensureLinear(cx)); | ^~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/String.cpp:919:24: note: 'cx_73(D)' declared here g++ -o build/fedora/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src12.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -Wno-non-virtual-dtor -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -include js-confdefs.h -Wno-invalid-offsetof -fPIE -DIMPL_MFBT -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=1 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora/third_party/mozjs-45/extract/js/src -Isrc/third_party/mozjs-45/extract/js/src -Ibuild/fedora/third_party/mozjs-45/extract/mfbt -Isrc/third_party/mozjs-45/extract/mfbt -Ibuild/fedora/third_party/mozjs-45/extract/intl/icu/source/common -Isrc/third_party/mozjs-45/extract/intl/icu/source/common -Ibuild/fedora/third_party/mozjs-45/include -Isrc/third_party/mozjs-45/include -Ibuild/fedora/third_party/mozjs-45/mongo_sources -Isrc/third_party/mozjs-45/mongo_sources -Ibuild/fedora/third_party/mozjs-45/platform/x86_64/linux/build -Isrc/third_party/mozjs-45/platform/x86_64/linux/build -Ibuild/fedora/third_party/mozjs-45/platform/x86_64/linux/include -Isrc/third_party/mozjs-45/platform/x86_64/linux/include src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src12.cpp In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(js::ExclusiveContext* const&, js::Shape*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::NativeObject::removeProperty(js::ExclusiveContext*, jsid)' at src/third_party/mozjs-45/extract/js/src/vm/Shape.cpp:917:72: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'shape' in 'MEM[(struct Rooted * *)cx_232(D) + 32B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src33.cpp:11: src/third_party/mozjs-45/extract/js/src/vm/Shape.cpp: In member function 'js::NativeObject::removeProperty(js::ExclusiveContext*, jsid)': src/third_party/mozjs-45/extract/js/src/vm/Shape.cpp:917:17: note: 'shape' declared here 917 | RootedShape shape(cx, Shape::search(cx, lastProperty(), id, &entry)); | ^~~~~ src/third_party/mozjs-45/extract/js/src/vm/Shape.cpp:917:17: note: 'cx_232(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(js::ExclusiveContext* const&, js::UnownedBaseShape*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::EmptyShape::getInitialShape(js::ExclusiveContext*, js::Class const*, js::TaggedProto, unsigned long, unsigned int)' at src/third_party/mozjs-45/extract/js/src/vm/Shape.cpp:1508:72: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'nbase' in 'MEM[(struct Rooted * *)cx_130(D) + 40B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/Shape.cpp: In function 'js::EmptyShape::getInitialShape(js::ExclusiveContext*, js::Class const*, js::TaggedProto, unsigned long, unsigned int)': src/third_party/mozjs-45/extract/js/src/vm/Shape.cpp:1508:31: note: 'nbase' declared here 1508 | Rooted nbase(cx, BaseShape::getUnowned(cx, base)); | ^~~~~ src/third_party/mozjs-45/extract/js/src/vm/Shape.cpp:1508:31: note: 'cx_130(D)' declared here In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jit/MIRGenerator.h:17, from src/third_party/mozjs-45/extract/js/src/jit/EffectiveAddressAnalysis.h:10, from src/third_party/mozjs-45/extract/js/src/jit/EffectiveAddressAnalysis.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src12.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1040:19: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 1040 | memcpy(&elements_[dstStart], src, count * sizeof(HeapSlot)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:22: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here 650 | class HeapSlot : public WriteBarrieredBase | ^~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1048:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 1048 | memcpy(&elements_[dstStart], src, count * sizeof(HeapSlot)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here 650 | class HeapSlot : public WriteBarrieredBase | ^~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1082:20: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 1082 | memmove(elements_ + dstStart, elements_ + srcStart, count * sizeof(HeapSlot)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here 650 | class HeapSlot : public WriteBarrieredBase | ^~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1094:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 1094 | memmove(elements_ + dstStart, elements_ + srcStart, count * sizeof(Value)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here 650 | class HeapSlot : public WriteBarrieredBase | ^~~~~~~~ In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(js::ExclusiveContext* const&, js::Shape*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::EmptyShape::ensureInitialCustomShape(js::ExclusiveContext*, JS::Handle)bool' at src/third_party/mozjs-45/extract/js/src/vm/Shape-inl.h:113:17, inlined from 'js::StringObject::init(JSContext*, JS::Handle)' at src/third_party/mozjs-45/extract/js/src/vm/StringObject-inl.h:25:60, inlined from 'js::StringObject::create(JSContext*, JS::Handle, JS::Handle, js::NewObjectKind)' at src/third_party/mozjs-45/extract/js/src/vm/StringObject-inl.h:42:22: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'shape' in 'MEM[(struct Rooted * *)cx_27(D) + 32B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsscriptinlines.h:19: src/third_party/mozjs-45/extract/js/src/vm/Shape-inl.h: In function 'js::StringObject::create(JSContext*, JS::Handle, JS::Handle, js::NewObjectKind)': src/third_party/mozjs-45/extract/js/src/vm/Shape-inl.h:113:17: note: 'shape' declared here 113 | RootedShape shape(cx, ObjectSubclass::assignInitialShape(cx, obj)); | ^~~~~ src/third_party/mozjs-45/extract/js/src/vm/Shape-inl.h:113:17: note: 'cx_27(D)' declared here g++ -o build/fedora/third_party/mozjs-45/extract/js/src/jit/x86-shared/Disassembler-x86-shared.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -Wno-non-virtual-dtor -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -include js-confdefs.h -Wno-invalid-offsetof -fPIE -DIMPL_MFBT -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=1 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora/third_party/mozjs-45/extract/js/src -Isrc/third_party/mozjs-45/extract/js/src -Ibuild/fedora/third_party/mozjs-45/extract/mfbt -Isrc/third_party/mozjs-45/extract/mfbt -Ibuild/fedora/third_party/mozjs-45/extract/intl/icu/source/common -Isrc/third_party/mozjs-45/extract/intl/icu/source/common -Ibuild/fedora/third_party/mozjs-45/include -Isrc/third_party/mozjs-45/include -Ibuild/fedora/third_party/mozjs-45/mongo_sources -Isrc/third_party/mozjs-45/mongo_sources -Ibuild/fedora/third_party/mozjs-45/platform/x86_64/linux/build -Isrc/third_party/mozjs-45/platform/x86_64/linux/build -Ibuild/fedora/third_party/mozjs-45/platform/x86_64/linux/include -Isrc/third_party/mozjs-45/platform/x86_64/linux/include src/third_party/mozjs-45/extract/js/src/jit/x86-shared/Disassembler-x86-shared.cpp In file included from src/third_party/mozjs-45/extract/js/src/jit/Ion.cpp:50, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src12.cpp:29: src/third_party/mozjs-45/extract/js/src/jsobjinlines.h: In static member function 'static JSObject* JSObject::create(js::ExclusiveContext*, js::gc::AllocKind, js::gc::InitialHeap, js::HandleShape, js::HandleObjectGroup)': src/third_party/mozjs-45/extract/js/src/jsobjinlines.h:355:15: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::HeapSlot'; use assignment instead [-Wclass-memaccess] 355 | memset(obj->as().fixedSlots(), 0, size - sizeof(js::NativeObject)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here 650 | class HeapSlot : public WriteBarrieredBase | ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/TraceableVector.h:12, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:14: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': src/third_party/mozjs-45/include/js/MemoryMetrics.h:40:34: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/gc/StoreBuffer.h:18, from src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:13: src/third_party/mozjs-45/include/js/MemoryMetrics.h:31:8: note: 'struct JS::TabSizes' declared here 31 | struct TabSizes | ^~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::ServoSizes]': src/third_party/mozjs-45/include/js/MemoryMetrics.h:71:36: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::ServoSizes'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/MemoryMetrics.h:59:8: note: 'struct JS::ServoSizes' declared here 59 | struct ServoSizes | ^~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/vm/RegExpObject.h:13, from src/third_party/mozjs-45/extract/js/src/builtin/RegExp.h:10, from src/third_party/mozjs-45/extract/js/src/jscompartment.h:15, from src/third_party/mozjs-45/extract/js/src/jit/MacroAssembler.h:13, from src/third_party/mozjs-45/extract/js/src/jit/Disassembler.h:10, from src/third_party/mozjs-45/extract/js/src/jit/x86-shared/Disassembler-x86-shared.cpp:7: src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1040:19: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 1040 | memcpy(&elements_[dstStart], src, count * sizeof(HeapSlot)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:22: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here 650 | class HeapSlot : public WriteBarrieredBase | ^~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1048:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 1048 | memcpy(&elements_[dstStart], src, count * sizeof(HeapSlot)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here 650 | class HeapSlot : public WriteBarrieredBase | ^~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1082:20: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 1082 | memmove(elements_ + dstStart, elements_ + srcStart, count * sizeof(HeapSlot)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here 650 | class HeapSlot : public WriteBarrieredBase | ^~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1094:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 1094 | memmove(elements_ + dstStart, elements_ + srcStart, count * sizeof(Value)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here 650 | class HeapSlot : public WriteBarrieredBase | ^~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JSSubString]': src/third_party/mozjs-45/extract/js/src/jsstr.h:73:37: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JSSubString'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/TraceLoggingTypes.h:11, from src/third_party/mozjs-45/extract/js/src/vm/TraceLoggingGraph.h:15, from src/third_party/mozjs-45/extract/js/src/vm/TraceLogging.h:19, from src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:22, from src/third_party/mozjs-45/extract/js/src/jsscript.h:24: src/third_party/mozjs-45/extract/js/src/jsstr.h:68:8: note: 'struct JSSubString' declared here 68 | struct JSSubString { | ^~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::PreliminaryObjectArray]': src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:808:25: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::PreliminaryObjectArray'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:23: src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:796:7: note: 'class js::PreliminaryObjectArray' declared here 796 | class PreliminaryObjectArray | ^~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::TypeNewScript]': src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:939:39: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::TypeNewScript' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:886:7: note: 'class js::TypeNewScript' declared here 886 | class TypeNewScript | ^~~~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:699:25: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:686:8: note: 'struct js::jit::IonScriptCounts' declared here 686 | struct IonScriptCounts | ^~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': src/third_party/mozjs-45/extract/js/src/vm/String.h:1092:25: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/Shape.h:32, from src/third_party/mozjs-45/extract/js/src/jsobj.h:27, from src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:16: src/third_party/mozjs-45/extract/js/src/vm/String.h:1074:7: note: 'class js::StaticStrings' declared here 1074 | class StaticStrings | ^~~~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': src/third_party/mozjs-45/extract/js/src/vm/Shape.h:392:25: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/Shape.h:323:7: note: 'class js::BaseShape' declared here 323 | class BaseShape : public gc::TenuredCell | ^~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:293:40: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:244:7: note: 'class js::NewObjectCache' declared here 244 | class NewObjectCache | ^~~~~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::Address]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:290:33: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::Address'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/Safepoints.h:12, from src/third_party/mozjs-45/extract/js/src/jit/JitFrames.h:16, from src/third_party/mozjs-45/extract/js/src/jit/CompileInfo.h:13, from src/third_party/mozjs-45/extract/js/src/jit/MIRGenerator.h:20: src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:282:8: note: 'struct js::jit::Address' declared here 282 | struct Address | ^~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::BaseIndex]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:306:35: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::BaseIndex'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:295:8: note: 'struct js::jit::BaseIndex' declared here 295 | struct BaseIndex | ^~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::CodeOffsetJump]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:513:25: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::jit::CodeOffsetJump'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:491:7: note: 'class js::jit::CodeOffsetJump' declared here 491 | class CodeOffsetJump | ^~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/include/js/TracingAPI.h:12, from src/third_party/mozjs-45/include/js/TraceableVector.h:13: src/third_party/mozjs-45/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': src/third_party/mozjs-45/include/js/HashTable.h:186:67: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' src/third_party/mozjs-45/extract/js/src/vm/SPSProfiler.h:256:18: required from here src/third_party/mozjs-45/include/js/HashTable.h:1550:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] 1550 | memset(table, 0, sizeof(*table) * capacity()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/HashTable.h:722:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here 722 | class HashTableEntry | ^~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/CompileInfo.h:12: src/third_party/mozjs-45/extract/js/src/jit/JitAllocPolicy.h: In instantiation of 'T* js::jit::JitAllocPolicy::maybe_pod_calloc(size_t) [with T = js::detail::HashTableEntry >; size_t = long unsigned int]': src/third_party/mozjs-45/include/js/HashTable.h:1144:54: required from 'static js::detail::HashTable::Entry* js::detail::HashTable::createTable(AllocPolicy&, uint32_t, FailureBehavior) [with T = js::HashMapEntry; HashPolicy = js::HashMap::MapHashPolicy; AllocPolicy = js::jit::JitAllocPolicy; Entry = js::detail::HashTableEntry >; uint32_t = unsigned int]' src/third_party/mozjs-45/include/js/HashTable.h:1212:28: required from 'bool js::detail::HashTable::init(uint32_t) [with T = js::HashMapEntry; HashPolicy = js::HashMap::MapHashPolicy; AllocPolicy = js::jit::JitAllocPolicy; uint32_t = unsigned int]' src/third_party/mozjs-45/include/js/HashTable.h:79:73: required from 'bool js::HashMap::init(uint32_t) [with Key = JS::Value; Value = unsigned int; HashPolicy = js::jit::LIRGraph::ValueHasher; AllocPolicy = js::jit::JitAllocPolicy; uint32_t = unsigned int]' src/third_party/mozjs-45/extract/js/src/jit/LIR.h:1696:37: required from here src/third_party/mozjs-45/extract/js/src/jit/JitAllocPolicy.h:92:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::detail::HashTableEntry >' with no trivial copy-assignment [-Wclass-memaccess] 92 | memset(p, 0, numElems * sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/HashTable.h:722:7: note: 'class js::detail::HashTableEntry >' declared here 722 | class HashTableEntry | ^~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jit/JitAllocPolicy.h: In instantiation of 'T* js::jit::JitAllocPolicy::maybe_pod_calloc(size_t) [with T = js::detail::HashTableEntry >; size_t = long unsigned int]': src/third_party/mozjs-45/include/js/HashTable.h:1144:54: required from 'static js::detail::HashTable::Entry* js::detail::HashTable::createTable(AllocPolicy&, uint32_t, FailureBehavior) [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::jit::JitAllocPolicy>::MapHashPolicy; AllocPolicy = js::jit::JitAllocPolicy; Entry = js::detail::HashTableEntry >; uint32_t = unsigned int]' src/third_party/mozjs-45/include/js/HashTable.h:1212:28: required from 'bool js::detail::HashTable::init(uint32_t) [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::jit::JitAllocPolicy>::MapHashPolicy; AllocPolicy = js::jit::JitAllocPolicy; uint32_t = unsigned int]' src/third_party/mozjs-45/include/js/HashTable.h:79:73: required from 'bool js::HashMap::init(uint32_t) [with Key = unsigned int; Value = BoundsCheckInfo; HashPolicy = js::DefaultHasher; AllocPolicy = js::jit::JitAllocPolicy; uint32_t = unsigned int]' src/third_party/mozjs-45/extract/js/src/jit/IonAnalysis.cpp:3066:21: required from here src/third_party/mozjs-45/extract/js/src/jit/JitAllocPolicy.h:92:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::detail::HashTableEntry >' with no trivial copy-assignment [-Wclass-memaccess] 92 | memset(p, 0, numElems * sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/HashTable.h:722:7: note: 'class js::detail::HashTableEntry >' declared here 722 | class HashTableEntry | ^~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/TraceableVector.h:12, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:14: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': src/third_party/mozjs-45/include/js/MemoryMetrics.h:40:34: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/gc/StoreBuffer.h:18, from src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:13: src/third_party/mozjs-45/include/js/MemoryMetrics.h:31:8: note: 'struct JS::TabSizes' declared here 31 | struct TabSizes | ^~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::ServoSizes]': src/third_party/mozjs-45/include/js/MemoryMetrics.h:71:36: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::ServoSizes'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/MemoryMetrics.h:59:8: note: 'struct JS::ServoSizes' declared here 59 | struct ServoSizes | ^~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JSSubString]': src/third_party/mozjs-45/extract/js/src/jsstr.h:73:37: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JSSubString'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/TraceLoggingTypes.h:11, from src/third_party/mozjs-45/extract/js/src/vm/TraceLoggingGraph.h:15, from src/third_party/mozjs-45/extract/js/src/vm/TraceLogging.h:19, from src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:22, from src/third_party/mozjs-45/extract/js/src/jsscript.h:24: src/third_party/mozjs-45/extract/js/src/jsstr.h:68:8: note: 'struct JSSubString' declared here 68 | struct JSSubString { | ^~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::PreliminaryObjectArray]': src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:808:25: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::PreliminaryObjectArray'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:23: src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:796:7: note: 'class js::PreliminaryObjectArray' declared here 796 | class PreliminaryObjectArray | ^~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::TypeNewScript]': src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:939:39: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::TypeNewScript' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:886:7: note: 'class js::TypeNewScript' declared here 886 | class TypeNewScript | ^~~~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:699:25: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:686:8: note: 'struct js::jit::IonScriptCounts' declared here 686 | struct IonScriptCounts | ^~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': src/third_party/mozjs-45/extract/js/src/vm/String.h:1092:25: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/Shape.h:32, from src/third_party/mozjs-45/extract/js/src/jsobj.h:27, from src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:16: src/third_party/mozjs-45/extract/js/src/vm/String.h:1074:7: note: 'class js::StaticStrings' declared here 1074 | class StaticStrings | ^~~~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': src/third_party/mozjs-45/extract/js/src/vm/Shape.h:392:25: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/Shape.h:323:7: note: 'class js::BaseShape' declared here 323 | class BaseShape : public gc::TenuredCell | ^~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:293:40: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:244:7: note: 'class js::NewObjectCache' declared here 244 | class NewObjectCache | ^~~~~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::Address]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:290:33: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::Address'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/Safepoints.h:12, from src/third_party/mozjs-45/extract/js/src/jit/JitFrames.h:16, from src/third_party/mozjs-45/extract/js/src/jit/x64/MacroAssembler-x64.h:10, from src/third_party/mozjs-45/extract/js/src/jit/MacroAssembler.h:18: src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:282:8: note: 'struct js::jit::Address' declared here 282 | struct Address | ^~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::BaseIndex]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:306:35: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::BaseIndex'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:295:8: note: 'struct js::jit::BaseIndex' declared here 295 | struct BaseIndex | ^~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::CodeOffsetJump]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:513:25: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::jit::CodeOffsetJump'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:491:7: note: 'class js::jit::CodeOffsetJump' declared here 491 | class CodeOffsetJump | ^~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/include/js/TracingAPI.h:12, from src/third_party/mozjs-45/include/js/TraceableVector.h:13: src/third_party/mozjs-45/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': src/third_party/mozjs-45/include/js/HashTable.h:186:67: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' src/third_party/mozjs-45/extract/js/src/vm/SPSProfiler.h:256:18: required from here src/third_party/mozjs-45/include/js/HashTable.h:1550:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] 1550 | memset(table, 0, sizeof(*table) * capacity()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/HashTable.h:722:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here 722 | class HashTableEntry | ^~~~~~~~~~~~~~ g++ -o build/fedora/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src31.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -Wno-non-virtual-dtor -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -include js-confdefs.h -Wno-invalid-offsetof -fPIE -DIMPL_MFBT -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=1 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora/third_party/mozjs-45/extract/js/src -Isrc/third_party/mozjs-45/extract/js/src -Ibuild/fedora/third_party/mozjs-45/extract/mfbt -Isrc/third_party/mozjs-45/extract/mfbt -Ibuild/fedora/third_party/mozjs-45/extract/intl/icu/source/common -Isrc/third_party/mozjs-45/extract/intl/icu/source/common -Ibuild/fedora/third_party/mozjs-45/include -Isrc/third_party/mozjs-45/include -Ibuild/fedora/third_party/mozjs-45/mongo_sources -Isrc/third_party/mozjs-45/mongo_sources -Ibuild/fedora/third_party/mozjs-45/platform/x86_64/linux/build -Isrc/third_party/mozjs-45/platform/x86_64/linux/build -Ibuild/fedora/third_party/mozjs-45/platform/x86_64/linux/include -Isrc/third_party/mozjs-45/platform/x86_64/linux/include src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src31.cpp In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/vm/PIC.h:11, from src/third_party/mozjs-45/extract/js/src/vm/PIC.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src31.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1040:19: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 1040 | memcpy(&elements_[dstStart], src, count * sizeof(HeapSlot)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:22: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here 650 | class HeapSlot : public WriteBarrieredBase | ^~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1048:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 1048 | memcpy(&elements_[dstStart], src, count * sizeof(HeapSlot)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here 650 | class HeapSlot : public WriteBarrieredBase | ^~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1082:20: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 1082 | memmove(elements_ + dstStart, elements_ + srcStart, count * sizeof(HeapSlot)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here 650 | class HeapSlot : public WriteBarrieredBase | ^~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1094:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 1094 | memmove(elements_ + dstStart, elements_ + srcStart, count * sizeof(Value)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here 650 | class HeapSlot : public WriteBarrieredBase | ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/PIC.cpp:16: src/third_party/mozjs-45/extract/js/src/jsobjinlines.h: In static member function 'static JSObject* JSObject::create(js::ExclusiveContext*, js::gc::AllocKind, js::gc::InitialHeap, js::HandleShape, js::HandleObjectGroup)': src/third_party/mozjs-45/extract/js/src/jsobjinlines.h:355:15: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::HeapSlot'; use assignment instead [-Wclass-memaccess] 355 | memset(obj->as().fixedSlots(), 0, size - sizeof(js::NativeObject)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here 650 | class HeapSlot : public WriteBarrieredBase | ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/extract/js/src/jsapi.h:25, from src/third_party/mozjs-45/extract/js/src/vm/PIC.h:10: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': src/third_party/mozjs-45/include/js/MemoryMetrics.h:40:34: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/gc/StoreBuffer.h:18, from src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:13: src/third_party/mozjs-45/include/js/MemoryMetrics.h:31:8: note: 'struct JS::TabSizes' declared here 31 | struct TabSizes | ^~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::ServoSizes]': src/third_party/mozjs-45/include/js/MemoryMetrics.h:71:36: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::ServoSizes'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/MemoryMetrics.h:59:8: note: 'struct JS::ServoSizes' declared here 59 | struct ServoSizes | ^~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JSSubString]': src/third_party/mozjs-45/extract/js/src/jsstr.h:73:37: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JSSubString'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/TraceLoggingTypes.h:11, from src/third_party/mozjs-45/extract/js/src/vm/TraceLoggingGraph.h:15, from src/third_party/mozjs-45/extract/js/src/vm/TraceLogging.h:19, from src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:22, from src/third_party/mozjs-45/extract/js/src/jsscript.h:24: src/third_party/mozjs-45/extract/js/src/jsstr.h:68:8: note: 'struct JSSubString' declared here 68 | struct JSSubString { | ^~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::PreliminaryObjectArray]': src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:808:25: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::PreliminaryObjectArray'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:23: src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:796:7: note: 'class js::PreliminaryObjectArray' declared here 796 | class PreliminaryObjectArray | ^~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::TypeNewScript]': src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:939:39: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::TypeNewScript' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:886:7: note: 'class js::TypeNewScript' declared here 886 | class TypeNewScript | ^~~~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:699:25: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:686:8: note: 'struct js::jit::IonScriptCounts' declared here 686 | struct IonScriptCounts | ^~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': src/third_party/mozjs-45/extract/js/src/vm/String.h:1092:25: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/Shape.h:32, from src/third_party/mozjs-45/extract/js/src/jsobj.h:27, from src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:16: src/third_party/mozjs-45/extract/js/src/vm/String.h:1074:7: note: 'class js::StaticStrings' declared here 1074 | class StaticStrings | ^~~~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': src/third_party/mozjs-45/extract/js/src/vm/Shape.h:392:25: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/Shape.h:323:7: note: 'class js::BaseShape' declared here 323 | class BaseShape : public gc::TenuredCell | ^~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:293:40: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:244:7: note: 'class js::NewObjectCache' declared here 244 | class NewObjectCache | ^~~~~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::Address]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:290:33: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::Address'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/Safepoints.h:12, from src/third_party/mozjs-45/extract/js/src/jit/JitFrames.h:16, from src/third_party/mozjs-45/extract/js/src/jscntxtinlines.h:16, from src/third_party/mozjs-45/extract/js/src/jscompartmentinlines.h:14, from src/third_party/mozjs-45/extract/js/src/jsobjinlines.h:29: src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:282:8: note: 'struct js::jit::Address' declared here 282 | struct Address | ^~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::BaseIndex]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:306:35: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::BaseIndex'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:295:8: note: 'struct js::jit::BaseIndex' declared here 295 | struct BaseIndex | ^~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::CodeOffsetJump]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:513:25: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::jit::CodeOffsetJump'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:491:7: note: 'class js::jit::CodeOffsetJump' declared here 491 | class CodeOffsetJump | ^~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsapi.h:29: src/third_party/mozjs-45/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': src/third_party/mozjs-45/include/js/HashTable.h:186:67: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' src/third_party/mozjs-45/extract/js/src/vm/SPSProfiler.h:256:18: required from here src/third_party/mozjs-45/include/js/HashTable.h:1550:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] 1550 | memset(table, 0, sizeof(*table) * capacity()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/HashTable.h:722:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here 722 | class HashTableEntry | ^~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/include/js/CallArgs.h:38, from src/third_party/mozjs-45/extract/js/src/jsapi.h:27: In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::NativeObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::ForOfPIC::Chain::initialize(JSContext*)' at src/third_party/mozjs-45/extract/js/src/vm/PIC.cpp:28:96: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'arrayProto' in 'MEM[(struct Rooted * *)cx_139(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/PIC.cpp: In member function 'js::ForOfPIC::Chain::initialize(JSContext*)': src/third_party/mozjs-45/extract/js/src/vm/PIC.cpp:28:24: note: 'arrayProto' declared here 28 | RootedNativeObject arrayProto(cx, GlobalObject::getOrCreateArrayPrototype(cx, cx->global())); | ^~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/PIC.cpp:28:24: note: 'cx_139(D)' declared here g++ -o build/fedora/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src24.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -Wno-non-virtual-dtor -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -include js-confdefs.h -Wno-invalid-offsetof -fPIE -DIMPL_MFBT -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=1 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora/third_party/mozjs-45/extract/js/src -Isrc/third_party/mozjs-45/extract/js/src -Ibuild/fedora/third_party/mozjs-45/extract/mfbt -Isrc/third_party/mozjs-45/extract/mfbt -Ibuild/fedora/third_party/mozjs-45/extract/intl/icu/source/common -Isrc/third_party/mozjs-45/extract/intl/icu/source/common -Ibuild/fedora/third_party/mozjs-45/include -Isrc/third_party/mozjs-45/include -Ibuild/fedora/third_party/mozjs-45/mongo_sources -Isrc/third_party/mozjs-45/mongo_sources -Ibuild/fedora/third_party/mozjs-45/platform/x86_64/linux/build -Isrc/third_party/mozjs-45/platform/x86_64/linux/build -Ibuild/fedora/third_party/mozjs-45/platform/x86_64/linux/include -Isrc/third_party/mozjs-45/platform/x86_64/linux/include src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src24.cpp In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jsnum.cpp:25, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src24.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1040:19: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 1040 | memcpy(&elements_[dstStart], src, count * sizeof(HeapSlot)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/jsnum.cpp:24: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here 650 | class HeapSlot : public WriteBarrieredBase | ^~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1048:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 1048 | memcpy(&elements_[dstStart], src, count * sizeof(HeapSlot)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here 650 | class HeapSlot : public WriteBarrieredBase | ^~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1082:20: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 1082 | memmove(elements_ + dstStart, elements_ + srcStart, count * sizeof(HeapSlot)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here 650 | class HeapSlot : public WriteBarrieredBase | ^~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1094:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 1094 | memmove(elements_ + dstStart, elements_ + srcStart, count * sizeof(Value)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here 650 | class HeapSlot : public WriteBarrieredBase | ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/NativeObject-inl.h:19, from src/third_party/mozjs-45/extract/js/src/jsnum.cpp:37: src/third_party/mozjs-45/extract/js/src/jsobjinlines.h: In static member function 'static JSObject* JSObject::create(js::ExclusiveContext*, js::gc::AllocKind, js::gc::InitialHeap, js::HandleShape, js::HandleObjectGroup)': src/third_party/mozjs-45/extract/js/src/jsobjinlines.h:355:15: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::HeapSlot'; use assignment instead [-Wclass-memaccess] 355 | memset(obj->as().fixedSlots(), 0, size - sizeof(js::NativeObject)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here 650 | class HeapSlot : public WriteBarrieredBase | ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/CallArgs.h:38, from src/third_party/mozjs-45/include/js/CallNonGenericMethod.h:12, from src/third_party/mozjs-45/extract/js/src/NamespaceImports.h:15, from src/third_party/mozjs-45/extract/js/src/jsnum.h:13, from src/third_party/mozjs-45/extract/js/src/jsnum.cpp:11: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': src/third_party/mozjs-45/include/js/MemoryMetrics.h:40:34: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/gc/StoreBuffer.h:18, from src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:13: src/third_party/mozjs-45/include/js/MemoryMetrics.h:31:8: note: 'struct JS::TabSizes' declared here 31 | struct TabSizes | ^~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::ServoSizes]': src/third_party/mozjs-45/include/js/MemoryMetrics.h:71:36: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::ServoSizes'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/MemoryMetrics.h:59:8: note: 'struct JS::ServoSizes' declared here 59 | struct ServoSizes | ^~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JSSubString]': src/third_party/mozjs-45/extract/js/src/jsstr.h:73:37: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JSSubString'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/TraceLoggingTypes.h:11, from src/third_party/mozjs-45/extract/js/src/vm/TraceLoggingGraph.h:15, from src/third_party/mozjs-45/extract/js/src/vm/TraceLogging.h:19, from src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:22, from src/third_party/mozjs-45/extract/js/src/jsscript.h:24: src/third_party/mozjs-45/extract/js/src/jsstr.h:68:8: note: 'struct JSSubString' declared here 68 | struct JSSubString { | ^~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::PreliminaryObjectArray]': src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:808:25: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::PreliminaryObjectArray'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:23: src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:796:7: note: 'class js::PreliminaryObjectArray' declared here 796 | class PreliminaryObjectArray | ^~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::TypeNewScript]': src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:939:39: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::TypeNewScript' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:886:7: note: 'class js::TypeNewScript' declared here 886 | class TypeNewScript | ^~~~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:699:25: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:686:8: note: 'struct js::jit::IonScriptCounts' declared here 686 | struct IonScriptCounts | ^~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': src/third_party/mozjs-45/extract/js/src/vm/String.h:1092:25: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/Shape.h:32, from src/third_party/mozjs-45/extract/js/src/jsobj.h:27, from src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:16: src/third_party/mozjs-45/extract/js/src/vm/String.h:1074:7: note: 'class js::StaticStrings' declared here 1074 | class StaticStrings | ^~~~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': src/third_party/mozjs-45/extract/js/src/vm/Shape.h:392:25: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/Shape.h:323:7: note: 'class js::BaseShape' declared here 323 | class BaseShape : public gc::TenuredCell | ^~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:293:40: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:244:7: note: 'class js::NewObjectCache' declared here 244 | class NewObjectCache | ^~~~~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::Address]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:290:33: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::Address'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/Safepoints.h:12, from src/third_party/mozjs-45/extract/js/src/jit/JitFrames.h:16, from src/third_party/mozjs-45/extract/js/src/jscntxtinlines.h:16, from src/third_party/mozjs-45/extract/js/src/jscompartmentinlines.h:14, from src/third_party/mozjs-45/extract/js/src/jsobjinlines.h:29: src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:282:8: note: 'struct js::jit::Address' declared here 282 | struct Address | ^~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::BaseIndex]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:306:35: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::BaseIndex'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:295:8: note: 'struct js::jit::BaseIndex' declared here 295 | struct BaseIndex | ^~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::CodeOffsetJump]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:513:25: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::jit::CodeOffsetJump'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSScript*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::jit::IonBuilder::canInlineTarget(JSFunction*, js::jit::CallInfo&)' at src/third_party/mozjs-45/extract/js/src/jit/IonBuilder.cpp:474:88: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'script' in 'MEM[(struct Rooted * *)_48 + 80B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src12.cpp:47: src/third_party/mozjs-45/extract/js/src/jit/IonBuilder.cpp: In member function 'js::jit::IonBuilder::canInlineTarget(JSFunction*, js::jit::CallInfo&)': src/third_party/mozjs-45/extract/js/src/jit/IonBuilder.cpp:474:22: note: 'script' declared here 474 | RootedScript script(analysisContext, target->getOrCreateScript(analysisContext)); | ^~~~~~ src/third_party/mozjs-45/extract/js/src/jit/IonBuilder.cpp:474:22: note: 'MEM[(struct JSContext * const &)this_15(D) + 224]' declared here src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:491:7: note: 'class js::jit::CodeOffsetJump' declared here 491 | class CodeOffsetJump | ^~~~~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::AsmJSModule::StaticLinkData::Pod]': src/third_party/mozjs-45/extract/js/src/asmjs/AsmJSModule.h:681:44: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::AsmJSModule::StaticLinkData::Pod'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsobj.cpp:41, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src24.cpp:11: src/third_party/mozjs-45/extract/js/src/asmjs/AsmJSModule.h:683:16: note: 'struct js::AsmJSModule::StaticLinkData::Pod' declared here 683 | struct Pod { | ^~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::gc::TenureCountCache]': src/third_party/mozjs-45/extract/js/src/gc/GCInternals.h:211:42: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::gc::TenureCountCache'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsopcode.cpp:39, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src24.cpp:29: src/third_party/mozjs-45/extract/js/src/gc/GCInternals.h:207:8: note: 'struct js::gc::TenureCountCache' declared here 207 | struct TenureCountCache | ^~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = {anonymous}::BytecodeParser::Bytecode]': src/third_party/mozjs-45/extract/js/src/jsopcode.cpp:230:38: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class {anonymous}::BytecodeParser::Bytecode'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jsopcode.cpp:227:11: note: 'class {anonymous}::BytecodeParser::Bytecode' declared here 227 | class Bytecode | ^~~~~~~~ In file included from src/third_party/mozjs-45/include/js/TracingAPI.h:12, from src/third_party/mozjs-45/include/js/TraceableVector.h:13, from src/third_party/mozjs-45/extract/js/src/NamespaceImports.h:16: src/third_party/mozjs-45/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': src/third_party/mozjs-45/include/js/HashTable.h:186:67: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' src/third_party/mozjs-45/extract/js/src/vm/SPSProfiler.h:256:18: required from here src/third_party/mozjs-45/include/js/HashTable.h:1550:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] 1550 | memset(table, 0, sizeof(*table) * capacity()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/HashTable.h:722:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here 722 | class HashTableEntry | ^~~~~~~~~~~~~~ In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(js::ExclusiveContext* const&, JSObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::LookupPropertyInline<(js::AllowGC)1>(js::ExclusiveContext*, js::MaybeRooted::HandleType, js::MaybeRooted::HandleType, js::MaybeRooted::MutableHandleType, js::MaybeRooted::MutableHandleType)bool' at src/third_party/mozjs-45/extract/js/src/vm/NativeObject-inl.h:562:60, inlined from 'js::LookupProperty(JSContext*, JS::Handle, JS::Handle, JS::MutableHandle, JS::MutableHandle)' at src/third_party/mozjs-45/extract/js/src/jsobj.cpp:2149:39: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'proto' in 'MEM[(struct Rooted * *)cx_12(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/NativeObject-inl.h: In function 'js::LookupProperty(JSContext*, JS::Handle, JS::Handle, JS::MutableHandle, JS::MutableHandle)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject-inl.h:562:60: note: 'proto' declared here 562 | typename MaybeRooted::RootType proto(cx, current->getProto()); | ^~~~~ src/third_party/mozjs-45/extract/js/src/vm/NativeObject-inl.h:562:60: note: 'cx_12(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted&>(JSContext* const&, JS::Handle&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::LookupName(JSContext*, JS::Handle, JS::Handle, JS::MutableHandle, JS::MutableHandle, JS::MutableHandle)' at src/third_party/mozjs-45/extract/js/src/jsobj.cpp:2158:43: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'scope' in 'MEM[(struct Rooted * *)cx_76(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jsobj.cpp: In function 'js::LookupName(JSContext*, JS::Handle, JS::Handle, JS::MutableHandle, JS::MutableHandle, JS::MutableHandle)': src/third_party/mozjs-45/extract/js/src/jsobj.cpp:2158:23: note: 'scope' declared here 2158 | for (RootedObject scope(cx, scopeChain); scope; scope = scope->enclosingScope()) { | ^~~~~ src/third_party/mozjs-45/extract/js/src/jsobj.cpp:2158:23: note: 'cx_76(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::UnwatchGuts(JSContext*, JS::Handle, JS::Handle)' at src/third_party/mozjs-45/extract/js/src/jsobj.cpp:2801:56: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'obj' in 'MEM[(struct Rooted * *)cx_27(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jsobj.cpp: In function 'js::UnwatchGuts(JSContext*, JS::Handle, JS::Handle)': src/third_party/mozjs-45/extract/js/src/jsobj.cpp:2801:18: note: 'obj' declared here 2801 | RootedObject obj(cx, ToWindowIfWindowProxy(origObj)); | ^~~ src/third_party/mozjs-45/extract/js/src/jsobj.cpp:2801:18: note: 'cx_27(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(js::ExclusiveContext* const&, js::Shape*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'NewObject(js::ExclusiveContext*, JS::Handle, js::gc::AllocKind, js::NewObjectKind, unsigned int)' at src/third_party/mozjs-45/extract/js/src/jsobj.cpp:663:73: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'shape' in 'MEM[(struct Rooted * *)cx_72(D) + 32B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jsobj.cpp: In function 'NewObject(js::ExclusiveContext*, JS::Handle, js::gc::AllocKind, js::NewObjectKind, unsigned int)': src/third_party/mozjs-45/extract/js/src/jsobj.cpp:662:17: note: 'shape' declared here 662 | RootedShape shape(cx, EmptyShape::getInitialShape(cx, clasp, group->proto(), nfixed, | ^~~~~ src/third_party/mozjs-45/extract/js/src/jsobj.cpp:662:17: note: 'cx_72(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(js::ExclusiveContext* const&, js::ObjectGroup*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::NewObjectWithGivenTaggedProto(js::ExclusiveContext*, js::Class const*, JS::Handle, js::gc::AllocKind, js::NewObjectKind, unsigned int)' at src/third_party/mozjs-45/extract/js/src/jsobj.cpp:725:94: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'group' in 'MEM[(struct Rooted * *)cxArg_88(D) + 48B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jsobj.cpp: In function 'js::NewObjectWithGivenTaggedProto(js::ExclusiveContext*, js::Class const*, JS::Handle, js::gc::AllocKind, js::NewObjectKind, unsigned int)': src/third_party/mozjs-45/extract/js/src/jsobj.cpp:725:23: note: 'group' declared here 725 | RootedObjectGroup group(cxArg, ObjectGroup::defaultNewGroup(cxArg, clasp, proto, nullptr)); | ^~~~~ src/third_party/mozjs-45/extract/js/src/jsobj.cpp:725:23: note: 'cxArg_88(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(js::ExclusiveContext* const&, js::ObjectGroup*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::NewObjectWithClassProtoCommon(js::ExclusiveContext*, js::Class const*, JS::Handle, js::gc::AllocKind, js::NewObjectKind)' at src/third_party/mozjs-45/extract/js/src/jsobj.cpp:792:91: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'group' in 'MEM[(struct Rooted * *)cxArg_130(D) + 48B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jsobj.cpp: In function 'js::NewObjectWithClassProtoCommon(js::ExclusiveContext*, js::Class const*, JS::Handle, js::gc::AllocKind, js::NewObjectKind)': src/third_party/mozjs-45/extract/js/src/jsobj.cpp:792:23: note: 'group' declared here 792 | RootedObjectGroup group(cxArg, ObjectGroup::defaultNewGroup(cxArg, clasp, taggedProto)); | ^~~~~ src/third_party/mozjs-45/extract/js/src/jsobj.cpp:792:23: note: 'cxArg_130(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::PlainObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::NewObjectScriptedCall(JSContext*, JS::MutableHandle)' at src/third_party/mozjs-45/extract/js/src/jsobj.cpp:869:86: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'obj' in 'MEM[(struct Rooted * *)cx_69(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jsobj.cpp: In function 'js::NewObjectScriptedCall(JSContext*, JS::MutableHandle)': src/third_party/mozjs-45/extract/js/src/jsobj.cpp:869:18: note: 'obj' declared here 869 | RootedObject obj(cx, NewBuiltinClassInstance(cx, allocKind, newKind)); | ^~~ src/third_party/mozjs-45/extract/js/src/jsobj.cpp:869:18: note: 'cx_69(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::PlainObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::FromPropertyDescriptorToObject(JSContext*, JS::Handle, JS::MutableHandle)' at src/third_party/mozjs-45/extract/js/src/jsobj.cpp:129:66: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'obj' in 'MEM[(struct Rooted * *)cx_163(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jsobj.cpp: In function 'js::FromPropertyDescriptorToObject(JSContext*, JS::Handle, JS::MutableHandle)': src/third_party/mozjs-45/extract/js/src/jsobj.cpp:129:18: note: 'obj' declared here 129 | RootedObject obj(cx, NewBuiltinClassInstance(cx)); | ^~~ src/third_party/mozjs-45/extract/js/src/jsobj.cpp:129:18: note: 'cx_163(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::ObjectGroup*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::CreateThisForFunctionWithProto(JSContext*, JS::Handle, JS::Handle, JS::Handle, js::NewObjectKind)' at src/third_party/mozjs-45/extract/js/src/jsobj.cpp:959:76: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'group' in 'MEM[(struct Rooted * *)cx_112(D) + 48B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jsobj.cpp: In function 'js::CreateThisForFunctionWithProto(JSContext*, JS::Handle, JS::Handle, JS::Handle, js::NewObjectKind)': src/third_party/mozjs-45/extract/js/src/jsobj.cpp:958:27: note: 'group' declared here 958 | RootedObjectGroup group(cx, ObjectGroup::defaultNewGroup(cx, nullptr, TaggedProto(proto), | ^~~~~ src/third_party/mozjs-45/extract/js/src/jsobj.cpp:958:27: note: 'cx_112(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSFlatString*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'Walk(JSContext*, JS::Handle, JS::Handle, JS::Handle, JS::MutableHandle)' at src/third_party/mozjs-45/extract/js/src/json.cpp:786:46: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'key' in 'MEM[(struct Rooted * *)cx_495(D) + 56B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src24.cpp:20: src/third_party/mozjs-45/extract/js/src/json.cpp: In function 'Walk(JSContext*, JS::Handle, JS::Handle, JS::Handle, JS::MutableHandle)': src/third_party/mozjs-45/extract/js/src/json.cpp:786:18: note: 'key' declared here 786 | RootedString key(cx, IdToString(cx, name)); | ^~~ src/third_party/mozjs-45/extract/js/src/json.cpp:786:18: note: 'cx_495(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::PlainObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'Revive(JSContext*, JS::Handle, JS::MutableHandle)' at src/third_party/mozjs-45/extract/js/src/json.cpp:808:71: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'obj' in 'MEM[(struct Rooted * *)cx_69(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/json.cpp: In function 'Revive(JSContext*, JS::Handle, JS::MutableHandle)': src/third_party/mozjs-45/extract/js/src/json.cpp:808:23: note: 'obj' declared here 808 | RootedPlainObject obj(cx, NewBuiltinClassInstance(cx)); | ^~~ src/third_party/mozjs-45/extract/js/src/json.cpp:808:23: note: 'cx_69(D)' declared here In file included from src/third_party/mozjs-45/extract/js/src/json.cpp:23: In member function 'js::JSONParserBase::JSONParserBase(js::JSONParserBase&&)', inlined from 'js::JSONParser::JSONParser(js::JSONParser&&)' at src/third_party/mozjs-45/extract/js/src/vm/JSONParser.h:221:22, inlined from 'js::DispatchWrapper >::DispatchWrapper >(js::JSONParser&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:635:9, inlined from 'JS::Rooted >::Rooted >(JSContext* const&, js::JSONParser&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:713:9, inlined from 'js::ParseJSONWithReviver(JSContext*, mozilla::Range, JS::Handle, JS::MutableHandle)bool' at src/third_party/mozjs-45/extract/js/src/json.cpp:825:31: src/third_party/mozjs-45/extract/js/src/vm/JSONParser.h:124:9: warning: 'MEM[(struct JSONParserBase &)&D.367557].v' is used uninitialized [-Wuninitialized] 124 | : v(other.v), | ^~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/json.cpp: In function 'js::ParseJSONWithReviver(JSContext*, mozilla::Range, JS::Handle, JS::MutableHandle)bool': src/third_party/mozjs-45/extract/js/src/json.cpp:825:42: note: '' declared here 825 | Rooted> parser(cx, JSONParser(cx, chars)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In member function 'js::JSONParserBase::JSONParserBase(js::JSONParserBase&&)', inlined from 'js::JSONParser::JSONParser(js::JSONParser&&)' at src/third_party/mozjs-45/extract/js/src/vm/JSONParser.h:221:22, inlined from 'js::DispatchWrapper >::DispatchWrapper >(js::JSONParser&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:635:9, inlined from 'JS::Rooted >::Rooted >(JSContext* const&, js::JSONParser&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:713:9, inlined from 'js::ParseJSONWithReviver(JSContext*, mozilla::Range, JS::Handle, JS::MutableHandle)bool' at src/third_party/mozjs-45/extract/js/src/json.cpp:825:31: src/third_party/mozjs-45/extract/js/src/vm/JSONParser.h:124:9: warning: 'MEM[(struct JSONParserBase &)&D.367927].v' is used uninitialized [-Wuninitialized] 124 | : v(other.v), | ^~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/json.cpp: In function 'js::ParseJSONWithReviver(JSContext*, mozilla::Range, JS::Handle, JS::MutableHandle)bool': src/third_party/mozjs-45/extract/js/src/json.cpp:825:42: note: '' declared here 825 | Rooted> parser(cx, JSONParser(cx, chars)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jit/IonBuilder.cpp: In member function 'js::jit::IonBuilder::computeHeapType(js::TemporaryTypeSet const*, jsid)': src/third_party/mozjs-45/extract/js/src/jit/IonBuilder.cpp:9290:1: warning: function may return address of local variable [-Wreturn-local-addr] 9290 | } | ^ src/third_party/mozjs-45/extract/js/src/jit/IonBuilder.cpp:9259:22: note: declared here 9259 | TemporaryTypeSet empty; | ^~~~~ In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSString*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::num_parseInt(JSContext*, unsigned int, JS::Value*)' at src/third_party/mozjs-45/extract/js/src/jsnum.cpp:417:62: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'inputString' in 'MEM[(struct Rooted * *)cx_110(D) + 56B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jsnum.cpp: In function 'js::num_parseInt(JSContext*, unsigned int, JS::Value*)': src/third_party/mozjs-45/extract/js/src/jsnum.cpp:417:18: note: 'inputString' declared here 417 | RootedString inputString(cx, ToString(cx, args[0])); | ^~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jsnum.cpp:417:18: note: 'cx_110(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:708:30, inlined from 'PreprocessValue >(JSContext*, JS::Handle, JS::Handle, JS::MutableHandle, (anonymous namespace)::StringifyContext*)bool' at src/third_party/mozjs-45/extract/js/src/json.cpp:215:18: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'keyStr' in 'MEM[(struct Rooted * *)cx_266(D) + 56B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/json.cpp: In function 'PreprocessValue >(JSContext*, JS::Handle, JS::Handle, JS::MutableHandle, (anonymous namespace)::StringifyContext*)bool': src/third_party/mozjs-45/extract/js/src/json.cpp:215:18: note: 'keyStr' declared here 215 | RootedString keyStr(cx); | ^~~~~~ src/third_party/mozjs-45/extract/js/src/json.cpp:215:18: note: 'cx_266(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::NativeObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::InitNumberClass(JSContext*, JS::Handle)' at src/third_party/mozjs-45/extract/js/src/jsnum.cpp:1138:89: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'numberProto' in 'MEM[(struct Rooted * *)cx_320(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jsnum.cpp: In function 'js::InitNumberClass(JSContext*, JS::Handle)': src/third_party/mozjs-45/extract/js/src/jsnum.cpp:1138:18: note: 'numberProto' declared here 1138 | RootedObject numberProto(cx, global->createBlankPrototype(cx, &NumberObject::class_)); | ^~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jsnum.cpp:1138:18: note: 'cx_320(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(js::ExclusiveContext* const&, js::Shape*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::EmptyShape::ensureInitialCustomShape(js::ExclusiveContext*, JS::Handle)bool' at src/third_party/mozjs-45/extract/js/src/vm/Shape-inl.h:113:17, inlined from 'js::StringObject::init(JSContext*, JS::Handle)' at src/third_party/mozjs-45/extract/js/src/vm/StringObject-inl.h:25:60, inlined from 'js::StringObject::create(JSContext*, JS::Handle, JS::Handle, js::NewObjectKind)' at src/third_party/mozjs-45/extract/js/src/vm/StringObject-inl.h:42:22: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'shape' in 'MEM[(struct Rooted * *)cx_27(D) + 32B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsscriptinlines.h:19, from src/third_party/mozjs-45/extract/js/src/vm/Stack-inl.h:24, from src/third_party/mozjs-45/extract/js/src/vm/Interpreter-inl.h:23, from src/third_party/mozjs-45/extract/js/src/jsobj.cpp:65: src/third_party/mozjs-45/extract/js/src/vm/Shape-inl.h: In function 'js::StringObject::create(JSContext*, JS::Handle, JS::Handle, js::NewObjectKind)': src/third_party/mozjs-45/extract/js/src/vm/Shape-inl.h:113:17: note: 'shape' declared here 113 | RootedShape shape(cx, ObjectSubclass::assignInitialShape(cx, obj)); | ^~~~~ src/third_party/mozjs-45/extract/js/src/vm/Shape-inl.h:113:17: note: 'cx_27(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::NativeObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::InitJSONClass(JSContext*, JS::Handle)' at src/third_party/mozjs-45/extract/js/src/json.cpp:925:66: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'proto' in 'MEM[(struct Rooted * *)cx_90(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/json.cpp: In function 'js::InitJSONClass(JSContext*, JS::Handle)': src/third_party/mozjs-45/extract/js/src/json.cpp:925:18: note: 'proto' declared here 925 | RootedObject proto(cx, global->getOrCreateObjectPrototype(cx)); | ^~~~~ src/third_party/mozjs-45/extract/js/src/json.cpp:925:18: note: 'cx_90(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSAtom*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::InitClass(JSContext*, JS::Handle, JS::Handle, js::Class const*, bool (*)(JSContext*, unsigned int, JS::Value*), unsigned int, JSPropertySpec const*, JSFunctionSpec const*, JSPropertySpec const*, JSFunctionSpec const*, js::NativeObject**, js::gc::AllocKind)' at src/third_party/mozjs-45/extract/js/src/jsobj.cpp:1861:70: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'atom' in 'MEM[(struct Rooted * *)cx_75(D) + 56B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jsobj.cpp: In function 'js::InitClass(JSContext*, JS::Handle, JS::Handle, js::Class const*, bool (*)(JSContext*, unsigned int, JS::Value*), unsigned int, JSPropertySpec const*, JSFunctionSpec const*, JSPropertySpec const*, JSFunctionSpec const*, js::NativeObject**, js::gc::AllocKind)': src/third_party/mozjs-45/extract/js/src/jsobj.cpp:1861:16: note: 'atom' declared here 1861 | RootedAtom atom(cx, Atomize(cx, clasp->name, strlen(clasp->name))); | ^~~~ src/third_party/mozjs-45/extract/js/src/jsobj.cpp:1861:16: note: 'cx_75(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSScript*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::jit::AnalyzeNewScriptDefiniteProperties(JSContext*, JSFunction*, js::ObjectGroup*, JS::Handle, mozilla::Vector*)' at src/third_party/mozjs-45/extract/js/src/jit/IonAnalysis.cpp:3659:55: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'script' in 'MEM[(struct Rooted * *)cx_366(D) + 80B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src12.cpp:38: src/third_party/mozjs-45/extract/js/src/jit/IonAnalysis.cpp: In function 'js::jit::AnalyzeNewScriptDefiniteProperties(JSContext*, JSFunction*, js::ObjectGroup*, JS::Handle, mozilla::Vector*)': src/third_party/mozjs-45/extract/js/src/jit/IonAnalysis.cpp:3659:18: note: 'script' declared here 3659 | RootedScript script(cx, fun->getOrCreateScript(cx)); | ^~~~~~ src/third_party/mozjs-45/extract/js/src/jit/IonAnalysis.cpp:3659:18: note: 'cx_366(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSString*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::DecompileArgument(JSContext*, int, JS::Handle)' at src/third_party/mozjs-45/extract/js/src/jsopcode.cpp:1517:51: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'fallback' in 'MEM[(struct Rooted * *)cx_40(D) + 56B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jsopcode.cpp: In function 'js::DecompileArgument(JSContext*, int, JS::Handle)': src/third_party/mozjs-45/extract/js/src/jsopcode.cpp:1517:18: note: 'fallback' declared here 1517 | RootedString fallback(cx, ValueToSource(cx, v)); | ^~~~~~~~ src/third_party/mozjs-45/extract/js/src/jsopcode.cpp:1517:18: note: 'cx_40(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::ToPropertyDescriptor(JSContext*, JS::Handle, bool, JS::MutableHandle)' at src/third_party/mozjs-45/extract/js/src/jsobj.cpp:276:52: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'obj' in 'MEM[(struct Rooted * *)cx_303(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jsobj.cpp: In function 'js::ToPropertyDescriptor(JSContext*, JS::Handle, bool, JS::MutableHandle)': src/third_party/mozjs-45/extract/js/src/jsobj.cpp:276:18: note: 'obj' declared here 276 | RootedObject obj(cx, NonNullObject(cx, descval)); | ^~~ src/third_party/mozjs-45/extract/js/src/jsobj.cpp:276:18: note: 'cx_303(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:708:30, inlined from 'js::ReadPropertyDescriptors(JSContext*, JS::Handle, bool, JS::AutoVectorRooter*, JS::MutableHandle > >)' at src/third_party/mozjs-45/extract/js/src/jsobj.cpp:428:19: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'id' in 'MEM[(struct Rooted * *)cx_116(D) + 96B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jsobj.cpp: In function 'js::ReadPropertyDescriptors(JSContext*, JS::Handle, bool, JS::AutoVectorRooter*, JS::MutableHandle > >)': src/third_party/mozjs-45/extract/js/src/jsobj.cpp:428:14: note: 'id' declared here 428 | RootedId id(cx); | ^~ src/third_party/mozjs-45/extract/js/src/jsobj.cpp:428:14: note: 'cx_116(D)' declared here g++ -o build/fedora/third_party/mozjs-45/extract/js/src/jsarray.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -Wno-non-virtual-dtor -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -include js-confdefs.h -Wno-invalid-offsetof -fPIE -DIMPL_MFBT -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=1 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora/third_party/mozjs-45/extract/js/src -Isrc/third_party/mozjs-45/extract/js/src -Ibuild/fedora/third_party/mozjs-45/extract/mfbt -Isrc/third_party/mozjs-45/extract/mfbt -Ibuild/fedora/third_party/mozjs-45/extract/intl/icu/source/common -Isrc/third_party/mozjs-45/extract/intl/icu/source/common -Ibuild/fedora/third_party/mozjs-45/include -Isrc/third_party/mozjs-45/include -Ibuild/fedora/third_party/mozjs-45/mongo_sources -Isrc/third_party/mozjs-45/mongo_sources -Ibuild/fedora/third_party/mozjs-45/platform/x86_64/linux/build -Isrc/third_party/mozjs-45/platform/x86_64/linux/build -Ibuild/fedora/third_party/mozjs-45/platform/x86_64/linux/include -Isrc/third_party/mozjs-45/platform/x86_64/linux/include src/third_party/mozjs-45/extract/js/src/jsarray.cpp g++ -o build/fedora/third_party/mozjs-45/extract/js/src/gc/StoreBuffer.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -Wno-non-virtual-dtor -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -include js-confdefs.h -Wno-invalid-offsetof -fPIE -DIMPL_MFBT -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=1 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora/third_party/mozjs-45/extract/js/src -Isrc/third_party/mozjs-45/extract/js/src -Ibuild/fedora/third_party/mozjs-45/extract/mfbt -Isrc/third_party/mozjs-45/extract/mfbt -Ibuild/fedora/third_party/mozjs-45/extract/intl/icu/source/common -Isrc/third_party/mozjs-45/extract/intl/icu/source/common -Ibuild/fedora/third_party/mozjs-45/include -Isrc/third_party/mozjs-45/include -Ibuild/fedora/third_party/mozjs-45/mongo_sources -Isrc/third_party/mozjs-45/mongo_sources -Ibuild/fedora/third_party/mozjs-45/platform/x86_64/linux/build -Isrc/third_party/mozjs-45/platform/x86_64/linux/build -Ibuild/fedora/third_party/mozjs-45/platform/x86_64/linux/include -Isrc/third_party/mozjs-45/platform/x86_64/linux/include src/third_party/mozjs-45/extract/js/src/gc/StoreBuffer.cpp In file included from src/third_party/mozjs-45/extract/js/src/vm/ArrayObject.h:10, from src/third_party/mozjs-45/extract/js/src/jsarray.h:15, from src/third_party/mozjs-45/extract/js/src/jsarray.cpp:7: src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1040:19: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 1040 | memcpy(&elements_[dstStart], src, count * sizeof(HeapSlot)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsobj.h:21, from src/third_party/mozjs-45/extract/js/src/jsarray.h:12: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here 650 | class HeapSlot : public WriteBarrieredBase | ^~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1048:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 1048 | memcpy(&elements_[dstStart], src, count * sizeof(HeapSlot)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here 650 | class HeapSlot : public WriteBarrieredBase | ^~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1082:20: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 1082 | memmove(elements_ + dstStart, elements_ + srcStart, count * sizeof(HeapSlot)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here 650 | class HeapSlot : public WriteBarrieredBase | ^~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1094:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 1094 | memmove(elements_ + dstStart, elements_ + srcStart, count * sizeof(Value)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here 650 | class HeapSlot : public WriteBarrieredBase | ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/vm/RegExpObject.h:13, from src/third_party/mozjs-45/extract/js/src/builtin/RegExp.h:10, from src/third_party/mozjs-45/extract/js/src/jscompartment.h:15, from src/third_party/mozjs-45/extract/js/src/gc/StoreBuffer.cpp:11: src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1040:19: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 1040 | memcpy(&elements_[dstStart], src, count * sizeof(HeapSlot)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:22: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here 650 | class HeapSlot : public WriteBarrieredBase | ^~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1048:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 1048 | memcpy(&elements_[dstStart], src, count * sizeof(HeapSlot)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here 650 | class HeapSlot : public WriteBarrieredBase | ^~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1082:20: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 1082 | memmove(elements_ + dstStart, elements_ + srcStart, count * sizeof(HeapSlot)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here 650 | class HeapSlot : public WriteBarrieredBase | ^~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1094:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 1094 | memmove(elements_ + dstStart, elements_ + srcStart, count * sizeof(Value)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here 650 | class HeapSlot : public WriteBarrieredBase | ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/ds/LifoAlloc.h:15, from src/third_party/mozjs-45/extract/js/src/gc/StoreBuffer.h:16, from src/third_party/mozjs-45/extract/js/src/gc/StoreBuffer.cpp:7: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': src/third_party/mozjs-45/include/js/MemoryMetrics.h:40:34: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/gc/StoreBuffer.h:18: src/third_party/mozjs-45/include/js/MemoryMetrics.h:31:8: note: 'struct JS::TabSizes' declared here 31 | struct TabSizes | ^~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::ServoSizes]': src/third_party/mozjs-45/include/js/MemoryMetrics.h:71:36: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::ServoSizes'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/MemoryMetrics.h:59:8: note: 'struct JS::ServoSizes' declared here 59 | struct ServoSizes | ^~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JSSubString]': src/third_party/mozjs-45/extract/js/src/jsstr.h:73:37: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JSSubString'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/TraceLoggingTypes.h:11, from src/third_party/mozjs-45/extract/js/src/vm/TraceLoggingGraph.h:15, from src/third_party/mozjs-45/extract/js/src/vm/TraceLogging.h:19, from src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:22, from src/third_party/mozjs-45/extract/js/src/jsscript.h:24: src/third_party/mozjs-45/extract/js/src/jsstr.h:68:8: note: 'struct JSSubString' declared here 68 | struct JSSubString { | ^~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::PreliminaryObjectArray]': src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:808:25: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::PreliminaryObjectArray'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:23: src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:796:7: note: 'class js::PreliminaryObjectArray' declared here 796 | class PreliminaryObjectArray | ^~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::TypeNewScript]': src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:939:39: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::TypeNewScript' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:886:7: note: 'class js::TypeNewScript' declared here 886 | class TypeNewScript | ^~~~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:699:25: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:686:8: note: 'struct js::jit::IonScriptCounts' declared here 686 | struct IonScriptCounts | ^~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': src/third_party/mozjs-45/extract/js/src/vm/String.h:1092:25: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/Shape.h:32, from src/third_party/mozjs-45/extract/js/src/jsobj.h:27, from src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:16: src/third_party/mozjs-45/extract/js/src/vm/String.h:1074:7: note: 'class js::StaticStrings' declared here 1074 | class StaticStrings | ^~~~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': src/third_party/mozjs-45/extract/js/src/vm/Shape.h:392:25: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/Shape.h:323:7: note: 'class js::BaseShape' declared here 323 | class BaseShape : public gc::TenuredCell | ^~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:293:40: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:244:7: note: 'class js::NewObjectCache' declared here 244 | class NewObjectCache | ^~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsapi.h:29, from src/third_party/mozjs-45/extract/js/src/jsfriendapi.h:15, from src/third_party/mozjs-45/extract/js/src/gc/Heap.h:20, from src/third_party/mozjs-45/extract/js/src/gc/Nursery.h:15, from src/third_party/mozjs-45/extract/js/src/gc/StoreBuffer.h:17: src/third_party/mozjs-45/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': src/third_party/mozjs-45/include/js/HashTable.h:186:67: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' src/third_party/mozjs-45/extract/js/src/vm/SPSProfiler.h:256:18: required from here src/third_party/mozjs-45/include/js/HashTable.h:1550:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] 1550 | memset(table, 0, sizeof(*table) * capacity()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/HashTable.h:722:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here 722 | class HashTableEntry | ^~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = const js::gc::StoreBuffer::ValueEdge; HashPolicy = js::HashSet, js::SystemAllocPolicy>::SetOps; AllocPolicy = js::SystemAllocPolicy]': src/third_party/mozjs-45/include/js/HashTable.h:424:67: required from 'void js::HashSet::clear() [with T = js::gc::StoreBuffer::ValueEdge; HashPolicy = js::gc::StoreBuffer::PointerEdgeHasher; AllocPolicy = js::SystemAllocPolicy]' src/third_party/mozjs-45/extract/js/src/gc/StoreBuffer.h:86:30: required from 'void js::gc::StoreBuffer::MonoTypeBuffer::clear() [with T = js::gc::StoreBuffer::ValueEdge]' src/third_party/mozjs-45/extract/js/src/gc/StoreBuffer.cpp:78:20: required from here src/third_party/mozjs-45/include/js/HashTable.h:1550:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::SystemAllocPolicy>::SetOps, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry'} with no trivial copy-assignment [-Wclass-memaccess] 1550 | memset(table, 0, sizeof(*table) * capacity()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/HashTable.h:722:7: note: 'js::detail::HashTable, js::SystemAllocPolicy>::SetOps, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry'} declared here 722 | class HashTableEntry | ^~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = const js::gc::StoreBuffer::CellPtrEdge; HashPolicy = js::HashSet, js::SystemAllocPolicy>::SetOps; AllocPolicy = js::SystemAllocPolicy]': src/third_party/mozjs-45/include/js/HashTable.h:424:67: required from 'void js::HashSet::clear() [with T = js::gc::StoreBuffer::CellPtrEdge; HashPolicy = js::gc::StoreBuffer::PointerEdgeHasher; AllocPolicy = js::SystemAllocPolicy]' src/third_party/mozjs-45/extract/js/src/gc/StoreBuffer.h:86:30: required from 'void js::gc::StoreBuffer::MonoTypeBuffer::clear() [with T = js::gc::StoreBuffer::CellPtrEdge]' src/third_party/mozjs-45/extract/js/src/gc/StoreBuffer.cpp:79:21: required from here src/third_party/mozjs-45/include/js/HashTable.h:1550:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::SystemAllocPolicy>::SetOps, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry'} with no trivial copy-assignment [-Wclass-memaccess] 1550 | memset(table, 0, sizeof(*table) * capacity()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/HashTable.h:722:7: note: 'js::detail::HashTable, js::SystemAllocPolicy>::SetOps, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry'} declared here 722 | class HashTableEntry | ^~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = const js::gc::StoreBuffer::SlotsEdge; HashPolicy = js::HashSet::SetOps; AllocPolicy = js::SystemAllocPolicy]': src/third_party/mozjs-45/include/js/HashTable.h:424:67: required from 'void js::HashSet::clear() [with T = js::gc::StoreBuffer::SlotsEdge; HashPolicy = js::gc::StoreBuffer::SlotsEdge::Hasher; AllocPolicy = js::SystemAllocPolicy]' src/third_party/mozjs-45/extract/js/src/gc/StoreBuffer.h:86:30: required from 'void js::gc::StoreBuffer::MonoTypeBuffer::clear() [with T = js::gc::StoreBuffer::SlotsEdge]' src/third_party/mozjs-45/extract/js/src/gc/StoreBuffer.cpp:80:21: required from here src/third_party/mozjs-45/include/js/HashTable.h:1550:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable::SetOps, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry'} with no trivial copy-assignment [-Wclass-memaccess] 1550 | memset(table, 0, sizeof(*table) * capacity()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/HashTable.h:722:7: note: 'js::detail::HashTable::SetOps, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry'} declared here 722 | class HashTableEntry | ^~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = const js::gc::StoreBuffer::WholeCellEdges; HashPolicy = js::HashSet, js::SystemAllocPolicy>::SetOps; AllocPolicy = js::SystemAllocPolicy]': src/third_party/mozjs-45/include/js/HashTable.h:424:67: required from 'void js::HashSet::clear() [with T = js::gc::StoreBuffer::WholeCellEdges; HashPolicy = js::gc::StoreBuffer::PointerEdgeHasher; AllocPolicy = js::SystemAllocPolicy]' src/third_party/mozjs-45/extract/js/src/gc/StoreBuffer.h:86:30: required from 'void js::gc::StoreBuffer::MonoTypeBuffer::clear() [with T = js::gc::StoreBuffer::WholeCellEdges]' src/third_party/mozjs-45/extract/js/src/gc/StoreBuffer.cpp:81:26: required from here src/third_party/mozjs-45/include/js/HashTable.h:1550:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::SystemAllocPolicy>::SetOps, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry'} with no trivial copy-assignment [-Wclass-memaccess] 1550 | memset(table, 0, sizeof(*table) * capacity()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/HashTable.h:722:7: note: 'js::detail::HashTable, js::SystemAllocPolicy>::SetOps, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry'} declared here 722 | class HashTableEntry | ^~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/ScopeObject-inl.h:13, from src/third_party/mozjs-45/extract/js/src/vm/ArgumentsObject-inl.h:16, from src/third_party/mozjs-45/extract/js/src/jsarray.cpp:41: src/third_party/mozjs-45/extract/js/src/jsobjinlines.h: In static member function 'static JSObject* JSObject::create(js::ExclusiveContext*, js::gc::AllocKind, js::gc::InitialHeap, js::HandleShape, js::HandleObjectGroup)': src/third_party/mozjs-45/extract/js/src/jsobjinlines.h:355:15: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::HeapSlot'; use assignment instead [-Wclass-memaccess] 355 | memset(obj->as().fixedSlots(), 0, size - sizeof(js::NativeObject)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here 650 | class HeapSlot : public WriteBarrieredBase | ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/CallArgs.h:38, from src/third_party/mozjs-45/include/js/CallNonGenericMethod.h:12, from src/third_party/mozjs-45/extract/js/src/NamespaceImports.h:15, from src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:10: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': src/third_party/mozjs-45/include/js/MemoryMetrics.h:40:34: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/gc/StoreBuffer.h:18, from src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:13: src/third_party/mozjs-45/include/js/MemoryMetrics.h:31:8: note: 'struct JS::TabSizes' declared here 31 | struct TabSizes | ^~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::ServoSizes]': src/third_party/mozjs-45/include/js/MemoryMetrics.h:71:36: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::ServoSizes'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/MemoryMetrics.h:59:8: note: 'struct JS::ServoSizes' declared here 59 | struct ServoSizes | ^~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::PreliminaryObjectArray]': src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:808:25: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::PreliminaryObjectArray'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/ObjectGroup.h:16, from src/third_party/mozjs-45/extract/js/src/vm/Shape.h:31, from src/third_party/mozjs-45/extract/js/src/jsobj.h:27: src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:796:7: note: 'class js::PreliminaryObjectArray' declared here 796 | class PreliminaryObjectArray | ^~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::TypeNewScript]': src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:939:39: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::TypeNewScript' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:886:7: note: 'class js::TypeNewScript' declared here 886 | class TypeNewScript | ^~~~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JSSubString]': src/third_party/mozjs-45/extract/js/src/jsstr.h:73:37: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JSSubString'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/String.h:16, from src/third_party/mozjs-45/extract/js/src/vm/Shape.h:32: src/third_party/mozjs-45/extract/js/src/jsstr.h:68:8: note: 'struct JSSubString' declared here 68 | struct JSSubString { | ^~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': src/third_party/mozjs-45/extract/js/src/vm/String.h:1092:25: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/String.h:1074:7: note: 'class js::StaticStrings' declared here 1074 | class StaticStrings | ^~~~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': src/third_party/mozjs-45/extract/js/src/vm/Shape.h:392:25: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/Shape.h:323:7: note: 'class js::BaseShape' declared here 323 | class BaseShape : public gc::TenuredCell | ^~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:699:25: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:24, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jsarray.cpp:19: src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:686:8: note: 'struct js::jit::IonScriptCounts' declared here 686 | struct IonScriptCounts | ^~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:293:40: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:244:7: note: 'class js::NewObjectCache' declared here 244 | class NewObjectCache | ^~~~~~~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::Address]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:290:33: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::Address'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/Safepoints.h:12, from src/third_party/mozjs-45/extract/js/src/jit/JitFrames.h:16, from src/third_party/mozjs-45/extract/js/src/jit/Bailouts.h:13, from src/third_party/mozjs-45/extract/js/src/jit/BaselineJIT.h:16, from src/third_party/mozjs-45/extract/js/src/jsscriptinlines.h:13, from src/third_party/mozjs-45/extract/js/src/vm/ArgumentsObject-inl.h:14: src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:282:8: note: 'struct js::jit::Address' declared here 282 | struct Address | ^~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::BaseIndex]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:306:35: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::BaseIndex'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:295:8: note: 'struct js::jit::BaseIndex' declared here 295 | struct BaseIndex | ^~~~~~~~~ src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::CodeOffsetJump]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:513:25: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::jit::CodeOffsetJump'; use assignment or value-initialization instead [-Wclass-memaccess] 32 | memset(aT, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:491:7: note: 'class js::jit::CodeOffsetJump' declared here 491 | class CodeOffsetJump | ^~~~~~~~~~~~~~ ar rcsTD build/fedora/mongo/db/exec/libworking_set.a build/fedora/mongo/db/exec/working_set.o Skipping ranlib for thin archive build/fedora/mongo/db/exec/libworking_set.a g++ -o build/fedora/mongo/db/kill_sessions_common.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/kill_sessions_common.cpp In file included from src/third_party/mozjs-45/include/js/TracingAPI.h:12, from src/third_party/mozjs-45/include/js/TraceableVector.h:13, from src/third_party/mozjs-45/extract/js/src/NamespaceImports.h:16: src/third_party/mozjs-45/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': src/third_party/mozjs-45/include/js/HashTable.h:186:67: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' src/third_party/mozjs-45/extract/js/src/vm/SPSProfiler.h:256:18: required from here src/third_party/mozjs-45/include/js/HashTable.h:1550:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] 1550 | memset(table, 0, sizeof(*table) * capacity()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/HashTable.h:722:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here 722 | class HashTableEntry | ^~~~~~~~~~~~~~ In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:708:30, inlined from 'SliceSlowly(JSContext*, JS::Handle, JS::Handle, unsigned int, unsigned int, JS::Handle)' at src/third_party/mozjs-45/extract/js/src/jsarray.cpp:2860:25: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'value' in 'MEM[(struct Rooted * *)cx_58(D) + 104B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jsarray.cpp: In function 'SliceSlowly(JSContext*, JS::Handle, JS::Handle, unsigned int, unsigned int, JS::Handle)': src/third_party/mozjs-45/extract/js/src/jsarray.cpp:2860:17: note: 'value' declared here 2860 | RootedValue value(cx); | ^~~~~ src/third_party/mozjs-45/extract/js/src/jsarray.cpp:2860:17: note: 'cx_58(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:708:30, inlined from 'js::GetElementsWithAdder(JSContext*, JS::Handle, JS::Handle, unsigned int, unsigned int, js::ElementAdder*)' at src/third_party/mozjs-45/extract/js/src/jsarray.cpp:316:23: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'val' in 'MEM[(struct Rooted * *)cx_55(D) + 104B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jsarray.cpp: In function 'js::GetElementsWithAdder(JSContext*, JS::Handle, JS::Handle, unsigned int, unsigned int, js::ElementAdder*)': src/third_party/mozjs-45/extract/js/src/jsarray.cpp:316:17: note: 'val' declared here 316 | RootedValue val(cx); | ^~~ src/third_party/mozjs-45/extract/js/src/jsarray.cpp:316:17: note: 'cx_55(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::array_push(JSContext*, unsigned int, JS::Value*)' at src/third_party/mozjs-45/extract/js/src/jsarray.cpp:2016:52: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'obj' in 'MEM[(struct Rooted * *)cx_90(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jsarray.cpp: In function 'js::array_push(JSContext*, unsigned int, JS::Value*)': src/third_party/mozjs-45/extract/js/src/jsarray.cpp:2016:18: note: 'obj' declared here 2016 | RootedObject obj(cx, ToObject(cx, args.thisv())); | ^~~ src/third_party/mozjs-45/extract/js/src/jsarray.cpp:2016:18: note: 'cx_90(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:708:30, inlined from 'ArrayJoinKernel(JSContext*, EmptySeparatorOp, JS::Handle, unsigned int, js::StringBuffer&)bool' at src/third_party/mozjs-45/extract/js/src/jsarray.cpp:1054:21, inlined from 'js::ArrayJoin(JSContext*, JS::Handle, JS::Handle, unsigned int)JSString*' at src/third_party/mozjs-45/extract/js/src/jsarray.cpp:1122:37: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'v' in 'MEM[(struct Rooted * *)cx_18(D) + 104B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jsarray.cpp: In function 'js::ArrayJoin(JSContext*, JS::Handle, JS::Handle, unsigned int)JSString*': src/third_party/mozjs-45/extract/js/src/jsarray.cpp:1054:21: note: 'v' declared here 1054 | RootedValue v(cx); | ^ src/third_party/mozjs-45/extract/js/src/jsarray.cpp:1054:21: note: 'cx_18(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'ArrayJoin(JSContext*, JS::CallArgs&)bool' at src/third_party/mozjs-45/extract/js/src/jsarray.cpp:1150:18: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'obj' in 'MEM[(struct Rooted * *)cx_99(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jsarray.cpp: In function 'ArrayJoin(JSContext*, JS::CallArgs&)bool': src/third_party/mozjs-45/extract/js/src/jsarray.cpp:1150:18: note: 'obj' declared here 1150 | RootedObject obj(cx, ToObject(cx, args.thisv())); | ^~~ src/third_party/mozjs-45/extract/js/src/jsarray.cpp:1150:18: note: 'cx_99(D)' declared here gcc -o build/fedora/third_party/icu4c-57.1/source/common/uloc_tag.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/uloc_tag.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:708:30, inlined from 'ArrayJoinKernel(JSContext*, EmptySeparatorOp, JS::Handle, unsigned int, js::StringBuffer&)bool' at src/third_party/mozjs-45/extract/js/src/jsarray.cpp:1054:21, inlined from 'js::ArrayJoin(JSContext*, JS::Handle, JS::Handle, unsigned int)JSString*' at src/third_party/mozjs-45/extract/js/src/jsarray.cpp:1122:37: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'v' in 'MEM[(struct Rooted * *)cx_29(D) + 104B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jsarray.cpp: In function 'js::ArrayJoin(JSContext*, JS::Handle, JS::Handle, unsigned int)JSString*': src/third_party/mozjs-45/extract/js/src/jsarray.cpp:1054:21: note: 'v' declared here 1054 | RootedValue v(cx); | ^ src/third_party/mozjs-45/extract/js/src/jsarray.cpp:1054:21: note: 'cx_29(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'ArrayJoin(JSContext*, JS::CallArgs&)bool' at src/third_party/mozjs-45/extract/js/src/jsarray.cpp:1150:18: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'obj' in 'MEM[(struct Rooted * *)cx_121(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jsarray.cpp: In function 'ArrayJoin(JSContext*, JS::CallArgs&)bool': src/third_party/mozjs-45/extract/js/src/jsarray.cpp:1150:18: note: 'obj' declared here 1150 | RootedObject obj(cx, ToObject(cx, args.thisv())); | ^~~ src/third_party/mozjs-45/extract/js/src/jsarray.cpp:1150:18: note: 'cx_121(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::array_sort(JSContext*, unsigned int, JS::Value*)' at src/third_party/mozjs-45/extract/js/src/jsarray.cpp:1833:52: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'obj' in 'MEM[(struct Rooted * *)cx_294(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jsarray.cpp: In function 'js::array_sort(JSContext*, unsigned int, JS::Value*)': src/third_party/mozjs-45/extract/js/src/jsarray.cpp:1833:18: note: 'obj' declared here 1833 | RootedObject obj(cx, ToObject(cx, args.thisv())); | ^~~ src/third_party/mozjs-45/extract/js/src/jsarray.cpp:1833:18: note: 'cx_294(D)' declared here g++ -o build/fedora/mongo/db/curop_failpoint_helpers.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/curop_failpoint_helpers.cpp In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::array_pop(JSContext*, unsigned int, JS::Value*)' at src/third_party/mozjs-45/extract/js/src/jsarray.cpp:2067:52: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'obj' in 'MEM[(struct Rooted * *)cx_69(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jsarray.cpp: In function 'js::array_pop(JSContext*, unsigned int, JS::Value*)': src/third_party/mozjs-45/extract/js/src/jsarray.cpp:2067:18: note: 'obj' declared here 2067 | RootedObject obj(cx, ToObject(cx, args.thisv())); | ^~~ src/third_party/mozjs-45/extract/js/src/jsarray.cpp:2067:18: note: 'cx_69(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::array_shift(JSContext*, unsigned int, JS::Value*)' at src/third_party/mozjs-45/extract/js/src/jsarray.cpp:2173:52: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'obj' in 'MEM[(struct Rooted * *)cx_139(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jsarray.cpp: In function 'js::array_shift(JSContext*, unsigned int, JS::Value*)': src/third_party/mozjs-45/extract/js/src/jsarray.cpp:2173:18: note: 'obj' declared here 2173 | RootedObject obj(cx, ToObject(cx, args.thisv())); | ^~~ src/third_party/mozjs-45/extract/js/src/jsarray.cpp:2173:18: note: 'cx_139(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:708:30, inlined from 'ArrayReverseDenseKernel<(JSValueType)4>(JSContext*, JS::Handle, unsigned int)js::DenseElementResult' at src/third_party/mozjs-45/extract/js/src/jsarray.cpp:1293:29: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'orighi' in 'MEM[(struct Rooted * *)cx_104(D) + 104B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jsarray.cpp: In function 'ArrayReverseDenseKernel<(JSValueType)4>(JSContext*, JS::Handle, unsigned int)js::DenseElementResult': src/third_party/mozjs-45/extract/js/src/jsarray.cpp:1293:29: note: 'orighi' declared here 1293 | RootedValue origlo(cx), orighi(cx); | ^~~~~~ src/third_party/mozjs-45/extract/js/src/jsarray.cpp:1293:29: note: 'cx_104(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::array_unshift(JSContext*, unsigned int, JS::Value*)' at src/third_party/mozjs-45/extract/js/src/jsarray.cpp:2238:52: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'obj' in 'MEM[(struct Rooted * *)cx_153(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jsarray.cpp: In function 'js::array_unshift(JSContext*, unsigned int, JS::Value*)': src/third_party/mozjs-45/extract/js/src/jsarray.cpp:2238:18: note: 'obj' declared here 2238 | RootedObject obj(cx, ToObject(cx, args.thisv())); | ^~~ src/third_party/mozjs-45/extract/js/src/jsarray.cpp:2238:18: note: 'cx_153(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:708:30, inlined from 'ArrayReverseDenseKernel<(JSValueType)3>(JSContext*, JS::Handle, unsigned int)js::DenseElementResult' at src/third_party/mozjs-45/extract/js/src/jsarray.cpp:1293:29: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'orighi' in 'MEM[(struct Rooted * *)cx_88(D) + 104B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jsarray.cpp: In function 'ArrayReverseDenseKernel<(JSValueType)3>(JSContext*, JS::Handle, unsigned int)js::DenseElementResult': src/third_party/mozjs-45/extract/js/src/jsarray.cpp:1293:29: note: 'orighi' declared here 1293 | RootedValue origlo(cx), orighi(cx); | ^~~~~~ src/third_party/mozjs-45/extract/js/src/jsarray.cpp:1293:29: note: 'cx_88(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:708:30, inlined from 'ArrayReverseDenseKernel<(JSValueType)0>(JSContext*, JS::Handle, unsigned int)js::DenseElementResult' at src/third_party/mozjs-45/extract/js/src/jsarray.cpp:1293:29: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'orighi' in 'MEM[(struct Rooted * *)cx_94(D) + 104B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jsarray.cpp: In function 'ArrayReverseDenseKernel<(JSValueType)0>(JSContext*, JS::Handle, unsigned int)js::DenseElementResult': src/third_party/mozjs-45/extract/js/src/jsarray.cpp:1293:29: note: 'orighi' declared here 1293 | RootedValue origlo(cx), orighi(cx); | ^~~~~~ src/third_party/mozjs-45/extract/js/src/jsarray.cpp:1293:29: note: 'cx_94(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:708:30, inlined from 'ArrayReverseDenseKernel<(JSValueType)1>(JSContext*, JS::Handle, unsigned int)js::DenseElementResult' at src/third_party/mozjs-45/extract/js/src/jsarray.cpp:1293:29: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'orighi' in 'MEM[(struct Rooted * *)cx_94(D) + 104B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jsarray.cpp: In function 'ArrayReverseDenseKernel<(JSValueType)1>(JSContext*, JS::Handle, unsigned int)js::DenseElementResult': src/third_party/mozjs-45/extract/js/src/jsarray.cpp:1293:29: note: 'orighi' declared here 1293 | RootedValue origlo(cx), orighi(cx); | ^~~~~~ src/third_party/mozjs-45/extract/js/src/jsarray.cpp:1293:29: note: 'cx_94(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:708:30, inlined from 'ArrayReverseDenseKernel<(JSValueType)5>(JSContext*, JS::Handle, unsigned int)js::DenseElementResult' at src/third_party/mozjs-45/extract/js/src/jsarray.cpp:1293:29: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'orighi' in 'MEM[(struct Rooted * *)cx_94(D) + 104B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jsarray.cpp: In function 'ArrayReverseDenseKernel<(JSValueType)5>(JSContext*, JS::Handle, unsigned int)js::DenseElementResult': src/third_party/mozjs-45/extract/js/src/jsarray.cpp:1293:29: note: 'orighi' declared here 1293 | RootedValue origlo(cx), orighi(cx); | ^~~~~~ src/third_party/mozjs-45/extract/js/src/jsarray.cpp:1293:29: note: 'cx_94(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:708:30, inlined from 'ArrayReverseDenseKernel<(JSValueType)8>(JSContext*, JS::Handle, unsigned int)js::DenseElementResult' at src/third_party/mozjs-45/extract/js/src/jsarray.cpp:1293:29: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'orighi' in 'MEM[(struct Rooted * *)cx_94(D) + 104B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jsarray.cpp: In function 'ArrayReverseDenseKernel<(JSValueType)8>(JSContext*, JS::Handle, unsigned int)js::DenseElementResult': src/third_party/mozjs-45/extract/js/src/jsarray.cpp:1293:29: note: 'orighi' declared here 1293 | RootedValue origlo(cx), orighi(cx); | ^~~~~~ src/third_party/mozjs-45/extract/js/src/jsarray.cpp:1293:29: note: 'cx_94(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'array_reverse(JSContext*, unsigned int, JS::Value*)' at src/third_party/mozjs-45/extract/js/src/jsarray.cpp:1323:52: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'obj' in 'MEM[(struct Rooted * *)cx_204(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jsarray.cpp: In function 'array_reverse(JSContext*, unsigned int, JS::Value*)': src/third_party/mozjs-45/extract/js/src/jsarray.cpp:1323:18: note: 'obj' declared here 1323 | RootedObject obj(cx, ToObject(cx, args.thisv())); | ^~~ src/third_party/mozjs-45/extract/js/src/jsarray.cpp:1323:18: note: 'cx_204(D)' declared here In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/db/curop.h:35, from src/mongo/db/curop_failpoint_helpers.cpp:33: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/bson/bsonobj.h:44, from src/mongo/db/curop_failpoint_helpers.h:29, from src/mongo/db/curop_failpoint_helpers.cpp:31: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(js::ExclusiveContext* const&, js::ObjectGroup*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'NewArray<2046u>(js::ExclusiveContext*, unsigned int, JS::Handle, js::NewObjectKind)js::ArrayObject*' at src/third_party/mozjs-45/extract/js/src/jsarray.cpp:3365:23, inlined from 'NewArrayTryUseGroup<2046u>(js::ExclusiveContext*, JS::Handle, unsigned long, js::NewObjectKind, bool)JSObject* [clone .constprop.0]' at src/third_party/mozjs-45/extract/js/src/jsarray.cpp:3520:39: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'group' in 'MEM[(struct Rooted * *)cx_9(D) + 48B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jsarray.cpp: In function 'NewArrayTryUseGroup<2046u>(js::ExclusiveContext*, JS::Handle, unsigned long, js::NewObjectKind, bool)JSObject* [clone .constprop.0]': src/third_party/mozjs-45/extract/js/src/jsarray.cpp:3365:23: note: 'group' declared here 3365 | RootedObjectGroup group(cxArg, ObjectGroup::defaultNewGroup(cxArg, &ArrayObject::class_, | ^~~~~ src/third_party/mozjs-45/extract/js/src/jsarray.cpp:3365:23: note: 'cx_9(D)' declared here In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::ObjectGroup*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::NewPartlyAllocatedArrayForCallingAllocationSite(JSContext*, unsigned long, JS::Handle)' at src/third_party/mozjs-45/extract/js/src/jsarray.cpp:3605:98: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'group' in 'MEM[(struct Rooted * *)cx_29(D) + 48B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jsarray.cpp: In function 'js::NewPartlyAllocatedArrayForCallingAllocationSite(JSContext*, unsigned long, JS::Handle)': src/third_party/mozjs-45/extract/js/src/jsarray.cpp:3605:23: note: 'group' declared here 3605 | RootedObjectGroup group(cx, ObjectGroup::callingAllocationSiteGroup(cx, JSProto_Array, proto)); | ^~~~~ src/third_party/mozjs-45/extract/js/src/jsarray.cpp:3605:23: note: 'cx_29(D)' declared here 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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(js::ExclusiveContext* const&, js::ObjectGroup*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'NewArray<2046u>(js::ExclusiveContext*, unsigned int, JS::Handle, js::NewObjectKind)js::ArrayObject*' at src/third_party/mozjs-45/extract/js/src/jsarray.cpp:3365:23, inlined from 'NewArrayTryReuseGroup<2046u>(JSContext*, JSObject*, unsigned long, js::NewObjectKind, bool)JSObject* [clone .constprop.0]' at src/third_party/mozjs-45/extract/js/src/jsarray.cpp:3567:35: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'group' in 'MEM[(struct Rooted * *)cx_6(D) + 48B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jsarray.cpp: In function 'NewArrayTryReuseGroup<2046u>(JSContext*, JSObject*, unsigned long, js::NewObjectKind, bool)JSObject* [clone .constprop.0]': src/third_party/mozjs-45/extract/js/src/jsarray.cpp:3365:23: note: 'group' declared here 3365 | RootedObjectGroup group(cxArg, ObjectGroup::defaultNewGroup(cxArg, &ArrayObject::class_, | ^~~~~ src/third_party/mozjs-45/extract/js/src/jsarray.cpp:3365:23: note: 'cx_6(D)' declared here 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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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 In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(js::ExclusiveContext* const&, js::ObjectGroup*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'NewArray<4294967295u>(js::ExclusiveContext*, unsigned int, JS::Handle, js::NewObjectKind)js::ArrayObject*' at src/third_party/mozjs-45/extract/js/src/jsarray.cpp:3365:23, inlined from 'js::NewDenseCopiedArray(js::ExclusiveContext*, unsigned int, JS::Value const*, JS::Handle, js::NewObjectKind)' at src/third_party/mozjs-45/extract/js/src/jsarray.cpp:3448:44: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'group' in 'MEM[(struct Rooted * *)cx_6(D) + 48B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jsarray.cpp: In function 'js::NewDenseCopiedArray(js::ExclusiveContext*, unsigned int, JS::Value const*, JS::Handle, js::NewObjectKind)': src/third_party/mozjs-45/extract/js/src/jsarray.cpp:3365:23: note: 'group' declared here 3365 | RootedObjectGroup group(cxArg, ObjectGroup::defaultNewGroup(cxArg, &ArrayObject::class_, | ^~~~~ src/third_party/mozjs-45/extract/js/src/jsarray.cpp:3365:23: note: 'cx_6(D)' declared here 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: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::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 member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::NativeObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'CreateArrayPrototype(JSContext*, JSProtoKey)' at src/third_party/mozjs-45/extract/js/src/jsarray.cpp:3243:72: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'proto' in 'MEM[(struct Rooted * *)cx_137(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jsarray.cpp: In function 'CreateArrayPrototype(JSContext*, JSProtoKey)': src/third_party/mozjs-45/extract/js/src/jsarray.cpp:3243:18: note: 'proto' declared here 3243 | RootedObject proto(cx, cx->global()->getOrCreateObjectPrototype(cx)); | ^~~~~ src/third_party/mozjs-45/extract/js/src/jsarray.cpp:3243:18: note: 'cx_137(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(js::ExclusiveContext* const&, js::ObjectGroup*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'NewArray<4294967295u>(js::ExclusiveContext*, unsigned int, JS::Handle, js::NewObjectKind)js::ArrayObject*' at src/third_party/mozjs-45/extract/js/src/jsarray.cpp:3365:23, inlined from 'NewArrayTryUseGroup<4294967295u>(js::ExclusiveContext*, JS::Handle, unsigned long, js::NewObjectKind, bool)JSObject*' at src/third_party/mozjs-45/extract/js/src/jsarray.cpp:3520:39: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'group' in 'MEM[(struct Rooted * *)cx_594(D) + 48B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jsarray.cpp: In function 'NewArrayTryUseGroup<4294967295u>(js::ExclusiveContext*, JS::Handle, unsigned long, js::NewObjectKind, bool)JSObject*': src/third_party/mozjs-45/extract/js/src/jsarray.cpp:3365:23: note: 'group' declared here 3365 | RootedObjectGroup group(cxArg, ObjectGroup::defaultNewGroup(cxArg, &ArrayObject::class_, | ^~~~~ src/third_party/mozjs-45/extract/js/src/jsarray.cpp:3365:23: note: 'cx_594(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(js::ExclusiveContext* const&, js::ObjectGroup*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'NewArray<4294967295u>(js::ExclusiveContext*, unsigned int, JS::Handle, js::NewObjectKind)js::ArrayObject*' at src/third_party/mozjs-45/extract/js/src/jsarray.cpp:3365:23, inlined from 'NewArrayTryReuseGroup<4294967295u>(JSContext*, JSObject*, unsigned long, js::NewObjectKind, bool)JSObject*' at src/third_party/mozjs-45/extract/js/src/jsarray.cpp:3567:35: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'group' in 'MEM[(struct Rooted * *)cx_554(D) + 48B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jsarray.cpp: In function 'NewArrayTryReuseGroup<4294967295u>(JSContext*, JSObject*, unsigned long, js::NewObjectKind, bool)JSObject*': src/third_party/mozjs-45/extract/js/src/jsarray.cpp:3365:23: note: 'group' declared here 3365 | RootedObjectGroup group(cxArg, ObjectGroup::defaultNewGroup(cxArg, &ArrayObject::class_, | ^~~~~ src/third_party/mozjs-45/extract/js/src/jsarray.cpp:3365:23: note: 'cx_554(D)' declared here src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::array_slice(JSContext*, unsigned int, JS::Value*)' at src/third_party/mozjs-45/extract/js/src/jsarray.cpp:2922:52: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'obj' in 'MEM[(struct Rooted * *)cx_209(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jsarray.cpp: In function 'js::array_slice(JSContext*, unsigned int, JS::Value*)': src/third_party/mozjs-45/extract/js/src/jsarray.cpp:2922:18: note: 'obj' declared here 2922 | RootedObject obj(cx, ToObject(cx, args.thisv())); | ^~~ src/third_party/mozjs-45/extract/js/src/jsarray.cpp:2922:18: note: 'cx_209(D)' declared here src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::array_concat(JSContext*, unsigned int, JS::Value*)' at src/third_party/mozjs-45/extract/js/src/jsarray.cpp:2633:53: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'aobj' in 'MEM[(struct Rooted * *)cx_362(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jsarray.cpp: In function 'js::array_concat(JSContext*, unsigned int, JS::Value*)': src/third_party/mozjs-45/extract/js/src/jsarray.cpp:2633:18: note: 'aobj' declared here 2633 | RootedObject aobj(cx, ToObject(cx, args.thisv())); | ^~~~ src/third_party/mozjs-45/extract/js/src/jsarray.cpp:2633:18: note: 'cx_362(D)' declared here src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JSObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::array_splice_impl(JSContext*, unsigned int, JS::Value*, bool)' at src/third_party/mozjs-45/extract/js/src/jsarray.cpp:2370:52: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'obj' in 'MEM[(struct Rooted * *)cx_469(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jsarray.cpp: In function 'js::array_splice_impl(JSContext*, unsigned int, JS::Value*, bool)': src/third_party/mozjs-45/extract/js/src/jsarray.cpp:2370:18: note: 'obj' declared here 2370 | RootedObject obj(cx, ToObject(cx, args.thisv())); | ^~~ src/third_party/mozjs-45/extract/js/src/jsarray.cpp:2370:18: note: 'cx_469(D)' declared here src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::ObjectGroup*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::NewFullyAllocatedArrayForCallingAllocationSite(JSContext*, unsigned long, js::NewObjectKind, bool)' at src/third_party/mozjs-45/extract/js/src/jsarray.cpp:3596:91: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'group' in 'MEM[(struct Rooted * *)cx_35(D) + 48B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jsarray.cpp: In function 'js::NewFullyAllocatedArrayForCallingAllocationSite(JSContext*, unsigned long, js::NewObjectKind, bool)': src/third_party/mozjs-45/extract/js/src/jsarray.cpp:3596:23: note: 'group' declared here 3596 | RootedObjectGroup group(cx, ObjectGroup::callingAllocationSiteGroup(cx, JSProto_Array)); | ^~~~~ src/third_party/mozjs-45/extract/js/src/jsarray.cpp:3596:23: note: 'cx_35(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::ObjectGroup*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::NewCopiedArrayForCallingAllocationSite(JSContext*, JS::Value const*, unsigned long, JS::Handle)' at src/third_party/mozjs-45/extract/js/src/jsarray.cpp:3668:98: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'group' in 'MEM[(struct Rooted * *)cx_30(D) + 48B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jsarray.cpp: In function 'js::NewCopiedArrayForCallingAllocationSite(JSContext*, JS::Value const*, unsigned long, JS::Handle)': src/third_party/mozjs-45/extract/js/src/jsarray.cpp:3668:23: note: 'group' declared here 3668 | RootedObjectGroup group(cx, ObjectGroup::callingAllocationSiteGroup(cx, JSProto_Array, proto)); | ^~~~~ src/third_party/mozjs-45/extract/js/src/jsarray.cpp:3668:23: note: 'cx_30(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(js::ExclusiveContext* const&, js::ObjectGroup*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'NewArray<0u>(js::ExclusiveContext*, unsigned int, JS::Handle, js::NewObjectKind)js::ArrayObject*' at src/third_party/mozjs-45/extract/js/src/jsarray.cpp:3365:23, inlined from 'js::NewDenseUnallocatedArray(js::ExclusiveContext*, unsigned int, JS::Handle, js::NewObjectKind)' at src/third_party/mozjs-45/extract/js/src/jsarray.cpp:3439:23: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'group' in 'MEM[(struct Rooted * *)cx_2(D) + 48B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jsarray.cpp: In function 'js::NewDenseUnallocatedArray(js::ExclusiveContext*, unsigned int, JS::Handle, js::NewObjectKind)': src/third_party/mozjs-45/extract/js/src/jsarray.cpp:3365:23: note: 'group' declared here 3365 | RootedObjectGroup group(cxArg, ObjectGroup::defaultNewGroup(cxArg, &ArrayObject::class_, | ^~~~~ src/third_party/mozjs-45/extract/js/src/jsarray.cpp:3365:23: note: 'cx_2(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(js::ExclusiveContext* const&, js::ObjectGroup*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'NewArray<2046u>(js::ExclusiveContext*, unsigned int, JS::Handle, js::NewObjectKind)js::ArrayObject*' at src/third_party/mozjs-45/extract/js/src/jsarray.cpp:3365:23, inlined from 'js::NewDensePartlyAllocatedArray(js::ExclusiveContext*, unsigned int, JS::Handle, js::NewObjectKind)' at src/third_party/mozjs-45/extract/js/src/jsarray.cpp:3431:59: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'group' in 'MEM[(struct Rooted * *)cx_2(D) + 48B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jsarray.cpp: In function 'js::NewDensePartlyAllocatedArray(js::ExclusiveContext*, unsigned int, JS::Handle, js::NewObjectKind)': src/third_party/mozjs-45/extract/js/src/jsarray.cpp:3365:23: note: 'group' declared here 3365 | RootedObjectGroup group(cxArg, ObjectGroup::defaultNewGroup(cxArg, &ArrayObject::class_, | ^~~~~ src/third_party/mozjs-45/extract/js/src/jsarray.cpp:3365:23: note: 'cx_2(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(js::ExclusiveContext* const&, js::ObjectGroup*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'NewArray<4294967295u>(js::ExclusiveContext*, unsigned int, JS::Handle, js::NewObjectKind)js::ArrayObject*' at src/third_party/mozjs-45/extract/js/src/jsarray.cpp:3365:23, inlined from 'js::NewDenseFullyAllocatedArray(js::ExclusiveContext*, unsigned int, JS::Handle, js::NewObjectKind)' at src/third_party/mozjs-45/extract/js/src/jsarray.cpp:3423:32: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'group' in 'MEM[(struct Rooted * *)cx_2(D) + 48B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jsarray.cpp: In function 'js::NewDenseFullyAllocatedArray(js::ExclusiveContext*, unsigned int, JS::Handle, js::NewObjectKind)': src/third_party/mozjs-45/extract/js/src/jsarray.cpp:3365:23: note: 'group' declared here 3365 | RootedObjectGroup group(cxArg, ObjectGroup::defaultNewGroup(cxArg, &ArrayObject::class_, | ^~~~~ src/third_party/mozjs-45/extract/js/src/jsarray.cpp:3365:23: note: 'cx_2(D)' declared here In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(js::ExclusiveContext* const&, js::ObjectGroup*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'NewArray<0u>(js::ExclusiveContext*, unsigned int, JS::Handle, js::NewObjectKind)js::ArrayObject*' at src/third_party/mozjs-45/extract/js/src/jsarray.cpp:3365:23, inlined from 'js::NewDenseEmptyArray(JSContext*, JS::Handle, js::NewObjectKind)' at src/third_party/mozjs-45/extract/js/src/jsarray.cpp:3415:23: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'group' in 'MEM[(struct Rooted * *)cx_2(D) + 48B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jsarray.cpp: In function 'js::NewDenseEmptyArray(JSContext*, JS::Handle, js::NewObjectKind)': src/third_party/mozjs-45/extract/js/src/jsarray.cpp:3365:23: note: 'group' declared here 3365 | RootedObjectGroup group(cxArg, ObjectGroup::defaultNewGroup(cxArg, &ArrayObject::class_, | ^~~~~ src/third_party/mozjs-45/extract/js/src/jsarray.cpp:3365:23: note: 'cx_2(D)' declared here In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call ar rcsTD build/fedora/third_party/mozjs-45/libmozjs.a build/fedora/third_party/mozjs-45/extract/js/src/builtin/RegExp.o build/fedora/third_party/mozjs-45/extract/js/src/frontend/Parser.o build/fedora/third_party/mozjs-45/extract/js/src/jsarray.o build/fedora/third_party/mozjs-45/extract/js/src/jsatom.o build/fedora/third_party/mozjs-45/extract/js/src/jsmath.o build/fedora/third_party/mozjs-45/extract/js/src/jsutil.o build/fedora/third_party/mozjs-45/extract/js/src/gc/StoreBuffer.o build/fedora/third_party/mozjs-45/extract/js/src/mfbt/Unified_cpp_mfbt0.o build/fedora/third_party/mozjs-45/extract/js/src/perf/pm_stub.o build/fedora/third_party/mozjs-45/extract/js/src/vm/Initialization.o build/fedora/third_party/mozjs-45/extract/mfbt/Compression.o build/fedora/third_party/mozjs-45/extract/js/src/jit/x86-shared/Disassembler-x86-shared.o build/fedora/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src0.o build/fedora/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src1.o build/fedora/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src10.o build/fedora/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src11.o build/fedora/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src12.o build/fedora/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src13.o build/fedora/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src14.o build/fedora/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src15.o build/fedora/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src16.o build/fedora/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src17.o build/fedora/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src18.o build/fedora/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src19.o build/fedora/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src2.o build/fedora/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src20.o build/fedora/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src21.o build/fedora/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src22.o build/fedora/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src23.o build/fedora/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src24.o build/fedora/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src25.o build/fedora/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src26.o build/fedora/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src27.o build/fedora/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src28.o build/fedora/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src29.o build/fedora/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src3.o build/fedora/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src30.o build/fedora/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src31.o build/fedora/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src32.o build/fedora/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src33.o build/fedora/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src34.o build/fedora/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src35.o build/fedora/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src36.o build/fedora/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src4.o build/fedora/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src5.o build/fedora/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src6.o build/fedora/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src7.o build/fedora/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src8.o build/fedora/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src9.o 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call Skipping ranlib for thin archive build/fedora/third_party/mozjs-45/libmozjs.a g++ -o build/fedora/mongo/db/kill_sessions_local.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/kill_sessions_local.cpp ar rcsTD build/fedora/mongo/db/libprefetch.a build/fedora/mongo/db/prefetch.o Skipping ranlib for thin archive build/fedora/mongo/db/libprefetch.a g++ -o build/fedora/mongo/db/repl/check_quorum_for_config_change.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/repl/check_quorum_for_config_change.cpp In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/executor/remote_command_request.h:34, from src/mongo/db/repl/scatter_gather_algorithm.h:33, from src/mongo/db/repl/check_quorum_for_config_change.h:32, from src/mongo/db/repl/check_quorum_for_config_change.cpp:33: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::repl::ReplSetTagPattern, mongo::StringMapTraits>': src/mongo/db/repl/repl_set_config.h:402:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::repl::ReplSetTagPattern; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::repl::ReplSetTagPattern; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::repl::ReplSetTagPattern; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::repl::ReplSetTagPattern; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/query_solution.h:36, from src/mongo/db/query/plan_executor.h:37, from src/mongo/db/clientcursor.h:38, from src/mongo/db/cursor_manager.h:34, from src/mongo/db/kill_sessions_local.cpp:36: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from build/fedora/mongo/db/kill_sessions_gen.h:16, from src/mongo/db/kill_sessions.h:35, from src/mongo/db/session_killer.h:37, from src/mongo/db/kill_sessions_local.h:31, from src/mongo/db/kill_sessions_local.cpp:33: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36, from src/mongo/db/query/plan_cache.h:35, from src/mongo/db/query/query_solution.h:38: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/third_party/s2/base/int128.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Isrc/third_party/s2 -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/third_party/s2/base/int128.cc g++ -o build/fedora/third_party/icu4c-57.1/source/i18n/tolowtrn.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/tolowtrn.cpp g++ -o build/fedora/mongo/client/dbclient_connection.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/asio-master/asio/include -Ibuild/fedora -Isrc src/mongo/client/dbclient_connection.cpp In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/client/dbclient_connection.cpp:50: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/client/connection_string.h:38, from src/mongo/client/dbclientinterface.h:34, from src/mongo/client/dbclient_connection.cpp:34: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ ar rcsTD build/fedora/mongo/db/libkill_sessions_local.a build/fedora/mongo/db/kill_sessions_local.o Skipping ranlib for thin archive build/fedora/mongo/db/libkill_sessions_local.a src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/mongo/db/auth/authz_session_external_state_server_common.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/auth/authz_session_external_state_server_common.cpp In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call ar rcsTD build/fedora/mongo/db/auth/libauthservercommon.a build/fedora/mongo/db/auth/authz_session_external_state_server_common.o build/fedora/mongo/db/auth/sasl_commands.o Skipping ranlib for thin archive build/fedora/mongo/db/auth/libauthservercommon.a g++ -o build/fedora/mongo/db/pipeline/document_source_change_stream.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/pipeline/document_source_change_stream.cpp In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/bson/bsonobj.h:44, from src/mongo/bson/bsonobj_comparator_interface.h:32, from src/mongo/bson/simple_bsonobj_comparator.h:34, from src/mongo/db/pipeline/document_source.h:41, from src/mongo/db/pipeline/document_source_change_stream.h:31, from src/mongo/db/pipeline/document_source_change_stream.cpp:31: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/db/pipeline/document_source.h:44: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/third_party/icu4c-57.1/source/i18n/collationroot.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/collationroot.cpp g++ -o build/fedora/mongo/db/repl/replication_coordinator_impl_heartbeat.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/repl/replication_coordinator_impl_heartbeat.cpp src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/s/catalog_cache.h:377:21: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/s/catalog_cache.h:379:24: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/s/catalog_cache.h:379:24: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/s/catalog_cache.h:379:24: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/bson/timestamp.h:31, from src/mongo/db/logical_time.h:31, from src/mongo/db/logical_clock.h:31, from src/mongo/db/repl/replication_coordinator_impl_heartbeat.cpp:38: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::repl::ReplSetTagPattern, mongo::StringMapTraits>': src/mongo/db/repl/repl_set_config.h:402:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::repl::ReplSetTagPattern; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::repl::ReplSetTagPattern; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::repl::ReplSetTagPattern; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::repl::ReplSetTagPattern; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/query_solution.h:36, from src/mongo/db/query/plan_executor.h:37, from src/mongo/db/clientcursor.h:38, from src/mongo/client/fetcher.h:41, from src/mongo/db/repl/collection_cloner.h:39, from src/mongo/db/repl/initial_syncer.h:42, from src/mongo/db/repl/replication_coordinator_impl.h:38, from src/mongo/db/repl/replication_coordinator_impl_heartbeat.cpp:48: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36, from src/mongo/db/query/plan_cache.h:35, from src/mongo/db/query/query_solution.h:38: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, unsigned int, mongo::StringMapTraits>': src/mongo/db/op_observer.h:310:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call g++ -o build/fedora/third_party/icu4c-57.1/source/i18n/collationfastlatinbuilder.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/collationfastlatinbuilder.cpp g++ -o build/fedora/mongo/util/quick_exit.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/asio-master/asio/include -Ibuild/fedora -Isrc src/mongo/util/quick_exit.cpp ar rcsTD build/fedora/mongo/util/libquick_exit.a build/fedora/mongo/util/quick_exit.o Skipping ranlib for thin archive build/fedora/mongo/util/libquick_exit.a ar rcsTD build/fedora/mongo/db/pipeline/libdependencies.a build/fedora/mongo/db/pipeline/dependencies.o Skipping ranlib for thin archive build/fedora/mongo/db/pipeline/libdependencies.a g++ -o build/fedora/mongo/db/session_txn_record_gen.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc build/fedora/mongo/db/session_txn_record_gen.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from build/fedora/mongo/db/session_txn_record_gen.cpp:16: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from build/fedora/mongo/db/session_txn_record_gen.h:16, from build/fedora/mongo/db/session_txn_record_gen.cpp:9: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/mongo/db/pipeline/document_source_change_stream_close_cursor.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/pipeline/document_source_change_stream_close_cursor.cpp In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call g++ -o build/fedora/mongo/db/pipeline/parsed_inclusion_projection.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/pipeline/parsed_inclusion_projection.cpp In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/bson/bsonobj.h:44, from src/mongo/db/pipeline/change_stream_constants.h:31, from src/mongo/db/pipeline/document_source_change_stream_close_cursor.h:31, from src/mongo/db/pipeline/document_source_change_stream_close_cursor.cpp:31: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/db/pipeline/document_source.h:44, from src/mongo/db/pipeline/document_source_change_stream_close_cursor.h:32: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/pipeline/expression.h:40, from src/mongo/db/pipeline/parsed_inclusion_projection.h:33, from src/mongo/db/pipeline/parsed_inclusion_projection.cpp:31: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ 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: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/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ 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: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::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/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/bson/bsonmisc.h:32, from src/mongo/db/pipeline/value_internal.h:35: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/pipeline/expression.h:103:32: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/db/pipeline/document_source.h:44, from src/mongo/db/pipeline/document_source_single_document_transformation.h:31, from src/mongo/db/pipeline/parsed_aggregation_projection.h:37, from src/mongo/db/pipeline/parsed_inclusion_projection.h:35: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, boost::intrusive_ptr, mongo::StringMapTraits>': src/mongo/db/pipeline/parsed_inclusion_projection.h:171:49: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = boost::intrusive_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = boost::intrusive_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = boost::intrusive_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = boost::intrusive_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call ar rcsTD build/fedora/mongo/db/libperiodic_runner_job_abort_expired_transactions.a build/fedora/mongo/db/periodic_runner_job_abort_expired_transactions.o Skipping ranlib for thin archive build/fedora/mongo/db/libperiodic_runner_job_abort_expired_transactions.a g++ -o build/fedora/third_party/icu4c-57.1/source/i18n/collationiterator.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/collationiterator.cpp g++ -o build/fedora/mongo/db/pipeline/pipeline.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/pipeline/pipeline.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/matcher/expression_parser.h:35, from src/mongo/db/pipeline/pipeline.h:36, from src/mongo/db/pipeline/pipeline.cpp:31: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/bson/bsonobj.h:44, from src/mongo/db/matcher/expression.h:36: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37: 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: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::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::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::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 ar rcsTD build/fedora/mongo/db/pipeline/libparsed_aggregation_projection.a build/fedora/mongo/db/pipeline/parsed_aggregation_projection.o build/fedora/mongo/db/pipeline/parsed_exclusion_projection.o build/fedora/mongo/db/pipeline/parsed_inclusion_projection.o build/fedora/mongo/db/pipeline/parsed_add_fields.o Skipping ranlib for thin archive build/fedora/mongo/db/pipeline/libparsed_aggregation_projection.a g++ -o build/fedora/mongo/client/replica_set_monitor_manager.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/asio-master/asio/include -Ibuild/fedora -Isrc src/mongo/client/replica_set_monitor_manager.cpp src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/executor/remote_command_request.h:34, from src/mongo/executor/task_executor.h:39, from src/mongo/client/replica_set_monitor_manager.h:35, from src/mongo/client/replica_set_monitor_manager.cpp:33: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::weak_ptr, mongo::StringMapTraits>': src/mongo/client/replica_set_monitor_manager.h:101:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::weak_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::weak_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::weak_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::weak_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/db/pipeline/pipeline.cpp: In static member function 'static mongo::StatusWith > mongo::Pipeline::createTopLevelOrFacetPipeline(SourceContainer, const boost::intrusive_ptr&, bool)': src/mongo/db/pipeline/pipeline.cpp:129:21: warning: redundant move in return statement [-Wredundant-move] 129 | return std::move(pipeline); | ~~~~~~~~~^~~~~~~~~~ src/mongo/db/pipeline/pipeline.cpp:129:21: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call ar rcsTD build/fedora/mongo/client/libclientdriver_network.a build/fedora/mongo/client/connection_string_connect.o build/fedora/mongo/client/mongo_uri_connect.o build/fedora/mongo/client/connpool.o build/fedora/mongo/client/dbclient_connection.o build/fedora/mongo/client/dbclient_rs.o build/fedora/mongo/client/global_conn_pool.o build/fedora/mongo/client/replica_set_monitor.o build/fedora/mongo/client/replica_set_monitor_manager.o Skipping ranlib for thin archive build/fedora/mongo/client/libclientdriver_network.a g++ -o build/fedora/third_party/icu4c-57.1/source/common/servrbf.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/servrbf.cpp ar rcsTD build/fedora/mongo/s/commands/libcluster_commands_helpers.a build/fedora/mongo/s/commands/cluster_commands_helpers.o Skipping ranlib for thin archive build/fedora/mongo/s/commands/libcluster_commands_helpers.a g++ -o build/fedora/third_party/icu4c-57.1/source/common/parsepos.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/parsepos.cpp g++ -o build/fedora/third_party/icu4c-57.1/source/i18n/basictz.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/basictz.cpp ar rcsTD build/fedora/mongo/db/auth/librole_graph.a build/fedora/mongo/db/auth/role_graph.o build/fedora/mongo/db/auth/role_graph_builtin_roles.o Skipping ranlib for thin archive build/fedora/mongo/db/auth/librole_graph.a ar rcsTD build/fedora/mongo/db/storage/libstorage_engine_common.a build/fedora/mongo/db/storage/storage_engine_init.o Skipping ranlib for thin archive build/fedora/mongo/db/storage/libstorage_engine_common.a g++ -o build/fedora/third_party/icu4c-57.1/source/common/uset.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/uset.cpp gcc -o build/fedora/third_party/icu4c-57.1/source/i18n/decContext.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/decContext.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C ar rcsTD build/fedora/mongo/db/commands/libmongod_fcv.a build/fedora/mongo/db/commands/feature_compatibility_version.o Skipping ranlib for thin archive build/fedora/mongo/db/commands/libmongod_fcv.a g++ -o build/fedora/mongo/db/repl/repl_set_heartbeat_args_v1.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/repl/repl_set_heartbeat_args_v1.cpp g++ -o build/fedora/third_party/s2/s2edgeutil.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -DDEBUG_MODE=false -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/third_party/s2/s2edgeutil.cc In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/bson/util/bson_check.h:33, from src/mongo/db/repl/repl_set_heartbeat_args_v1.cpp:33: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/net/hostandport.h:35, from src/mongo/db/repl/repl_set_heartbeat_args_v1.h:33, from src/mongo/db/repl/repl_set_heartbeat_args_v1.cpp:31: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ ar rcsTD build/fedora/mongo/db/liblogical_time_metadata_hook.a build/fedora/mongo/db/logical_time_metadata_hook.o Skipping ranlib for thin archive build/fedora/mongo/db/liblogical_time_metadata_hook.a ar rcsTD build/fedora/mongo/executor/libtask_executor_interface.a build/fedora/mongo/executor/task_executor.o Skipping ranlib for thin archive build/fedora/mongo/executor/libtask_executor_interface.a In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ gcc -o build/fedora/third_party/icu4c-57.1/source/common/cwchar.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/cwchar.c src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C 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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call ar rcsTD build/fedora/mongo/db/repl/libreplication_info.a build/fedora/mongo/db/repl/replication_info.o 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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call Skipping ranlib for thin archive build/fedora/mongo/db/repl/libreplication_info.a g++ -o build/fedora/third_party/icu4c-57.1/source/common/servnotf.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/servnotf.cpp 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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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 ar rcsTD build/fedora/mongo/db/repl/librepl_set_commands.a build/fedora/mongo/db/repl/repl_set_commands.o build/fedora/mongo/db/repl/repl_set_request_votes.o Skipping ranlib for thin archive build/fedora/mongo/db/repl/librepl_set_commands.a gcc -o build/fedora/third_party/icu4c-57.1/source/common/cstring.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/cstring.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C g++ -o build/fedora/third_party/icu4c-57.1/source/common/putil.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/putil.cpp src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ gcc -o build/fedora/third_party/icu4c-57.1/source/common/ucnv_u8.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/ucnv_u8.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/third_party/icu4c-57.1/source/common/ustrcase.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/ustrcase.cpp src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, bool, mongo::StringMapTraits>': src/mongo/bson/util/bson_check.h:62:43: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = bool; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = bool; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = bool; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = bool; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/third_party/icu4c-57.1/source/common/brkeng.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/brkeng.cpp g++ -o build/fedora/third_party/icu4c-57.1/source/common/listformatter.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/listformatter.cpp g++ -o build/fedora/third_party/icu4c-57.1/source/common/ustr_cnv.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/ustr_cnv.cpp g++ -o build/fedora/third_party/icu4c-57.1/source/common/servls.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/servls.cpp g++ -o build/fedora/third_party/icu4c-57.1/source/common/utrie2.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/utrie2.cpp In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call g++ -o build/fedora/third_party/icu4c-57.1/source/common/ulistformatter.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/ulistformatter.cpp g++ -o build/fedora/third_party/icu4c-57.1/source/common/ustack.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/ustack.cpp gcc -o build/fedora/third_party/icu4c-57.1/source/common/ubidi_props.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/ubidi_props.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C g++ -o build/fedora/third_party/icu4c-57.1/source/common/bytestrieiterator.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/bytestrieiterator.cpp g++ -o build/fedora/third_party/icu4c-57.1/source/common/propname.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/propname.cpp g++ -o build/fedora/third_party/icu4c-57.1/source/common/rbbitblb.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/rbbitblb.cpp g++ -o build/fedora/third_party/icu4c-57.1/source/common/loadednormalizer2impl.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/loadednormalizer2impl.cpp g++ -o build/fedora/third_party/icu4c-57.1/source/common/unifiedcache.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/unifiedcache.cpp g++ -o build/fedora/third_party/icu4c-57.1/source/common/util.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/util.cpp g++ -o build/fedora/third_party/icu4c-57.1/source/common/ubrk.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/ubrk.cpp g++ -o build/fedora/third_party/icu4c-57.1/source/common/unisetspan.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/unisetspan.cpp g++ -o build/fedora/third_party/icu4c-57.1/source/common/rbbiscan.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/rbbiscan.cpp gcc -o build/fedora/third_party/icu4c-57.1/source/common/utrace.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/utrace.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C g++ -o build/fedora/third_party/icu4c-57.1/source/common/rbbinode.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/rbbinode.cpp g++ -o build/fedora/third_party/icu4c-57.1/source/common/uprops.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/uprops.cpp g++ -o build/fedora/third_party/icu4c-57.1/source/common/uinit.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/uinit.cpp g++ -o build/fedora/third_party/icu4c-57.1/source/common/ucnvsel.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/ucnvsel.cpp gcc -o build/fedora/third_party/icu4c-57.1/source/common/ucnvdisp.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/ucnvdisp.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C g++ -o build/fedora/third_party/icu4c-57.1/source/common/stringpiece.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/stringpiece.cpp g++ -o build/fedora/third_party/icu4c-57.1/source/common/servlk.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/servlk.cpp gcc -o build/fedora/third_party/icu4c-57.1/source/common/ucnv_cnv.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/ucnv_cnv.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C g++ -o build/fedora/mongo/bson/mutable/document.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/bson/mutable/document.cpp Using tempfile /tmp/tmpefhtya_d.lnk for command line: ar rcsTD build/fedora/third_party/icu4c-57.1/source/libicu_common.a build/fedora/third_party/icu4c-57.1/source/common/appendable.o build/fedora/third_party/icu4c-57.1/source/common/bmpset.o build/fedora/third_party/icu4c-57.1/source/common/brkeng.o build/fedora/third_party/icu4c-57.1/source/common/brkiter.o build/fedora/third_party/icu4c-57.1/source/common/bytestream.o build/fedora/third_party/icu4c-57.1/source/common/bytestrie.o build/fedora/third_party/icu4c-57.1/source/common/bytestriebuilder.o build/fedora/third_party/icu4c-57.1/source/common/bytestrieiterator.o build/fedora/third_party/icu4c-57.1/source/common/caniter.o build/fedora/third_party/icu4c-57.1/source/common/chariter.o build/fedora/third_party/icu4c-57.1/source/common/charstr.o build/fedora/third_party/icu4c-57.1/source/common/cmemory.o build/fedora/third_party/icu4c-57.1/source/common/cstr.o build/fedora/third_party/icu4c-57.1/source/common/cstring.o build/fedora/third_party/icu4c-57.1/source/common/cwchar.o build/fedora/third_party/icu4c-57.1/source/common/dictbe.o build/fedora/third_party/icu4c-57.1/source/common/dictionarydata.o build/fedora/third_party/icu4c-57.1/source/common/dtintrv.o build/fedora/third_party/icu4c-57.1/source/common/errorcode.o build/fedora/third_party/icu4c-57.1/source/common/filteredbrk.o build/fedora/third_party/icu4c-57.1/source/common/filterednormalizer2.o build/fedora/third_party/icu4c-57.1/source/common/icudataver.o build/fedora/third_party/icu4c-57.1/source/common/icuplug.o build/fedora/third_party/icu4c-57.1/source/common/listformatter.o build/fedora/third_party/icu4c-57.1/source/common/loadednormalizer2impl.o build/fedora/third_party/icu4c-57.1/source/common/locavailable.o build/fedora/third_party/icu4c-57.1/source/common/locbased.o build/fedora/third_party/icu4c-57.1/source/common/locdispnames.o build/fedora/third_party/icu4c-57.1/source/common/locdspnm.o build/fedora/third_party/icu4c-57.1/source/common/locid.o build/fedora/third_party/icu4c-57.1/source/common/loclikely.o build/fedora/third_party/icu4c-57.1/source/common/locmap.o build/fedora/third_party/icu4c-57.1/source/common/locresdata.o build/fedora/third_party/icu4c-57.1/source/common/locutil.o build/fedora/third_party/icu4c-57.1/source/common/messagepattern.o build/fedora/third_party/icu4c-57.1/source/common/normalizer2.o build/fedora/third_party/icu4c-57.1/source/common/normalizer2impl.o build/fedora/third_party/icu4c-57.1/source/common/normlzr.o build/fedora/third_party/icu4c-57.1/source/common/parsepos.o build/fedora/third_party/icu4c-57.1/source/common/patternprops.o build/fedora/third_party/icu4c-57.1/source/common/pluralmap.o build/fedora/third_party/icu4c-57.1/source/common/propname.o build/fedora/third_party/icu4c-57.1/source/common/propsvec.o build/fedora/third_party/icu4c-57.1/source/common/punycode.o build/fedora/third_party/icu4c-57.1/source/common/putil.o build/fedora/third_party/icu4c-57.1/source/common/rbbi.o build/fedora/third_party/icu4c-57.1/source/common/rbbidata.o build/fedora/third_party/icu4c-57.1/source/common/rbbinode.o build/fedora/third_party/icu4c-57.1/source/common/rbbirb.o build/fedora/third_party/icu4c-57.1/source/common/rbbiscan.o build/fedora/third_party/icu4c-57.1/source/common/rbbisetb.o build/fedora/third_party/icu4c-57.1/source/common/rbbistbl.o build/fedora/third_party/icu4c-57.1/source/common/rbbitblb.o build/fedora/third_party/icu4c-57.1/source/common/resbund.o build/fedora/third_party/icu4c-57.1/source/common/resbund_cnv.o build/fedora/third_party/icu4c-57.1/source/common/resource.o build/fedora/third_party/icu4c-57.1/source/common/ruleiter.o build/fedora/third_party/icu4c-57.1/source/common/schriter.o build/fedora/third_party/icu4c-57.1/source/common/serv.o build/fedora/third_party/icu4c-57.1/source/common/servlk.o build/fedora/third_party/icu4c-57.1/source/common/servlkf.o build/fedora/third_party/icu4c-57.1/source/common/servls.o build/fedora/third_party/icu4c-57.1/source/common/servnotf.o build/fedora/third_party/icu4c-57.1/source/common/servrbf.o build/fedora/third_party/icu4c-57.1/source/common/servslkf.o build/fedora/third_party/icu4c-57.1/source/common/sharedobject.o build/fedora/third_party/icu4c-57.1/source/common/simpleformatter.o build/fedora/third_party/icu4c-57.1/source/common/stringpiece.o build/fedora/third_party/icu4c-57.1/source/common/stringtriebuilder.o build/fedora/third_party/icu4c-57.1/source/common/uarrsort.o build/fedora/third_party/icu4c-57.1/source/common/ubidi.o build/fedora/third_party/icu4c-57.1/source/common/ubidi_props.o build/fedora/third_party/icu4c-57.1/source/common/ubidiln.o build/fedora/third_party/icu4c-57.1/source/common/ubidiwrt.o build/fedora/third_party/icu4c-57.1/source/common/ubrk.o build/fedora/third_party/icu4c-57.1/source/common/ucase.o build/fedora/third_party/icu4c-57.1/source/common/ucasemap.o build/fedora/third_party/icu4c-57.1/source/common/ucasemap_titlecase_brkiter.o build/fedora/third_party/icu4c-57.1/source/common/ucat.o build/fedora/third_party/icu4c-57.1/source/common/uchar.o build/fedora/third_party/icu4c-57.1/source/common/ucharstrie.o build/fedora/third_party/icu4c-57.1/source/common/ucharstriebuilder.o build/fedora/third_party/icu4c-57.1/source/common/ucharstrieiterator.o build/fedora/third_party/icu4c-57.1/source/common/uchriter.o build/fedora/third_party/icu4c-57.1/source/common/ucln_cmn.o build/fedora/third_party/icu4c-57.1/source/common/ucmndata.o build/fedora/third_party/icu4c-57.1/source/common/ucnv.o build/fedora/third_party/icu4c-57.1/source/common/ucnv2022.o build/fedora/third_party/icu4c-57.1/source/common/ucnv_bld.o build/fedora/third_party/icu4c-57.1/source/common/ucnv_cb.o build/fedora/third_party/icu4c-57.1/source/common/ucnv_cnv.o build/fedora/third_party/icu4c-57.1/source/common/ucnv_ct.o build/fedora/third_party/icu4c-57.1/source/common/ucnv_err.o build/fedora/third_party/icu4c-57.1/source/common/ucnv_ext.o build/fedora/third_party/icu4c-57.1/source/common/ucnv_io.o build/fedora/third_party/icu4c-57.1/source/common/ucnv_lmb.o build/fedora/third_party/icu4c-57.1/source/common/ucnv_set.o build/fedora/third_party/icu4c-57.1/source/common/ucnv_u16.o build/fedora/third_party/icu4c-57.1/source/common/ucnv_u32.o build/fedora/third_party/icu4c-57.1/source/common/ucnv_u7.o build/fedora/third_party/icu4c-57.1/source/common/ucnv_u8.o build/fedora/third_party/icu4c-57.1/source/common/ucnvbocu.o build/fedora/third_party/icu4c-57.1/source/common/ucnvdisp.o build/fedora/third_party/icu4c-57.1/source/common/ucnvhz.o build/fedora/third_party/icu4c-57.1/source/common/ucnvisci.o build/fedora/third_party/icu4c-57.1/source/common/ucnvlat1.o build/fedora/third_party/icu4c-57.1/source/common/ucnvmbcs.o build/fedora/third_party/icu4c-57.1/source/common/ucnvscsu.o build/fedora/third_party/icu4c-57.1/source/common/ucnvsel.o build/fedora/third_party/icu4c-57.1/source/common/ucol_swp.o build/fedora/third_party/icu4c-57.1/source/common/ucurr.o build/fedora/third_party/icu4c-57.1/source/common/udata.o build/fedora/third_party/icu4c-57.1/source/common/udatamem.o build/fedora/third_party/icu4c-57.1/source/common/udataswp.o build/fedora/third_party/icu4c-57.1/source/common/uenum.o build/fedora/third_party/icu4c-57.1/source/common/uhash.o build/fedora/third_party/icu4c-57.1/source/common/uhash_us.o build/fedora/third_party/icu4c-57.1/source/common/uidna.o build/fedora/third_party/icu4c-57.1/source/common/uinit.o build/fedora/third_party/icu4c-57.1/source/common/uinvchar.o build/fedora/third_party/icu4c-57.1/source/common/uiter.o build/fedora/third_party/icu4c-57.1/source/common/ulist.o build/fedora/third_party/icu4c-57.1/source/common/ulistformatter.o build/fedora/third_party/icu4c-57.1/source/common/uloc.o build/fedora/third_party/icu4c-57.1/source/common/uloc_keytype.o build/fedora/third_party/icu4c-57.1/source/common/uloc_tag.o build/fedora/third_party/icu4c-57.1/source/common/umapfile.o build/fedora/third_party/icu4c-57.1/source/common/umath.o build/fedora/third_party/icu4c-57.1/source/common/umutex.o build/fedora/third_party/icu4c-57.1/source/common/unames.o build/fedora/third_party/icu4c-57.1/source/common/unifiedcache.o build/fedora/third_party/icu4c-57.1/source/common/unifilt.o build/fedora/third_party/icu4c-57.1/source/common/unifunct.o build/fedora/third_party/icu4c-57.1/source/common/uniset.o build/fedora/third_party/icu4c-57.1/source/common/uniset_closure.o build/fedora/third_party/icu4c-57.1/source/common/uniset_props.o build/fedora/third_party/icu4c-57.1/source/common/unisetspan.o build/fedora/third_party/icu4c-57.1/source/common/unistr.o build/fedora/third_party/icu4c-57.1/source/common/unistr_case.o build/fedora/third_party/icu4c-57.1/source/common/unistr_case_locale.o build/fedora/third_party/icu4c-57.1/source/common/unistr_cnv.o build/fedora/third_party/icu4c-57.1/source/common/unistr_props.o build/fedora/third_party/icu4c-57.1/source/common/unistr_titlecase_brkiter.o build/fedora/third_party/icu4c-57.1/source/common/unorm.o build/fedora/third_party/icu4c-57.1/source/common/unormcmp.o build/fedora/third_party/icu4c-57.1/source/common/uobject.o build/fedora/third_party/icu4c-57.1/source/common/uprops.o build/fedora/third_party/icu4c-57.1/source/common/ures_cnv.o build/fedora/third_party/icu4c-57.1/source/common/uresbund.o build/fedora/third_party/icu4c-57.1/source/common/uresdata.o build/fedora/third_party/icu4c-57.1/source/common/usc_impl.o build/fedora/third_party/icu4c-57.1/source/common/uscript.o build/fedora/third_party/icu4c-57.1/source/common/uscript_props.o build/fedora/third_party/icu4c-57.1/source/common/uset.o build/fedora/third_party/icu4c-57.1/source/common/uset_props.o build/fedora/third_party/icu4c-57.1/source/common/usetiter.o build/fedora/third_party/icu4c-57.1/source/common/ushape.o build/fedora/third_party/icu4c-57.1/source/common/usprep.o build/fedora/third_party/icu4c-57.1/source/common/ustack.o build/fedora/third_party/icu4c-57.1/source/common/ustr_cnv.o build/fedora/third_party/icu4c-57.1/source/common/ustr_titlecase_brkiter.o build/fedora/third_party/icu4c-57.1/source/common/ustr_wcs.o build/fedora/third_party/icu4c-57.1/source/common/ustrcase.o build/fedora/third_party/icu4c-57.1/source/common/ustrcase_locale.o build/fedora/third_party/icu4c-57.1/source/common/ustrenum.o build/fedora/third_party/icu4c-57.1/source/common/ustrfmt.o build/fedora/third_party/icu4c-57.1/source/common/ustring.o build/fedora/third_party/icu4c-57.1/source/common/ustrtrns.o build/fedora/third_party/icu4c-57.1/source/common/utext.o build/fedora/third_party/icu4c-57.1/source/common/utf_impl.o build/fedora/third_party/icu4c-57.1/source/common/util.o build/fedora/third_party/icu4c-57.1/source/common/util_props.o build/fedora/third_party/icu4c-57.1/source/common/utrace.o build/fedora/third_party/icu4c-57.1/source/common/utrie.o build/fedora/third_party/icu4c-57.1/source/common/utrie2.o build/fedora/third_party/icu4c-57.1/source/common/utrie2_builder.o build/fedora/third_party/icu4c-57.1/source/common/uts46.o build/fedora/third_party/icu4c-57.1/source/common/utypes.o build/fedora/third_party/icu4c-57.1/source/common/uvector.o build/fedora/third_party/icu4c-57.1/source/common/uvectr32.o build/fedora/third_party/icu4c-57.1/source/common/uvectr64.o build/fedora/third_party/icu4c-57.1/source/common/wintz.o ar @/tmp/tmpefhtya_d.lnk Skipping ranlib for thin archive build/fedora/third_party/icu4c-57.1/source/libicu_common.a g++ -o build/fedora/third_party/shim_icu.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/shim_icu.cpp g++ -o build/fedora/mongo/db/repl/storage_interface_impl.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/repl/storage_interface_impl.cpp In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/bson/bsonobj.h:44, from src/mongo/db/repl/storage_interface_impl.h:36, from src/mongo/db/repl/storage_interface_impl.cpp:33: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/plan_cache.h:35, from src/mongo/db/catalog/collection_info_cache.h:33, from src/mongo/db/catalog/collection.h:41, from src/mongo/db/repl/storage_interface.h:40, from src/mongo/db/repl/storage_interface_impl.h:40: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ ar rcsTD build/fedora/mongo/db/libkeys_collection_manager.a build/fedora/mongo/db/keys_collection_manager.o build/fedora/mongo/db/keys_collection_cache.o build/fedora/mongo/db/key_generator.o Skipping ranlib for thin archive build/fedora/mongo/db/libkeys_collection_manager.a g++ -o build/fedora/mongo/s/client/shard_remote.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/s/client/shard_remote.cpp src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, unsigned int, mongo::StringMapTraits>': src/mongo/db/op_observer.h:310:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long unsigned int, mongo::StringMapTraits>': src/mongo/db/views/view_graph.h:177:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/db/views/view_catalog.h:174:13: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Collection*, mongo::StringMapTraits>': src/mongo/db/catalog/database.h:165:38: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::vector, mongo::StringMapTraits>': src/mongo/db/catalog/uuid_catalog.h:234:44: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::vector; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::vector; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::vector; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::vector; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Top::CollectionData, mongo::StringMapTraits>': src/mongo/db/stats/top.h:150:14: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/query_solution.h:36, from src/mongo/db/query/plan_executor.h:37, from src/mongo/db/clientcursor.h:38, from src/mongo/client/fetcher.h:41, from src/mongo/s/client/shard_remote.cpp:38: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/bson/bsonobj.h:44, from src/mongo/s/client/shard.h:33, from src/mongo/s/client/shard_remote.h:33, from src/mongo/s/client/shard_remote.cpp:33: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36, from src/mongo/db/query/plan_cache.h:35, from src/mongo/db/query/query_solution.h:38: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call ar rcsTD build/fedora/mongo/util/libprogress_meter.a build/fedora/mongo/util/progress_meter.o build/fedora/mongo/util/thread_safe_string.o Skipping ranlib for thin archive build/fedora/mongo/util/libprogress_meter.a ar rcsTD build/fedora/mongo/db/catalog/libcatalog_helpers.a build/fedora/mongo/db/catalog/capped_utils.o build/fedora/mongo/db/catalog/coll_mod.o build/fedora/mongo/db/catalog/create_collection.o build/fedora/mongo/db/catalog/drop_collection.o build/fedora/mongo/db/catalog/drop_database.o build/fedora/mongo/db/catalog/drop_indexes.o build/fedora/mongo/db/catalog/rename_collection.o Skipping ranlib for thin archive build/fedora/mongo/db/catalog/libcatalog_helpers.a g++ -o build/fedora/third_party/icu4c-57.1/source/i18n/rbt_data.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/rbt_data.cpp ar rcsTD build/fedora/mongo/rpc/libprotocol.a build/fedora/mongo/rpc/message.o build/fedora/mongo/rpc/op_msg.o build/fedora/mongo/rpc/protocol.o Skipping ranlib for thin archive build/fedora/mongo/rpc/libprotocol.a g++ -o build/fedora/mongo/s/write_ops/batched_upsert_detail.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/s/write_ops/batched_upsert_detail.cpp ar rcsTD build/fedora/mongo/s/write_ops/libbatch_write_types.a build/fedora/mongo/s/write_ops/batched_command_request.o build/fedora/mongo/s/write_ops/batched_command_response.o build/fedora/mongo/s/write_ops/batched_upsert_detail.o build/fedora/mongo/s/write_ops/write_error_detail.o Skipping ranlib for thin archive build/fedora/mongo/s/write_ops/libbatch_write_types.a ar rcsTD build/fedora/mongo/db/repl/libreplication_consistency_markers_impl.a build/fedora/mongo/db/repl/replication_consistency_markers_impl.o Skipping ranlib for thin archive build/fedora/mongo/db/repl/libreplication_consistency_markers_impl.a ar rcsTD build/fedora/mongo/executor/libnetwork_interface_factory.a build/fedora/mongo/executor/network_interface_factory.o Skipping ranlib for thin archive build/fedora/mongo/executor/libnetwork_interface_factory.a g++ -o build/fedora/third_party/icu4c-57.1/source/i18n/utf8collationiterator.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/utf8collationiterator.cpp ar rcsTD build/fedora/mongo/db/repl/libstorage_interface_impl.a build/fedora/mongo/db/repl/storage_interface_impl.o build/fedora/mongo/db/repl/collection_bulk_loader_impl.o Skipping ranlib for thin archive build/fedora/mongo/db/repl/libstorage_interface_impl.a g++ -o build/fedora/mongo/db/keys_collection_document.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/keys_collection_document.cpp g++ -o build/fedora/third_party/icu4c-57.1/source/i18n/uregexc.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/uregexc.cpp ar rcsTD build/fedora/mongo/db/libcatalog_raii.a build/fedora/mongo/db/catalog_raii.o build/fedora/mongo/db/retryable_writes_stats.o build/fedora/mongo/db/server_transactions_metrics.o build/fedora/mongo/db/session.o build/fedora/mongo/db/session_catalog.o build/fedora/mongo/db/single_transaction_stats.o build/fedora/mongo/db/transaction_history_iterator.o build/fedora/mongo/db/session_txn_record_gen.o build/fedora/mongo/db/transactions_stats_gen.o Skipping ranlib for thin archive build/fedora/mongo/db/libcatalog_raii.a ar rcsTD build/fedora/mongo/db/libttl_d.a build/fedora/mongo/db/ttl.o Skipping ranlib for thin archive build/fedora/mongo/db/libttl_d.a ar rcsTD build/fedora/third_party/s2/strings/libstrings.a build/fedora/third_party/s2/strings/split.o build/fedora/third_party/s2/strings/stringprintf.o build/fedora/third_party/s2/strings/strutil.o Skipping ranlib for thin archive build/fedora/third_party/s2/strings/libstrings.a g++ -o build/fedora/mongo/db/pipeline/document_source_geo_near.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/pipeline/document_source_geo_near.cpp In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/bson/bsonobj.h:44, from src/mongo/bson/bsonobj_comparator_interface.h:32, from src/mongo/bson/simple_bsonobj_comparator.h:34, from src/mongo/db/pipeline/document_source.h:41, from src/mongo/db/pipeline/document_source_geo_near.h:31, from src/mongo/db/pipeline/document_source_geo_near.cpp:33: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/third_party/shim_wiredtiger.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora/third_party/wiredtiger -Isrc/third_party/wiredtiger src/third_party/shim_wiredtiger.cpp ar rcsTD build/fedora/third_party/libshim_wiredtiger.a build/fedora/third_party/shim_wiredtiger.o Skipping ranlib for thin archive build/fedora/third_party/libshim_wiredtiger.a g++ -o build/fedora/mongo/db/hasher.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/hasher.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/db/pipeline/document_source.h:44: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/mongo/db/ftdc/file_writer.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/ftdc/file_writer.cpp In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call g++ -o build/fedora/mongo/db/pipeline/document_source_list_local_sessions.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/pipeline/document_source_list_local_sessions.cpp In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/db/server_options.h:30, from src/mongo/base/secure_allocator.h:40, from src/mongo/db/auth/authorization_manager.h:35, from src/mongo/db/auth/authorization_session.h:38, from src/mongo/db/pipeline/document_source_list_local_sessions.cpp:31: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/db/pipeline/document_source.h:44, from src/mongo/db/pipeline/document_source_list_local_sessions.h:37, from src/mongo/db/pipeline/document_source_list_local_sessions.cpp:34: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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 ar rcsTD build/fedora/mongo/bson/mutable/libmutable_bson.a build/fedora/mongo/bson/mutable/document.o build/fedora/mongo/bson/mutable/element.o Skipping ranlib for thin archive build/fedora/mongo/bson/mutable/libmutable_bson.a g++ -o build/fedora/third_party/icu4c-57.1/source/i18n/tznames_impl.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/tznames_impl.cpp ar rcsTD build/fedora/mongo/db/libservice_liaison_mongos.a build/fedora/mongo/db/service_liaison_mongos.o Skipping ranlib for thin archive build/fedora/mongo/db/libservice_liaison_mongos.a g++ -o build/fedora/mongo/db/pipeline/document_source_match.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/pipeline/document_source_match.cpp src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/matcher/matcher.h:37, from src/mongo/db/pipeline/document_source_match.h:35, from src/mongo/db/pipeline/document_source_match.cpp:31: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/client/connection_string.h:38, from src/mongo/client/dbclientinterface.h:34, from src/mongo/client/connpool.h:35, from src/mongo/db/pipeline/document_source_match.h:34: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:36, from src/mongo/db/matcher/matcher.h:38: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/document_source_match.cpp:35: src/mongo/db/matcher/expression_array.h: In member function 'virtual std::unique_ptr mongo::ElemMatchObjectMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_array.h:85:25: warning: redundant move in return statement [-Wredundant-move] 85 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_array.h:85:25: note: remove 'std::move' call src/mongo/db/matcher/expression_array.h: In member function 'virtual std::unique_ptr mongo::ElemMatchValueMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_array.h:140:25: warning: redundant move in return statement [-Wredundant-move] 140 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_array.h:140:25: note: remove 'std::move' call src/mongo/db/matcher/expression_array.h: In member function 'virtual std::unique_ptr mongo::SizeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_array.h:177:25: warning: redundant move in return statement [-Wredundant-move] 177 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_array.h:177:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call g++ -o build/fedora/mongo/db/pipeline/document_source_list_local_cursors.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/pipeline/document_source_list_local_cursors.cpp In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/bson/bsonmisc.h:32, from src/mongo/db/pipeline/document_source_list_local_cursors.h:33, from src/mongo/db/pipeline/document_source_list_local_cursors.cpp:31: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/db/pipeline/document_source.h:44, from src/mongo/db/pipeline/document_source_list_local_cursors.h:36: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/mongo/transport/service_executor_adaptive.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/asio-master/asio/include -Ibuild/fedora -Isrc src/mongo/transport/service_executor_adaptive.cpp src/mongo/db/pipeline/document_source_list_local_cursors.cpp: In member function 'virtual mongo::DocumentSource::GetNextResult mongo::DocumentSourceListLocalCursors::getNext()': src/mongo/db/pipeline/document_source_list_local_cursors.cpp:53:25: warning: redundant move in return statement [-Wredundant-move] 53 | return std::move(doc); | ~~~~~~~~~^~~~~ src/mongo/db/pipeline/document_source_list_local_cursors.cpp:53:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call ar rcsTD build/fedora/mongo/db/repl/libsync_source_resolver.a build/fedora/mongo/db/repl/sync_source_resolver.o Skipping ranlib for thin archive build/fedora/mongo/db/repl/libsync_source_resolver.a ar rcsTD build/fedora/mongo/libmongod_options_init.a build/fedora/mongo/db/mongod_options_init.o Skipping ranlib for thin archive build/fedora/mongo/libmongod_options_init.a g++ -o build/fedora/mongo/db/query/expression_index.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/query/expression_index.cpp In file included from /usr/include/string.h:535, from /usr/include/c++/12/cstring:42, from src/mongo/base/string_data.h:33, from build/fedora/mongo/base/error_codes.h:35, from src/mongo/base/status.h:33, from src/mongo/base/initializer_function.h:30, from src/mongo/base/global_initializer_registerer.h:34, from src/mongo/db/service_context.h:35, from src/mongo/transport/service_executor_adaptive.h:34, from src/mongo/transport/service_executor_adaptive.cpp:33: In function 'memcpy', inlined from 'mongo::StringData::copyTo(char*, bool) const' at src/mongo/base/string_data.h:266:15, inlined from 'mongo::StringBuilderImpl::append(mongo::StringData)' at src/mongo/bson/util/builder.h:484:19, inlined from 'mongo::StringBuilderImpl::appendIntegral(int, int)mongo::StringBuilderImpl&' at src/mongo/bson/util/builder.h:518:19, inlined from 'mongo::StringBuilderImpl::appendIntegral(int, int)mongo::StringBuilderImpl&' at src/mongo/bson/util/builder.h:512:24, inlined from 'mongo::StringBuilderImpl::operator<<(int)' at src/mongo/bson/util/builder.h:402:30, inlined from 'mongoutils::str::stream::operator<< (int const&)mongoutils::str::stream&' at src/mongo/util/mongoutils/str.h:66:12, inlined from 'mongo::transport::ServiceExecutorAdaptive::_workerThreadRoutine(int, std::_List_iterator)' at src/mongo/transport/service_executor_adaptive.cpp:558:64: /usr/include/bits/string_fortified.h:29:33: warning: 'memcpy' offset [0, 504] is out of the bounds [0, 0] [-Warray-bounds] 29 | return __builtin___memcpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 30 | __glibc_objsize0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'memcpy', inlined from 'mongo::StringData::copyTo(char*, bool) const' at src/mongo/base/string_data.h:266:15, inlined from 'mongo::StringBuilderImpl::append(mongo::StringData)' at src/mongo/bson/util/builder.h:484:19, inlined from 'mongo::StringBuilderImpl::appendIntegral(int, int)mongo::StringBuilderImpl&' at src/mongo/bson/util/builder.h:520:19, inlined from 'mongo::StringBuilderImpl::operator<<(int)' at src/mongo/bson/util/builder.h:402:30, inlined from 'mongoutils::str::stream::operator<< (int const&)mongoutils::str::stream&' at src/mongo/util/mongoutils/str.h:66:12, inlined from 'mongo::transport::ServiceExecutorAdaptive::_workerThreadRoutine(int, std::_List_iterator)' at src/mongo/transport/service_executor_adaptive.cpp:558:64: /usr/include/bits/string_fortified.h:29:33: warning: 'memcpy' offset [0, 505] is out of the bounds [0, 0] [-Warray-bounds] 29 | return __builtin___memcpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 30 | __glibc_objsize0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ ar rcsTD build/fedora/mongo/transport/libservice_executor.a build/fedora/mongo/transport/service_executor_adaptive.o build/fedora/mongo/transport/service_executor_synchronous.o build/fedora/mongo/transport/thread_idle_callback.o Skipping ranlib for thin archive build/fedora/mongo/transport/libservice_executor.a g++ -o build/fedora/mongo/db/pipeline/document_source_lookup.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/pipeline/document_source_lookup.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/matcher/expression_parser.h:35, from src/mongo/db/query/index_bounds_builder.h:33, from src/mongo/db/query/expression_index.h:37, from src/mongo/db/query/expression_index.cpp:29: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/db/geo/hash.h:31, from src/mongo/db/query/expression_index.h:33: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/bson/bsonobj.h:44, from src/mongo/bson/bsonobj_comparator_interface.h:32, from src/mongo/bson/simple_bsonobj_comparator.h:34, from src/mongo/db/pipeline/document_source.h:41, from src/mongo/db/pipeline/document_source_lookup.h:33, from src/mongo/db/pipeline/document_source_lookup.cpp:31: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/db/pipeline/document_source.h:44: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call ar rcsTD build/fedora/mongo/client/libclient_query.a build/fedora/mongo/client/query.o Skipping ranlib for thin archive build/fedora/mongo/client/libclient_query.a g++ -o build/fedora/mongo/db/session_killer.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/session_killer.cpp In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call ar rcsTD build/fedora/mongo/db/libupdate_index_data.a build/fedora/mongo/db/update_index_data.o Skipping ranlib for thin archive build/fedora/mongo/db/libupdate_index_data.a ar rcsTD build/fedora/mongo/db/libcurop_failpoint_helpers.a build/fedora/mongo/db/curop_failpoint_helpers.o Skipping ranlib for thin archive build/fedora/mongo/db/libcurop_failpoint_helpers.a g++ -o build/fedora/mongo/db/pipeline/document_source_group.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/pipeline/document_source_group.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/pipeline/expression.h:40, from src/mongo/db/pipeline/accumulator.h:39, from src/mongo/db/pipeline/accumulation_statement.h:34, from src/mongo/db/pipeline/document_source_group.cpp:32: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/db/pipeline/document_source_group.cpp:31: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ ar rcsTD build/fedora/mongo/transport/libtransport_layer_manager.a build/fedora/mongo/transport/transport_layer_manager.o Skipping ranlib for thin archive build/fedora/mongo/transport/libtransport_layer_manager.a ar rcsTD build/fedora/mongo/db/storage/kv/libkv_prefix.a build/fedora/mongo/db/storage/kv/kv_prefix.o Skipping ranlib for thin archive build/fedora/mongo/db/storage/kv/libkv_prefix.a g++ -o build/fedora/mongo/db/repl/repl_set_config.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/repl/repl_set_config.cpp src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/pipeline/expression.h:103:32: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/db/pipeline/document_source.h:44, from src/mongo/db/pipeline/document_source_group.h:36, from src/mongo/db/pipeline/document_source_group.cpp:35: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/client/connection_string.h:38, from src/mongo/db/repl/repl_set_config.h:36, from src/mongo/db/repl/repl_set_config.cpp:31: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::repl::ReplSetTagPattern, mongo::StringMapTraits>': src/mongo/db/repl/repl_set_config.h:402:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::repl::ReplSetTagPattern; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::repl::ReplSetTagPattern; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::repl::ReplSetTagPattern; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::repl::ReplSetTagPattern; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/db/pipeline/document_source_group.cpp: In member function 'mongo::DocumentSource::GetNextResult mongo::DocumentSourceGroup::getNextStandard()': src/mongo/db/pipeline/document_source_group.cpp:126:21: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(out); | ~~~~~~~~~^~~~~ src/mongo/db/pipeline/document_source_group.cpp:126:21: note: remove 'std::move' call src/mongo/db/pipeline/document_source_group.cpp: In member function 'mongo::DocumentSource::GetNextResult mongo::DocumentSourceGroup::getNextStreaming()': src/mongo/db/pipeline/document_source_group.cpp:164:21: warning: redundant move in return statement [-Wredundant-move] 164 | return std::move(out); | ~~~~~~~~~^~~~~ src/mongo/db/pipeline/document_source_group.cpp:164:21: note: remove 'std::move' call In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/bson/util/bson_check.h:33, from src/mongo/db/repl/repl_set_config.cpp:35: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, bool, mongo::StringMapTraits>': src/mongo/bson/util/bson_check.h:62:43: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = bool; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = bool; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = bool; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = bool; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call g++ -o build/fedora/mongo/db/repl/repl_set_request_votes_args.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/repl/repl_set_request_votes_args.cpp g++ -o build/fedora/third_party/icu4c-57.1/source/i18n/valueformatter.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/valueformatter.cpp g++ -o build/fedora/mongo/s/client/sharding_network_connection_hook.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/s/client/sharding_network_connection_hook.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/bson/util/bson_check.h:33, from src/mongo/db/repl/repl_set_request_votes_args.cpp:31: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/bson/timestamp.h:31, from src/mongo/db/repl/optime.h:33, from src/mongo/db/repl/repl_set_request_votes_args.h:33, from src/mongo/db/repl/repl_set_request_votes_args.cpp:29: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ ar rcsTD build/fedora/mongo/util/net/libssl_manager_impl.a build/fedora/mongo/util/net/private/ssl_expiration.o build/fedora/mongo/util/net/ssl_manager.o build/fedora/mongo/util/net/ssl_parameters.o build/fedora/mongo/util/net/ssl_manager_openssl.o build/fedora/mongo/util/net/ssl_stream.o Skipping ranlib for thin archive build/fedora/mongo/util/net/libssl_manager_impl.a g++ -o build/fedora/mongo/client/remote_command_targeter_standalone.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/client/remote_command_targeter_standalone.cpp src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, bool, mongo::StringMapTraits>': src/mongo/bson/util/bson_check.h:62:43: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = bool; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = bool; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = bool; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = bool; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/mongo/db/dbmain.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/db/dbmain.cpp ar rcsTD build/fedora/mongo/db/libservice_liaison_mongod.a build/fedora/mongo/db/service_liaison_mongod.o Skipping ranlib for thin archive build/fedora/mongo/db/libservice_liaison_mongod.a g++ -o build/fedora/third_party/icu4c-57.1/source/i18n/fpositer.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/fpositer.cpp g++ -o build/fedora/mongo/db/pipeline/document_source_single_document_transformation.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/pipeline/document_source_single_document_transformation.cpp In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/bson/bsonobj.h:44, from src/mongo/bson/bsonobj_comparator_interface.h:32, from src/mongo/bson/simple_bsonobj_comparator.h:34, from src/mongo/db/pipeline/document_source.h:41, from src/mongo/db/pipeline/document_source_single_document_transformation.h:31, from src/mongo/db/pipeline/document_source_single_document_transformation.cpp:31: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ ar rcsTD build/fedora/mongo/db/repl/libreplica_set_messages.a build/fedora/mongo/db/repl/is_master_response.o build/fedora/mongo/db/repl/member_config.o build/fedora/mongo/db/repl/repl_set_config.o build/fedora/mongo/db/repl/repl_set_heartbeat_args.o build/fedora/mongo/db/repl/repl_set_heartbeat_args_v1.o build/fedora/mongo/db/repl/repl_set_heartbeat_response.o build/fedora/mongo/db/repl/repl_set_html_summary.o build/fedora/mongo/db/repl/repl_set_request_votes_args.o build/fedora/mongo/db/repl/repl_set_tag.o build/fedora/mongo/db/repl/update_position_args.o build/fedora/mongo/db/repl/last_vote.o Skipping ranlib for thin archive build/fedora/mongo/db/repl/libreplica_set_messages.a g++ -o build/fedora/mongo/db/pipeline/document_source_coll_stats.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/pipeline/document_source_coll_stats.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/db/pipeline/document_source.h:44: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/bson/bsonobj.h:44, from src/mongo/bson/bsonobj_comparator_interface.h:32, from src/mongo/bson/simple_bsonobj_comparator.h:34, from src/mongo/db/pipeline/document_source.h:41, from src/mongo/db/pipeline/document_source_coll_stats.h:31, from src/mongo/db/pipeline/document_source_coll_stats.cpp:31: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/db/pipeline/document_source.h:44: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Top::CollectionData, mongo::StringMapTraits>': src/mongo/db/stats/top.h:150:14: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Top::CollectionData; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ ar rcsTD build/fedora/mongo/db/auth/libsaslauth.a build/fedora/mongo/db/auth/sasl_mechanism_registry.o build/fedora/mongo/db/auth/sasl_plain_server_conversation.o build/fedora/mongo/db/auth/sasl_scram_server_conversation.o Skipping ranlib for thin archive build/fedora/mongo/db/auth/libsaslauth.a g++ -o build/fedora/mongo/db/pipeline/document_source_replace_root.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/pipeline/document_source_replace_root.cpp In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/bson/bsonobj.h:44, from src/mongo/bson/bsonobj_comparator_interface.h:32, from src/mongo/bson/simple_bsonobj_comparator.h:34, from src/mongo/db/pipeline/document_source.h:41, from src/mongo/db/pipeline/document_source_single_document_transformation.h:31, from src/mongo/db/pipeline/document_source_replace_root.h:31, from src/mongo/db/pipeline/document_source_replace_root.cpp:31: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/db/pipeline/document_source.h:44: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/mongo/db/pipeline/document_source_internal_inhibit_optimization.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/pipeline/document_source_internal_inhibit_optimization.cpp In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/bson/bsonobj.h:44, from src/mongo/bson/bsonobj_comparator_interface.h:32, from src/mongo/bson/simple_bsonobj_comparator.h:34, from src/mongo/db/pipeline/document_source.h:41, from src/mongo/db/pipeline/document_source_internal_inhibit_optimization.h:31, from src/mongo/db/pipeline/document_source_internal_inhibit_optimization.cpp:31: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/db/pipeline/document_source.h:44: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/mongo/db/pipeline/document_source_skip.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/pipeline/document_source_skip.cpp In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/bson/bsonobj.h:44, from src/mongo/bson/bsonobj_comparator_interface.h:32, from src/mongo/bson/simple_bsonobj_comparator.h:34, from src/mongo/db/pipeline/document_source.h:41, from src/mongo/db/pipeline/document_source_skip.h:31, from src/mongo/db/pipeline/document_source_skip.cpp:31: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/db/pipeline/document_source.h:44: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/mongo/db/pipeline/document_source_internal_split_pipeline.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/pipeline/document_source_internal_split_pipeline.cpp In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/bson/bsonobj.h:44, from src/mongo/bson/bsonobj_comparator_interface.h:32, from src/mongo/bson/simple_bsonobj_comparator.h:34, from src/mongo/db/pipeline/document_source.h:41, from src/mongo/db/pipeline/document_source_internal_split_pipeline.h:31, from src/mongo/db/pipeline/document_source_internal_split_pipeline.cpp:31: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/db/pipeline/document_source.h:44: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ ar rcsTD build/fedora/mongo/db/repl/librepl_coordinator_interface.a build/fedora/mongo/db/repl/repl_client_info.o build/fedora/mongo/db/repl/replication_coordinator.o Skipping ranlib for thin archive build/fedora/mongo/db/repl/librepl_coordinator_interface.a ar rcsTD build/fedora/mongo/db/libmongohasher.a build/fedora/mongo/db/hasher.o Skipping ranlib for thin archive build/fedora/mongo/db/libmongohasher.a g++ -o build/fedora/third_party/s2/base/strtoint.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Isrc/third_party/s2 -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/third_party/s2/base/strtoint.cc src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ ar rcsTD build/fedora/mongo/db/storage/mmap_v1/liblogfile.a build/fedora/mongo/db/storage/mmap_v1/logfile.o Skipping ranlib for thin archive build/fedora/mongo/db/storage/mmap_v1/liblogfile.a ar rcsTD build/fedora/mongo/util/concurrency/libspin_lock.a build/fedora/mongo/util/concurrency/spin_lock.o Skipping ranlib for thin archive build/fedora/mongo/util/concurrency/libspin_lock.a g++ -o build/fedora/mongo/db/repl/replication_coordinator_impl_elect.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/repl/replication_coordinator_impl_elect.cpp In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/oid.h:34, from src/mongo/db/repl/elect_cmd_runner.h:34, from src/mongo/db/repl/replication_coordinator_impl_elect.cpp:34: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::repl::ReplSetTagPattern, mongo::StringMapTraits>': src/mongo/db/repl/repl_set_config.h:402:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::repl::ReplSetTagPattern; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::repl::ReplSetTagPattern; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::repl::ReplSetTagPattern; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::repl::ReplSetTagPattern; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/query_solution.h:36, from src/mongo/db/query/plan_executor.h:37, from src/mongo/db/clientcursor.h:38, from src/mongo/client/fetcher.h:41, from src/mongo/db/repl/collection_cloner.h:39, from src/mongo/db/repl/initial_syncer.h:42, from src/mongo/db/repl/replication_coordinator_impl.h:38, from src/mongo/db/repl/replication_coordinator_impl_elect.cpp:36: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36, from src/mongo/db/query/plan_cache.h:35, from src/mongo/db/query/query_solution.h:38: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ ar rcsTD build/fedora/mongo/db/pipeline/libpipeline.a build/fedora/mongo/db/pipeline/document_source.o build/fedora/mongo/db/pipeline/document_source_add_fields.o build/fedora/mongo/db/pipeline/document_source_bucket.o build/fedora/mongo/db/pipeline/document_source_bucket_auto.o build/fedora/mongo/db/pipeline/document_source_change_stream.o build/fedora/mongo/db/pipeline/document_source_change_stream_close_cursor.o build/fedora/mongo/db/pipeline/document_source_change_stream_transform.o build/fedora/mongo/db/pipeline/document_source_check_invalidate.o build/fedora/mongo/db/pipeline/document_source_check_resume_token.o build/fedora/mongo/db/pipeline/document_source_coll_stats.o build/fedora/mongo/db/pipeline/document_source_count.o build/fedora/mongo/db/pipeline/document_source_current_op.o build/fedora/mongo/db/pipeline/document_source_facet.o build/fedora/mongo/db/pipeline/document_source_geo_near.o build/fedora/mongo/db/pipeline/document_source_graph_lookup.o build/fedora/mongo/db/pipeline/document_source_group.o build/fedora/mongo/db/pipeline/document_source_index_stats.o build/fedora/mongo/db/pipeline/document_source_internal_inhibit_optimization.o build/fedora/mongo/db/pipeline/document_source_internal_split_pipeline.o build/fedora/mongo/db/pipeline/document_source_limit.o build/fedora/mongo/db/pipeline/document_source_list_local_cursors.o build/fedora/mongo/db/pipeline/document_source_list_local_sessions.o build/fedora/mongo/db/pipeline/document_source_list_sessions.o build/fedora/mongo/db/pipeline/document_source_lookup.o build/fedora/mongo/db/pipeline/document_source_lookup_change_post_image.o build/fedora/mongo/db/pipeline/document_source_match.o build/fedora/mongo/db/pipeline/document_source_merge_cursors.o build/fedora/mongo/db/pipeline/document_source_out.o build/fedora/mongo/db/pipeline/document_source_project.o build/fedora/mongo/db/pipeline/document_source_redact.o build/fedora/mongo/db/pipeline/document_source_replace_root.o build/fedora/mongo/db/pipeline/document_source_sample.o build/fedora/mongo/db/pipeline/document_source_sample_from_random_cursor.o build/fedora/mongo/db/pipeline/document_source_sequential_document_cache.o build/fedora/mongo/db/pipeline/document_source_single_document_transformation.o build/fedora/mongo/db/pipeline/document_source_skip.o build/fedora/mongo/db/pipeline/document_source_sort.o build/fedora/mongo/db/pipeline/document_source_sort_by_count.o build/fedora/mongo/db/pipeline/cluster_aggregation_planner.o build/fedora/mongo/db/pipeline/document_source_tee_consumer.o build/fedora/mongo/db/pipeline/document_source_unwind.o build/fedora/mongo/db/pipeline/mongo_process_common.o build/fedora/mongo/db/pipeline/pipeline.o build/fedora/mongo/db/pipeline/sequential_document_cache.o build/fedora/mongo/db/pipeline/tee_buffer.o Skipping ranlib for thin archive build/fedora/mongo/db/pipeline/libpipeline.a ar rcsTD build/fedora/mongo/db/libcurop_metrics.a build/fedora/mongo/db/curop_metrics.o Skipping ranlib for thin archive build/fedora/mongo/db/libcurop_metrics.a ar rcsTD build/fedora/third_party/s2/base/libbase_s2.a build/fedora/third_party/s2/base/int128.o build/fedora/third_party/s2/base/logging.o build/fedora/third_party/s2/base/stringprintf.o build/fedora/third_party/s2/base/strtoint.o Skipping ranlib for thin archive build/fedora/third_party/s2/base/libbase_s2.a g++ -o build/fedora/third_party/icu4c-57.1/source/i18n/smallintformatter.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/smallintformatter.cpp g++ -o build/fedora/third_party/icu4c-57.1/source/i18n/persncal.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/persncal.cpp ar rcsTD build/fedora/mongo/util/libversion_impl.a build/fedora/mongo/util/version_impl.o Skipping ranlib for thin archive build/fedora/mongo/util/libversion_impl.a ar rcsTD build/fedora/mongo/db/auth/libuser_document_parser.a build/fedora/mongo/db/auth/user_document_parser.o Skipping ranlib for thin archive build/fedora/mongo/db/auth/libuser_document_parser.a g++ -o build/fedora/third_party/icu4c-57.1/source/i18n/collationcompare.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/collationcompare.cpp src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, unsigned int, mongo::StringMapTraits>': src/mongo/db/op_observer.h:310:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/mongo/db/query/collation/collation_spec.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/query/collation/collation_spec.cpp ar rcsTD build/fedora/mongo/db/query/collation/libcollator_interface.a build/fedora/mongo/db/query/collation/collation_index_key.o build/fedora/mongo/db/query/collation/collation_spec.o build/fedora/mongo/db/query/collation/collator_interface.o Skipping ranlib for thin archive build/fedora/mongo/db/query/collation/libcollator_interface.a g++ -o build/fedora/mongo/client/read_preference.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/client/read_preference.cpp In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call ar rcsTD build/fedora/mongo/db/repl/librepl_coordinator_impl.a build/fedora/mongo/db/repl/check_quorum_for_config_change.o build/fedora/mongo/db/repl/elect_cmd_runner.o build/fedora/mongo/db/repl/freshness_checker.o build/fedora/mongo/db/repl/repl_set_config_checks.o build/fedora/mongo/db/repl/replication_coordinator_impl.o build/fedora/mongo/db/repl/replication_coordinator_impl_elect.o build/fedora/mongo/db/repl/replication_coordinator_impl_elect_v1.o build/fedora/mongo/db/repl/replication_coordinator_impl_heartbeat.o build/fedora/mongo/db/repl/vote_requester.o Skipping ranlib for thin archive build/fedora/mongo/db/repl/librepl_coordinator_impl.a g++ -o build/fedora/mongo/db/ftdc/file_manager.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/ftdc/file_manager.cpp ar rcsTD build/fedora/mongo/client/libread_preference.a build/fedora/mongo/client/read_preference.o Skipping ranlib for thin archive build/fedora/mongo/client/libread_preference.a g++ -o build/fedora/third_party/icu4c-57.1/source/i18n/strmatch.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/strmatch.cpp ar rcsTD build/fedora/mongo/s/client/libsharding_client.a build/fedora/mongo/s/client/shard_remote.o Skipping ranlib for thin archive build/fedora/mongo/s/client/libsharding_client.a g++ -o build/fedora/third_party/icu4c-57.1/source/i18n/wintzimpl.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/wintzimpl.cpp ar rcsTD build/fedora/mongo/util/libsummation.a build/fedora/mongo/util/summation.o Skipping ranlib for thin archive build/fedora/mongo/util/libsummation.a ar rcsTD build/fedora/mongo/db/libcollection_index_usage_tracker.a build/fedora/mongo/db/collection_index_usage_tracker.o Skipping ranlib for thin archive build/fedora/mongo/db/libcollection_index_usage_tracker.a ar rcsTD build/fedora/mongo/db/liblasterror.a build/fedora/mongo/db/lasterror.o Skipping ranlib for thin archive build/fedora/mongo/db/liblasterror.a ar rcsTD build/fedora/third_party/libshim_zlib.a build/fedora/third_party/shim_zlib.o Skipping ranlib for thin archive build/fedora/third_party/libshim_zlib.a ar rcsTD build/fedora/mongo/db/commands/libfsync_locked.a build/fedora/mongo/db/commands/fsync_locked.o Skipping ranlib for thin archive build/fedora/mongo/db/commands/libfsync_locked.a g++ -o build/fedora/third_party/icu4c-57.1/source/i18n/astro.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/astro.cpp g++ -o build/fedora/mongo/db/query/index_bounds_builder.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/query/index_bounds_builder.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/matcher/expression_parser.h:35, from src/mongo/db/query/index_bounds_builder.h:33, from src/mongo/db/query/index_bounds_builder.cpp:31: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/hasher.h:38, from src/mongo/db/query/index_bounds_builder.h:31: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ ar rcsTD build/fedora/third_party/libshim_mozjs.a build/fedora/third_party/shim_mozjs.o Skipping ranlib for thin archive build/fedora/third_party/libshim_mozjs.a g++ -o build/fedora/third_party/icu4c-57.1/source/i18n/tztrans.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/tztrans.cpp ar rcsTD build/fedora/mongo/bson/util/libbson_extract.a build/fedora/mongo/bson/util/bson_extract.o Skipping ranlib for thin archive build/fedora/mongo/bson/util/libbson_extract.a g++ -o build/fedora/third_party/icu4c-57.1/source/i18n/anytrans.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/anytrans.cpp g++ -o build/fedora/mongo/db/repl/data_replicator_external_state_impl.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/repl/data_replicator_external_state_impl.cpp In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/db/repl/multiapplier.h:40, from src/mongo/db/repl/data_replicator_external_state.h:33, from src/mongo/db/repl/data_replicator_external_state_impl.h:31, from src/mongo/db/repl/data_replicator_external_state_impl.cpp:33: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/plan_cache.h:35, from src/mongo/db/catalog/collection_info_cache.h:33, from src/mongo/db/catalog/collection.h:41, from src/mongo/db/repl/storage_interface.h:40, from src/mongo/db/repl/oplog_applier.h:43, from src/mongo/db/repl/data_replicator_external_state.h:34: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, unsigned int, mongo::StringMapTraits>': src/mongo/db/op_observer.h:310:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = unsigned int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::repl::ReplSetTagPattern, mongo::StringMapTraits>': src/mongo/db/repl/repl_set_config.h:402:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::repl::ReplSetTagPattern; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::repl::ReplSetTagPattern; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::repl::ReplSetTagPattern; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::repl::ReplSetTagPattern; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ ar rcsTD build/fedora/mongo/db/query/libindex_bounds.a build/fedora/mongo/db/query/expression_index.o build/fedora/mongo/db/query/expression_index_knobs.o build/fedora/mongo/db/query/index_bounds.o build/fedora/mongo/db/query/index_bounds_builder.o build/fedora/mongo/db/query/interval.o Skipping ranlib for thin archive build/fedora/mongo/db/query/libindex_bounds.a ar rcsTD build/fedora/mongo/client/libasync_client.a build/fedora/mongo/client/async_client.o Skipping ranlib for thin archive build/fedora/mongo/client/libasync_client.a ar rcsTD build/fedora/mongo/util/libclock_sources.a build/fedora/mongo/util/background_thread_clock_source.o build/fedora/mongo/util/clock_source.o build/fedora/mongo/util/fast_clock_source_factory.o Skipping ranlib for thin archive build/fedora/mongo/util/libclock_sources.a ar rcsTD build/fedora/mongo/db/libkeys_collection_client_sharded.a build/fedora/mongo/db/keys_collection_client_sharded.o Skipping ranlib for thin archive build/fedora/mongo/db/libkeys_collection_client_sharded.a g++ -o build/fedora/third_party/icu4c-57.1/source/i18n/ethpccal.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/ethpccal.cpp g++ -o build/fedora/third_party/icu4c-57.1/source/i18n/reldatefmt.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/reldatefmt.cpp g++ -o build/fedora/third_party/icu4c-57.1/source/i18n/unesctrn.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/unesctrn.cpp g++ -o build/fedora/third_party/icu4c-57.1/source/i18n/regexst.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/regexst.cpp g++ -o build/fedora/third_party/icu4c-57.1/source/i18n/reldtfmt.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/reldtfmt.cpp g++ -o build/fedora/third_party/icu4c-57.1/source/i18n/gender.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/gender.cpp g++ -o build/fedora/third_party/icu4c-57.1/source/i18n/collationrootelements.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/collationrootelements.cpp g++ -o build/fedora/third_party/icu4c-57.1/source/i18n/udat.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/udat.cpp g++ -o build/fedora/third_party/icu4c-57.1/source/i18n/fmtable_cnv.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/fmtable_cnv.cpp Using tempfile /tmp/tmpry97jiyl.lnk for command line: ar rcsTD build/fedora/third_party/icu4c-57.1/source/libicu_i18n.a build/fedora/third_party/icu4c-57.1/source/i18n/affixpatternparser.o build/fedora/third_party/icu4c-57.1/source/i18n/alphaindex.o build/fedora/third_party/icu4c-57.1/source/i18n/anytrans.o build/fedora/third_party/icu4c-57.1/source/i18n/astro.o build/fedora/third_party/icu4c-57.1/source/i18n/basictz.o build/fedora/third_party/icu4c-57.1/source/i18n/bocsu.o build/fedora/third_party/icu4c-57.1/source/i18n/brktrans.o build/fedora/third_party/icu4c-57.1/source/i18n/buddhcal.o build/fedora/third_party/icu4c-57.1/source/i18n/calendar.o build/fedora/third_party/icu4c-57.1/source/i18n/casetrn.o build/fedora/third_party/icu4c-57.1/source/i18n/cecal.o build/fedora/third_party/icu4c-57.1/source/i18n/chnsecal.o build/fedora/third_party/icu4c-57.1/source/i18n/choicfmt.o build/fedora/third_party/icu4c-57.1/source/i18n/coleitr.o build/fedora/third_party/icu4c-57.1/source/i18n/coll.o build/fedora/third_party/icu4c-57.1/source/i18n/collation.o build/fedora/third_party/icu4c-57.1/source/i18n/collationbuilder.o build/fedora/third_party/icu4c-57.1/source/i18n/collationcompare.o build/fedora/third_party/icu4c-57.1/source/i18n/collationdata.o build/fedora/third_party/icu4c-57.1/source/i18n/collationdatabuilder.o build/fedora/third_party/icu4c-57.1/source/i18n/collationdatareader.o build/fedora/third_party/icu4c-57.1/source/i18n/collationdatawriter.o build/fedora/third_party/icu4c-57.1/source/i18n/collationfastlatin.o build/fedora/third_party/icu4c-57.1/source/i18n/collationfastlatinbuilder.o build/fedora/third_party/icu4c-57.1/source/i18n/collationfcd.o build/fedora/third_party/icu4c-57.1/source/i18n/collationiterator.o build/fedora/third_party/icu4c-57.1/source/i18n/collationkeys.o build/fedora/third_party/icu4c-57.1/source/i18n/collationroot.o build/fedora/third_party/icu4c-57.1/source/i18n/collationrootelements.o build/fedora/third_party/icu4c-57.1/source/i18n/collationruleparser.o build/fedora/third_party/icu4c-57.1/source/i18n/collationsets.o build/fedora/third_party/icu4c-57.1/source/i18n/collationsettings.o build/fedora/third_party/icu4c-57.1/source/i18n/collationtailoring.o build/fedora/third_party/icu4c-57.1/source/i18n/collationweights.o build/fedora/third_party/icu4c-57.1/source/i18n/compactdecimalformat.o build/fedora/third_party/icu4c-57.1/source/i18n/coptccal.o build/fedora/third_party/icu4c-57.1/source/i18n/cpdtrans.o build/fedora/third_party/icu4c-57.1/source/i18n/csdetect.o build/fedora/third_party/icu4c-57.1/source/i18n/csmatch.o build/fedora/third_party/icu4c-57.1/source/i18n/csr2022.o build/fedora/third_party/icu4c-57.1/source/i18n/csrecog.o build/fedora/third_party/icu4c-57.1/source/i18n/csrmbcs.o build/fedora/third_party/icu4c-57.1/source/i18n/csrsbcs.o build/fedora/third_party/icu4c-57.1/source/i18n/csrucode.o build/fedora/third_party/icu4c-57.1/source/i18n/csrutf8.o build/fedora/third_party/icu4c-57.1/source/i18n/curramt.o build/fedora/third_party/icu4c-57.1/source/i18n/currfmt.o build/fedora/third_party/icu4c-57.1/source/i18n/currpinf.o build/fedora/third_party/icu4c-57.1/source/i18n/currunit.o build/fedora/third_party/icu4c-57.1/source/i18n/dangical.o build/fedora/third_party/icu4c-57.1/source/i18n/datefmt.o build/fedora/third_party/icu4c-57.1/source/i18n/dayperiodrules.o build/fedora/third_party/icu4c-57.1/source/i18n/dcfmtsym.o build/fedora/third_party/icu4c-57.1/source/i18n/decContext.o build/fedora/third_party/icu4c-57.1/source/i18n/decNumber.o build/fedora/third_party/icu4c-57.1/source/i18n/decfmtst.o build/fedora/third_party/icu4c-57.1/source/i18n/decimalformatpattern.o build/fedora/third_party/icu4c-57.1/source/i18n/decimfmt.o build/fedora/third_party/icu4c-57.1/source/i18n/decimfmtimpl.o build/fedora/third_party/icu4c-57.1/source/i18n/digitaffix.o build/fedora/third_party/icu4c-57.1/source/i18n/digitaffixesandpadding.o build/fedora/third_party/icu4c-57.1/source/i18n/digitformatter.o build/fedora/third_party/icu4c-57.1/source/i18n/digitgrouping.o build/fedora/third_party/icu4c-57.1/source/i18n/digitinterval.o build/fedora/third_party/icu4c-57.1/source/i18n/digitlst.o build/fedora/third_party/icu4c-57.1/source/i18n/dtfmtsym.o build/fedora/third_party/icu4c-57.1/source/i18n/dtitvfmt.o build/fedora/third_party/icu4c-57.1/source/i18n/dtitvinf.o build/fedora/third_party/icu4c-57.1/source/i18n/dtptngen.o build/fedora/third_party/icu4c-57.1/source/i18n/dtrule.o build/fedora/third_party/icu4c-57.1/source/i18n/esctrn.o build/fedora/third_party/icu4c-57.1/source/i18n/ethpccal.o build/fedora/third_party/icu4c-57.1/source/i18n/fmtable.o build/fedora/third_party/icu4c-57.1/source/i18n/fmtable_cnv.o build/fedora/third_party/icu4c-57.1/source/i18n/format.o build/fedora/third_party/icu4c-57.1/source/i18n/fphdlimp.o build/fedora/third_party/icu4c-57.1/source/i18n/fpositer.o build/fedora/third_party/icu4c-57.1/source/i18n/funcrepl.o build/fedora/third_party/icu4c-57.1/source/i18n/gender.o build/fedora/third_party/icu4c-57.1/source/i18n/gregocal.o build/fedora/third_party/icu4c-57.1/source/i18n/gregoimp.o build/fedora/third_party/icu4c-57.1/source/i18n/hebrwcal.o build/fedora/third_party/icu4c-57.1/source/i18n/identifier_info.o build/fedora/third_party/icu4c-57.1/source/i18n/indiancal.o build/fedora/third_party/icu4c-57.1/source/i18n/inputext.o build/fedora/third_party/icu4c-57.1/source/i18n/islamcal.o build/fedora/third_party/icu4c-57.1/source/i18n/japancal.o build/fedora/third_party/icu4c-57.1/source/i18n/measfmt.o build/fedora/third_party/icu4c-57.1/source/i18n/measunit.o build/fedora/third_party/icu4c-57.1/source/i18n/measure.o build/fedora/third_party/icu4c-57.1/source/i18n/msgfmt.o build/fedora/third_party/icu4c-57.1/source/i18n/name2uni.o build/fedora/third_party/icu4c-57.1/source/i18n/nfrs.o build/fedora/third_party/icu4c-57.1/source/i18n/nfrule.o build/fedora/third_party/icu4c-57.1/source/i18n/nfsubs.o build/fedora/third_party/icu4c-57.1/source/i18n/nortrans.o build/fedora/third_party/icu4c-57.1/source/i18n/nultrans.o build/fedora/third_party/icu4c-57.1/source/i18n/numfmt.o build/fedora/third_party/icu4c-57.1/source/i18n/numsys.o build/fedora/third_party/icu4c-57.1/source/i18n/olsontz.o build/fedora/third_party/icu4c-57.1/source/i18n/persncal.o build/fedora/third_party/icu4c-57.1/source/i18n/pluralaffix.o build/fedora/third_party/icu4c-57.1/source/i18n/plurfmt.o build/fedora/third_party/icu4c-57.1/source/i18n/plurrule.o build/fedora/third_party/icu4c-57.1/source/i18n/precision.o build/fedora/third_party/icu4c-57.1/source/i18n/quant.o build/fedora/third_party/icu4c-57.1/source/i18n/quantityformatter.o build/fedora/third_party/icu4c-57.1/source/i18n/rbnf.o build/fedora/third_party/icu4c-57.1/source/i18n/rbt.o build/fedora/third_party/icu4c-57.1/source/i18n/rbt_data.o build/fedora/third_party/icu4c-57.1/source/i18n/rbt_pars.o build/fedora/third_party/icu4c-57.1/source/i18n/rbt_rule.o build/fedora/third_party/icu4c-57.1/source/i18n/rbt_set.o build/fedora/third_party/icu4c-57.1/source/i18n/rbtz.o build/fedora/third_party/icu4c-57.1/source/i18n/regexcmp.o build/fedora/third_party/icu4c-57.1/source/i18n/regeximp.o build/fedora/third_party/icu4c-57.1/source/i18n/regexst.o build/fedora/third_party/icu4c-57.1/source/i18n/regextxt.o build/fedora/third_party/icu4c-57.1/source/i18n/region.o build/fedora/third_party/icu4c-57.1/source/i18n/reldatefmt.o build/fedora/third_party/icu4c-57.1/source/i18n/reldtfmt.o build/fedora/third_party/icu4c-57.1/source/i18n/rematch.o build/fedora/third_party/icu4c-57.1/source/i18n/remtrans.o build/fedora/third_party/icu4c-57.1/source/i18n/repattrn.o build/fedora/third_party/icu4c-57.1/source/i18n/rulebasedcollator.o build/fedora/third_party/icu4c-57.1/source/i18n/scientificnumberformatter.o build/fedora/third_party/icu4c-57.1/source/i18n/scriptset.o build/fedora/third_party/icu4c-57.1/source/i18n/search.o build/fedora/third_party/icu4c-57.1/source/i18n/selfmt.o build/fedora/third_party/icu4c-57.1/source/i18n/sharedbreakiterator.o build/fedora/third_party/icu4c-57.1/source/i18n/simpletz.o build/fedora/third_party/icu4c-57.1/source/i18n/smallintformatter.o build/fedora/third_party/icu4c-57.1/source/i18n/smpdtfmt.o build/fedora/third_party/icu4c-57.1/source/i18n/smpdtfst.o build/fedora/third_party/icu4c-57.1/source/i18n/sortkey.o build/fedora/third_party/icu4c-57.1/source/i18n/standardplural.o build/fedora/third_party/icu4c-57.1/source/i18n/strmatch.o build/fedora/third_party/icu4c-57.1/source/i18n/strrepl.o build/fedora/third_party/icu4c-57.1/source/i18n/stsearch.o build/fedora/third_party/icu4c-57.1/source/i18n/taiwncal.o build/fedora/third_party/icu4c-57.1/source/i18n/timezone.o build/fedora/third_party/icu4c-57.1/source/i18n/titletrn.o build/fedora/third_party/icu4c-57.1/source/i18n/tmunit.o build/fedora/third_party/icu4c-57.1/source/i18n/tmutamt.o build/fedora/third_party/icu4c-57.1/source/i18n/tmutfmt.o build/fedora/third_party/icu4c-57.1/source/i18n/tolowtrn.o build/fedora/third_party/icu4c-57.1/source/i18n/toupptrn.o build/fedora/third_party/icu4c-57.1/source/i18n/translit.o build/fedora/third_party/icu4c-57.1/source/i18n/transreg.o build/fedora/third_party/icu4c-57.1/source/i18n/tridpars.o build/fedora/third_party/icu4c-57.1/source/i18n/tzfmt.o build/fedora/third_party/icu4c-57.1/source/i18n/tzgnames.o build/fedora/third_party/icu4c-57.1/source/i18n/tznames.o build/fedora/third_party/icu4c-57.1/source/i18n/tznames_impl.o build/fedora/third_party/icu4c-57.1/source/i18n/tzrule.o build/fedora/third_party/icu4c-57.1/source/i18n/tztrans.o build/fedora/third_party/icu4c-57.1/source/i18n/ucal.o build/fedora/third_party/icu4c-57.1/source/i18n/ucln_in.o build/fedora/third_party/icu4c-57.1/source/i18n/ucol.o build/fedora/third_party/icu4c-57.1/source/i18n/ucol_res.o build/fedora/third_party/icu4c-57.1/source/i18n/ucol_sit.o build/fedora/third_party/icu4c-57.1/source/i18n/ucoleitr.o build/fedora/third_party/icu4c-57.1/source/i18n/ucsdet.o build/fedora/third_party/icu4c-57.1/source/i18n/udat.o build/fedora/third_party/icu4c-57.1/source/i18n/udateintervalformat.o build/fedora/third_party/icu4c-57.1/source/i18n/udatpg.o build/fedora/third_party/icu4c-57.1/source/i18n/ufieldpositer.o build/fedora/third_party/icu4c-57.1/source/i18n/uitercollationiterator.o build/fedora/third_party/icu4c-57.1/source/i18n/ulocdata.o build/fedora/third_party/icu4c-57.1/source/i18n/umsg.o build/fedora/third_party/icu4c-57.1/source/i18n/unesctrn.o build/fedora/third_party/icu4c-57.1/source/i18n/uni2name.o build/fedora/third_party/icu4c-57.1/source/i18n/unum.o build/fedora/third_party/icu4c-57.1/source/i18n/unumsys.o build/fedora/third_party/icu4c-57.1/source/i18n/upluralrules.o build/fedora/third_party/icu4c-57.1/source/i18n/uregex.o build/fedora/third_party/icu4c-57.1/source/i18n/uregexc.o build/fedora/third_party/icu4c-57.1/source/i18n/uregion.o build/fedora/third_party/icu4c-57.1/source/i18n/usearch.o build/fedora/third_party/icu4c-57.1/source/i18n/uspoof.o build/fedora/third_party/icu4c-57.1/source/i18n/uspoof_build.o build/fedora/third_party/icu4c-57.1/source/i18n/uspoof_conf.o build/fedora/third_party/icu4c-57.1/source/i18n/uspoof_impl.o build/fedora/third_party/icu4c-57.1/source/i18n/uspoof_wsconf.o build/fedora/third_party/icu4c-57.1/source/i18n/utf16collationiterator.o build/fedora/third_party/icu4c-57.1/source/i18n/utf8collationiterator.o build/fedora/third_party/icu4c-57.1/source/i18n/utmscale.o build/fedora/third_party/icu4c-57.1/source/i18n/utrans.o build/fedora/third_party/icu4c-57.1/source/i18n/valueformatter.o build/fedora/third_party/icu4c-57.1/source/i18n/visibledigits.o build/fedora/third_party/icu4c-57.1/source/i18n/vtzone.o build/fedora/third_party/icu4c-57.1/source/i18n/vzone.o build/fedora/third_party/icu4c-57.1/source/i18n/windtfmt.o build/fedora/third_party/icu4c-57.1/source/i18n/winnmfmt.o build/fedora/third_party/icu4c-57.1/source/i18n/wintzimpl.o build/fedora/third_party/icu4c-57.1/source/i18n/zonemeta.o build/fedora/third_party/icu4c-57.1/source/i18n/zrule.o build/fedora/third_party/icu4c-57.1/source/i18n/ztrans.o ar @/tmp/tmpry97jiyl.lnk Skipping ranlib for thin archive build/fedora/third_party/icu4c-57.1/source/libicu_i18n.a ar rcsTD build/fedora/mongo/s/query/libcluster_cursor_manager.a build/fedora/mongo/s/query/cluster_cursor_manager.o Skipping ranlib for thin archive build/fedora/mongo/s/query/libcluster_cursor_manager.a ar rcsTD build/fedora/mongo/db/libkill_sessions.a build/fedora/mongo/db/kill_sessions.o build/fedora/mongo/db/kill_sessions_common.o build/fedora/mongo/db/session_killer.o build/fedora/mongo/db/kill_sessions_gen.o Skipping ranlib for thin archive build/fedora/mongo/db/libkill_sessions.a ar rcsTD build/fedora/mongo/db/stats/libtimer_stats.a build/fedora/mongo/db/stats/timer_stats.o Skipping ranlib for thin archive build/fedora/mongo/db/stats/libtimer_stats.a ar rcsTD build/fedora/mongo/db/libsessions_collection_config_server.a build/fedora/mongo/db/sessions_collection_config_server.o Skipping ranlib for thin archive build/fedora/mongo/db/libsessions_collection_config_server.a ar rcsTD build/fedora/mongo/db/ftdc/libftdc.a build/fedora/mongo/db/ftdc/block_compressor.o build/fedora/mongo/db/ftdc/collector.o build/fedora/mongo/db/ftdc/compressor.o build/fedora/mongo/db/ftdc/controller.o build/fedora/mongo/db/ftdc/decompressor.o build/fedora/mongo/db/ftdc/file_manager.o build/fedora/mongo/db/ftdc/file_reader.o build/fedora/mongo/db/ftdc/file_writer.o build/fedora/mongo/db/ftdc/util.o build/fedora/mongo/db/ftdc/varint.o Skipping ranlib for thin archive build/fedora/mongo/db/ftdc/libftdc.a ar rcsTD build/fedora/mongo/s/catalog/libreplset_dist_lock_manager.a build/fedora/mongo/s/catalog/replset_dist_lock_manager.o Skipping ranlib for thin archive build/fedora/mongo/s/catalog/libreplset_dist_lock_manager.a ar rcsTD build/fedora/mongo/s/libcluster_last_error_info.a build/fedora/mongo/s/cluster_last_error_info.o Skipping ranlib for thin archive build/fedora/mongo/s/libcluster_last_error_info.a ar rcsTD build/fedora/mongo/client/libremote_command_targeter.a build/fedora/mongo/client/remote_command_targeter_factory_impl.o build/fedora/mongo/client/remote_command_targeter_rs.o build/fedora/mongo/client/remote_command_targeter_standalone.o Skipping ranlib for thin archive build/fedora/mongo/client/libremote_command_targeter.a ar rcsTD build/fedora/third_party/libshim_timelib.a build/fedora/third_party/shim_timelib.o Skipping ranlib for thin archive build/fedora/third_party/libshim_timelib.a ar rcsTD build/fedora/mongo/db/storage/libkey_string.a build/fedora/mongo/db/storage/key_string.o Skipping ranlib for thin archive build/fedora/mongo/db/storage/libkey_string.a ar rcsTD build/fedora/mongo/db/auth/libauth_rolename.a build/fedora/mongo/db/auth/role_name.o Skipping ranlib for thin archive build/fedora/mongo/db/auth/libauth_rolename.a ar rcsTD build/fedora/third_party/s2/libs2.a build/fedora/third_party/s2/s1angle.o build/fedora/third_party/s2/s2.o build/fedora/third_party/s2/s2cellid.o build/fedora/third_party/s2/s2latlng.o build/fedora/third_party/s2/s1interval.o build/fedora/third_party/s2/s2cap.o build/fedora/third_party/s2/s2cell.o build/fedora/third_party/s2/s2cellunion.o build/fedora/third_party/s2/s2edgeindex.o build/fedora/third_party/s2/s2edgeutil.o build/fedora/third_party/s2/s2latlngrect.o build/fedora/third_party/s2/s2loop.o build/fedora/third_party/s2/s2pointregion.o build/fedora/third_party/s2/s2polygon.o build/fedora/third_party/s2/s2polygonbuilder.o build/fedora/third_party/s2/s2polyline.o build/fedora/third_party/s2/s2r2rect.o build/fedora/third_party/s2/s2region.o build/fedora/third_party/s2/s2regioncoverer.o build/fedora/third_party/s2/s2regionintersection.o build/fedora/third_party/s2/s2regionunion.o Skipping ranlib for thin archive build/fedora/third_party/s2/libs2.a ar rcsTD build/fedora/mongo/db/commands/libwrite_commands_common.a build/fedora/mongo/db/commands/write_commands/write_commands_common.o Skipping ranlib for thin archive build/fedora/mongo/db/commands/libwrite_commands_common.a ar rcsTD build/fedora/third_party/libshim_icu.a build/fedora/third_party/shim_icu.o Skipping ranlib for thin archive build/fedora/third_party/libshim_icu.a ar rcsTD build/fedora/mongo/db/index/libexpression_params.a build/fedora/mongo/db/index/expression_params.o build/fedora/mongo/db/index/s2_common.o Skipping ranlib for thin archive build/fedora/mongo/db/index/libexpression_params.a ar rcsTD build/fedora/mongo/db/libkeys_collection_document.a build/fedora/mongo/db/keys_collection_document.o Skipping ranlib for thin archive build/fedora/mongo/db/libkeys_collection_document.a ar rcsTD build/fedora/mongo/db/storage/mmap_v1/libbtree.a build/fedora/mongo/db/storage/mmap_v1/btree/btree_logic.o build/fedora/mongo/db/storage/mmap_v1/btree/btree_interface.o build/fedora/mongo/db/storage/mmap_v1/btree/btree_ondisk.o build/fedora/mongo/db/storage/mmap_v1/btree/key.o Skipping ranlib for thin archive build/fedora/mongo/db/storage/mmap_v1/libbtree.a ar rcsTD build/fedora/mongo/db/libcommon.a build/fedora/mongo/db/field_ref.o build/fedora/mongo/db/field_ref_set.o build/fedora/mongo/db/field_parser.o build/fedora/mongo/db/keypattern.o Skipping ranlib for thin archive build/fedora/mongo/db/libcommon.a ar rcsTD build/fedora/mongo/db/storage/mmap_v1/libmmap_v1_options.a build/fedora/mongo/db/storage/mmap_v1/mmap_v1_options.o Skipping ranlib for thin archive build/fedora/mongo/db/storage/mmap_v1/libmmap_v1_options.a ar rcsTD build/fedora/mongo/s/libsharding_initialization.a build/fedora/mongo/s/sharding_initialization.o build/fedora/mongo/s/client/sharding_connection_hook.o build/fedora/mongo/s/client/sharding_network_connection_hook.o Skipping ranlib for thin archive build/fedora/mongo/s/libsharding_initialization.a ar rcsTD build/fedora/mongo/util/libdns_query.a build/fedora/mongo/util/dns_query.o Skipping ranlib for thin archive build/fedora/mongo/util/libdns_query.a g++ -o build/fedora/mongo/s/commands/cluster_explain.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/s/commands/cluster_explain.cpp In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/s/commands/cluster_explain.cpp:33: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/bson/bsonmisc.h:32, from src/mongo/s/commands/cluster_explain.cpp:31: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ ar rcsTD build/fedora/mongo/db/repl/libdata_replicator_external_state_impl.a build/fedora/mongo/db/repl/data_replicator_external_state_impl.o Skipping ranlib for thin archive build/fedora/mongo/db/repl/libdata_replicator_external_state_impl.a src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ Using tempfile /tmp/tmpjp8jqpys.lnk for command line: g++ -o build/fedora/mongo/mongod -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -Wl,-z,noexecstack -Wl,--reduce-memory-overheads,--no-keep-memory -pthread -Wl,-z,now -rdynamic -fstack-protector-strong -Wl,--build-id -Wl,--hash-style=gnu -Wl,-z,noexecstack -Wl,--warn-execstack -Wl,-z,relro -pie build/fedora/mongo/db/dbmain.o -Wl,--start-group -Wl,--whole-archive build/fedora/mongo/libmongodmain.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/util/options_parser/liboptions_parser_init.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/util/libversion_impl.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/util/libtcmalloc_set_parameter.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/libmongod_options_init.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/repl/libstorage_interface_impl.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/repl/librepl_set_commands.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/repl/librepl_set_status_commands.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/libservice_context_d.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/transport/libservice_entry_point.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/libservice_entry_point_common.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/libserveronly.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/storage/wiredtiger/libstorage_wiredtiger.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/storage/wiredtiger/libstorage_wiredtiger_core.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/third_party/libshim_wiredtiger.a -Wl,--no-whole-archive build/fedora/third_party/wiredtiger/libwiredtiger.a -Wl,--whole-archive build/fedora/mongo/db/storage/wiredtiger/libstorage_wiredtiger_customization_hooks.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/storage/libstorage_init_d.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/storage/ephemeral_for_test/libstorage_ephemeral_for_test.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/storage/ephemeral_for_test/libstorage_ephemeral_for_test_core.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/storage/libindex_entry_comparison.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/storage/devnull/libstorage_devnull.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/storage/kv/libkv_engine.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/storage/kv/libkv_storage_engine.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/storage/kv/libkv_database_catalog_entry_core.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/storage/kv/libkv_engine_core.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/storage/libbson_collection_catalog_entry.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/storage/devnull/libstorage_devnull_core.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/storage/ephemeral_for_test/libephemeral_for_test_record_store.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/s/libop_observer_sharding_impl.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/s/libcommands_db_s.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/s/commands/libshared_cluster_commands.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/repl/libserveronly_repl.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/repl/libreplication_recovery.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/repl/libreplication_info.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/repl/libreplication_consistency_markers_impl.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/repl/libreplication_consistency_markers_idl.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/repl/librepl_coordinator_impl.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/repl/libtopology_coordinator.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/repl/libscatter_gather.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/repl/libreporter.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/repl/libdata_replicator_external_state_initial_sync.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/repl/libbgsync.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/repl/libsync_source_resolver.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/repl/librs_rollback.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/repl/librslog.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/repl/librollback_source_impl.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/repl/librollback_impl.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/repl/libroll_back_local_operations.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/repl/liboplog_interface_remote.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/repl/liboplog_interface_local.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/repl/libdata_replicator_external_state_impl.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/repl/liboplog_buffer_proxy.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/repl/liboplog_buffer_collection.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/repl/liboplog_application.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/s/libsharding_runtime_d.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/s/libsharding_initialization.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/util/libperiodic_runner_factory.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/util/libperiodic_runner_impl.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/s/libsharding_task_executor.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/s/catalog/libreplset_dist_lock_manager.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/s/catalog/libdist_lock_catalog_impl.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/s/catalog/libdist_lock_catalog_interface.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/liblogical_session_cache_factory_mongos.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/libservice_liaison_mongos.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/s/client/libshard_local.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/s/libmigration_types.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/libop_observer_impl.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/repl/liboplogreader.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/repl/libinitial_syncer.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/repl/librollback_checker.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/repl/liboplog_fetcher.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/repl/libabstract_oplog_fetcher.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/repl/liboplog_buffer_blocking_queue.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/repl/libmultiapplier.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/repl/libdatabases_cloner.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/repl/libdatabase_cloner.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/repl/libcollection_cloner.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/repl/libtask_runner.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/repl/libabstract_async_component.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/client/libconnection_pool.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/libttl_d.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/libstartup_warnings_mongod.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/libstartup_warnings_common.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/libprefetch.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/fts/libftsmongod.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/librepair_database_and_check_version.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/libperiodic_runner_job_abort_expired_transactions.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/libmongodandmongos.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/auth/libsecurity_key.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/libmongod_options.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/liblogical_session_cache_factory_mongod.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/libtransaction_reaper.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/libsessions_collection_standalone.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/libsessions_collection_config_server.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/libsessions_collection_sharded.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/s/libsharding_api.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/s/write_ops/libcluster_write_op.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/s/query/libcluster_query.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/s/query/libstore_possible_cursor.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/s/query/libcluster_cursor_cleanup_job.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/s/query/libcluster_client_cursor.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/s/query/librouter_exec_stage.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/s/commands/libcluster_commands_helpers.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/libsessions_collection_rs.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/client/libremote_command_targeter.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/libservice_liaison_mongod.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/libkeys_collection_client_direct.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/s/client/librs_local_client.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/libinitialize_snmp.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/ftdc/libftdc_mongod.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/free_mon/libfree_mon_mongod.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/ftdc/libftdc_server.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/util/libprocparser.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/free_mon/libfree_mon.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/ftdc/libftdc.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/commands/libserver_status_servers.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/commands/libmongod.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/s/libsharding_catalog_manager.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/s/libtype_shard_identity.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/libcloner.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/exec/libstagedebug_cmd.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/commands/libstandalone.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/ops/libwrite_ops_exec.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/librw_concern_d.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/stats/libtimer_stats.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/libcommand_can_run_here.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/commands/libwrite_commands_common.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/commands/liblist_collections_filter.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/commands/libcurrent_op_common.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/commands/libshell_protocol.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/commands/libprofile_common.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/commands/libmongod_fsync.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/storage/mmap_v1/libstorage_mmapv1.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/storage/mmap_v1/librecord_access_tracker.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/storage/mmap_v1/liblogfile.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/storage/mmap_v1/libmmap.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/storage/mmap_v1/libfile_allocator.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/storage/mmap_v1/libcompress.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/storage/libjournal_listener.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/storage/kv/libkv_prefix.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/commands/libfsync_locked.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/commands/libmongod_fcv.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/libkill_sessions_local.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/commands/libkill_common.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/catalog/libcatalog_impl.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/views/libviews_mongod.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/storage/mmap_v1/libmmap_v1_options.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/storage/libstorage_engine_common.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/storage/libstorage_engine_metadata.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/storage/mmap_v1/libpaths.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/storage/libstorage_engine_lock_file.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/s/libbalancer.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/repl/libdrop_pending_collection_reaper.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/libttl_collection_cache.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/libsystem_index.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/librepair_database.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/storage/mmap_v1/librepair_database_interface.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/storage/libstorage_repair_observer.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/storage/libstorage_file_util.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/repl/liboplog.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/repl/libdbcheck.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/libop_observer.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/libindex_d.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/index/libindex_access_methods.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/libcollection_index_usage_tracker.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/catalog/libindex_key_validate.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/catalog/libhealth_log.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/concurrency/libdeferred_writer.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/catalog/libcatalog_helpers.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/catalog/libindex_create.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/catalog/libcollection_options.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/auth/libauthmongod.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/libdbhelpers.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/libwrite_ops.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/libintrospect.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/libquery_exec.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/util/libelapsed_tracker.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/storage/liboplog_hack.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/stats/libserveronly_stats.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/query/libquery_common.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/query/datetime/libinit_timezone_data.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/query/collation/libcollator_icu.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/matcher/libexpressions_mongod_only.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/scripting/libscripting_server.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/scripting/libscripting.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/third_party/libshim_mozjs.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/third_party/mozjs-45/libmozjs.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/scripting/libbson_template_evaluator.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/libcursor_server_params.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/libbackground.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/exec/libworking_set.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/exec/libscoped_timer.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/catalog/libcollection_info_cache.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/libdb_raii.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/libcatalog_raii.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/views/libviews.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/pipeline/libaggregation.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/pipeline/libpipeline.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/s/query/libasync_results_merger.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/s/libasync_requests_sender.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/s/catalog/libsharding_catalog_client_impl.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/s/client/libsharding_client.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/client/libfetcher.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/s/catalog/libdist_lock_manager.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/pipeline/libparsed_aggregation_projection.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/pipeline/libgranularity_rounder.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/pipeline/libdocument_sources_idl.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/pipeline/libaccumulator.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/index/libkey_generator.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/fts/libbase_fts.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/third_party/libshim_stemmer.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/fts/unicode/libunicode.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/liblinenoise_utf8.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/stats/libtop.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/stats/libfill_locker_info.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/s/libsharding_api_d.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/librange_arithmetic.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/repl/liboplog_entry.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/libdbdirectclient.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/libcurop_metrics.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/libcurop_failpoint_helpers.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/index/libindex_access_method.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/storage/mmap_v1/libbtree.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/storage/mmap_v1/librecord_store_v1.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/storage/mmap_v1/libextent.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/storage/libencryption_hooks.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/libcurop.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/util/libprogress_meter.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/index/libindex_descriptor.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/catalog/libindex_catalog.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/concurrency/libwrite_conflict_exception.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/catalog/libindex_catalog_entry.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/concurrency/liblock_manager.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/auth/libauthservercommon.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/commands/libservers.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/util/libntservice.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/util/libsignal_handlers.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/scripting/libscripting_common.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/shell/libmongojs.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/s/libsharding_legacy_api.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/s/libcluster_last_error_info.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/liblasterror.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/s/libcoreshard.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/util/concurrency/libthread_pool.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/s/libgrid.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/s/query/libcluster_cursor_manager.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/libgeneric_cursor.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/s/libsharding_routing_table.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/util/concurrency/libticketholder.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/storage/libkey_string.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/s/client/libshard_interface.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/client/libremote_command_retry_scheduler.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/liblogical_time_metadata_hook.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/executor/libtask_executor_pool.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/repl/libisself.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/client/libclientdriver_network.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/executor/libthread_pool_task_executor.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/executor/libnetwork_interface_thread_pool.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/executor/libnetwork_interface_factory.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/executor/libnetwork_interface_tl.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/transport/libtransport_layer_manager.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/transport/libservice_executor.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/transport/libtransport_layer.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/base/libsystem_error.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/client/libasync_client.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/executor/libnetwork_interface.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/executor/libtask_executor_interface.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/executor/libconnection_pool_executor.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/executor/libegress_tag_closer_manager.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/executor/libconnection_pool_stats.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/liblog_process_details.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/repl/libreplica_set_messages.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/repl/librepl_coordinator_interface.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/repl/libreplication_process.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/repl/libstorage_interface.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/repl/librollback_idl.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/libserver_options_servers.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/transport/libmessage_compressor.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/third_party/libshim_zlib.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/third_party/libshim_snappy.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/libserver_options.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/util/cmdline_utils/libcmdline_utils.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/commands/libfeature_compatibility_parsers.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/commands/libcore.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/logger/libparse_log_component_settings.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/liblogical_session_cache_impl.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/libsessions_collection.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/s/write_ops/libbatch_write_types.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/ops/libwrite_ops_parsers.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/libservice_liaison.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/liblogical_session_id_helpers.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/liblogical_session_cache.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/libkill_sessions.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/client/libclientdriver_minimal.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/client/libclient_query.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/client/libauthentication.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/auth/libsecurity_file.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/auth/libsaslauth.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/client/libsasl_client.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/executor/libremote_command.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/auth/libauth_impl_internal_local.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/auth/libauth_impl_internal.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/util/net/libssl_manager.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/util/net/libssl_manager_impl.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/third_party/libshim_asio.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/third_party/asio-master/libasio.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/util/net/libssl_types.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/util/net/libssl_options.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/util/net/libsocket.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/util/libbackground_job.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/commands/libserver_status.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/stats/libcounters.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/libcommands.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/rpc/librpc.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/rpc/libprotocol.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/libwire_version.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/rpc/liblegacy_request.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/rpc/liblegacy_reply.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/s/libcommon_s.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/client/libconnection_string.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/util/libdns_query.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/rpc/libobject_check.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/rpc/libmetadata.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/rpc/libclient_metadata.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/s/libis_mongos.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/liblogical_time_validator.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/libsigned_logical_time.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/libkeys_collection_manager.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/libkeys_collection_client_sharded.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/s/catalog/libsharding_catalog_client.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/libkeys_collection_document.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/libtime_proof_service.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/rpc/libcommand_request.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/client/libread_preference.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/rpc/libcommand_reply.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/libdbmessage.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/libaudit.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/commands/libtest_commands_enabled.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/commands/libserver_status_core.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/auth/libinternal_user_auth.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/util/libicu.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/util/libicu_init.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/third_party/libshim_icu.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/third_party/icu4c-57.1/source/libicu_i18n.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/third_party/icu4c-57.1/source/libicu_common.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/third_party/icu4c-57.1/source/libicu_data.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/pipeline/liblite_parsed_document_source.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/catalog/libdocument_validation.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/auth/libuser_document_parser.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/auth/librole_graph_update.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/update/libupdate_driver.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/update/libupdate.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/update/libupdate_common.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/libupdate_index_data.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/liblogical_clock.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/libglobal_settings.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/repl/librepl_settings.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/query/libquery_planner.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/query/libindex_bounds.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/matcher/libexpressions.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/query/libquery_knobs.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/pipeline/libexpression.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/util/libsummation.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/pipeline/libexpression_context.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/query/collation/libcollator_factory_interface.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/pipeline/libaggregation_request.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/query/libexplain_options.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/query/libcommand_request_response.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/rpc/libcommand_status.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/query/libquery_request.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/repl/libread_concern_args.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/liblogical_time.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/catalog/libuuid_catalog.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/catalog/libdatabase_holder.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/catalog/libdatabase.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/catalog/libcollection.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/libnamespace_string.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/repl/liboptime.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/pipeline/libdependencies.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/pipeline/libdocument_value.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/util/libintrusive_counter.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/query/datetime/libdate_time_support.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/third_party/libshim_timelib.a -Wl,--no-whole-archive build/fedora/third_party/timelib-2018.01alpha1/libtimelib.a -Wl,--whole-archive build/fedora/mongo/db/pipeline/libfield_path.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/matcher/libpath.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/fts/libfts_query_noop.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/index/libexpression_params.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/query/collation/libcollator_interface.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/libmongohasher.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/util/libmd5.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/geo/libgeoparser.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/geo/libgeometry.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/third_party/s2/libs2.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/third_party/s2/util/math/libmath.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/third_party/s2/util/coding/libcoding.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/third_party/s2/strings/libstrings.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/third_party/s2/base/libbase_s2.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/bson/libdotted_path_support.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/auth/libuser.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/auth/libsasl_options.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/util/options_parser/liboptions_parser.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/third_party/libshim_yaml.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/auth/librole_graph.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/auth/libauthprivilege.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/libcommon.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/libwrite_concern_options.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/libindex_names.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/auth/libauthorization_manager_global.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/auth/libauth.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/rpc/libaudit_metadata.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/libservice_context.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/util/libperiodic_runner.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/util/libfail_point.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/util/libclock_sources.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/transport/libtransport_layer_common.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/storage/libwrite_unit_of_work.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/storage/libstorage_options.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/liblogical_session_id.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/libserver_parameters.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/crypto/libsha_block_openssl.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/crypto/libsha1_block.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/crypto/libsha256_block.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/util/libsecure_compare_memory.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/auth/libuser_name.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/auth/libauth_rolename.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/auth/libaddress_restriction.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/idl/libidl_parser.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/libcommand_generic_argument.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/auth/libauthentication_restriction.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/util/net/libnetwork.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/util/libwinutil.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/util/concurrency/libspin_lock.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/bson/util/libbson_extract.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/bson/mutable/libmutable_bson.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/util/libsafe_num.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/base/libsecure_allocator.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/util/libsecure_zero_memory.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/util/libprocessinfo.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/libserver_options_core.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/libbase.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/third_party/murmurhash3/libmurmurhash3.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/third_party/libshim_pcrecpp.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/third_party/libshim_intel_decimal128.a -Wl,--no-whole-archive build/fedora/third_party/IntelRDFPMathLib20U1/libintel_decimal128.a -Wl,--whole-archive build/fedora/third_party/libshim_boost.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/util/libquick_exit.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/third_party/libshim_allocator.a -Wl,--no-whole-archive build/fedora/mongo/util/libdebugger.a -Wl,--end-group -lcurl -lstemmer -lz -lsnappy -lyaml-cpp -lpcre -lpcrecpp -lboost_program_options -lboost_filesystem -lboost_system -lboost_iostreams -ltcmalloc -lm -lresolv -lcrypto -lssl -lcrypto -ldl -lrt -ldl src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ g++ @/tmp/tmpjp8jqpys.lnk src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call g++ -o build/fedora/mongo/s/commands/strategy.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/s/commands/strategy.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/s/commands/strategy.cpp:43: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/client/connection_string.h:38, from src/mongo/s/commands/strategy.h:33, from src/mongo/s/commands/strategy.cpp:33: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/s/catalog_cache.h:377:21: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/s/catalog_cache.h:379:24: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/s/catalog_cache.h:379:24: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/s/catalog_cache.h:379:24: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, int, mongo::StringMapTraits>': src/mongo/s/commands/strategy.cpp:168:20: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call src/third_party/icu4c-57.1/source/common/udata.cpp:627: warning: type of 'icudt57_dat' does not match original declaration [-Wlto-type-mismatch] 627 | extern "C" const DataHeader U_DATA_API U_ICUDATA_ENTRY_POINT; | src/third_party/icu4c-57.1/source/stubdata/stubdata.c:41: note: type 'const struct ICU_Data_Header' should match type 'const struct DataHeader' 41 | U_EXPORT const ICU_Data_Header U_ICUDATA_ENTRY_POINT = { | src/third_party/icu4c-57.1/source/stubdata/stubdata.c:41: note: 'icudt57_dat' was previously declared here src/third_party/icu4c-57.1/source/i18n/unicode/ucol.h:128: warning: type 'UColAttributeValue' violates the C++ One Definition Rule [-Wodr] 128 | } UColAttributeValue; | src/third_party/mozjs-45/extract/js/src/builtin/Intl.cpp:115: note: an enum with different value name is defined in another translation unit 115 | enum UColAttributeValue { | src/third_party/icu4c-57.1/source/i18n/unicode/ucol.h:98: note: name 'UCOL_DEFAULT_STRENGTH' differs from name 'UCOL_OFF' defined in another translation unit 98 | UCOL_DEFAULT_STRENGTH = UCOL_TERTIARY, | src/third_party/mozjs-45/extract/js/src/builtin/Intl.cpp:120: note: mismatching definition 120 | UCOL_OFF = 16, | src/third_party/icu4c-57.1/source/i18n/unicode/ucol.h:341: warning: type 'UColAttribute' violates the C++ One Definition Rule [-Wodr] 341 | } UColAttribute; | src/third_party/mozjs-45/extract/js/src/builtin/Intl.cpp:106: note: an enum with different value name is defined in another translation unit 106 | enum UColAttribute { | src/third_party/icu4c-57.1/source/i18n/unicode/ucol.h:241: note: name 'UCOL_FRENCH_COLLATION' differs from name 'UCOL_ALTERNATE_HANDLING' defined in another translation unit 241 | UCOL_FRENCH_COLLATION, | src/third_party/mozjs-45/extract/js/src/builtin/Intl.cpp:107: note: mismatching definition 107 | UCOL_ALTERNATE_HANDLING, | g++ -o build/fedora/mongo/s/commands/cluster_data_size_cmd.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/s/commands/cluster_data_size_cmd.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/s/commands/cluster_data_size_cmd.cpp:33: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/bson/mutable/element.h:34, from src/mongo/db/auth/privilege.h:32, from src/mongo/db/commands.h:39: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/s/catalog_cache.h:377:21: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/s/catalog_cache.h:379:24: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/s/catalog_cache.h:379:24: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/s/catalog_cache.h:379:24: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call g++ -o build/fedora/mongo/s/commands/cluster_find_and_modify_cmd.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/s/commands/cluster_find_and_modify_cmd.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/s/commands/cluster_find_and_modify_cmd.cpp:34: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/bson_extract.h:35, from src/mongo/s/commands/cluster_find_and_modify_cmd.cpp:32: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/s/catalog_cache.h:377:21: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/s/catalog_cache.h:379:24: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/s/catalog_cache.h:379:24: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/s/catalog_cache.h:379:24: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call g++ -o build/fedora/mongo/s/commands/cluster_merge_chunks_cmd.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/s/commands/cluster_merge_chunks_cmd.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/s/commands/cluster_merge_chunks_cmd.cpp:35: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/client/connection_string.h:38, from src/mongo/client/dbclientinterface.h:34, from src/mongo/client/connpool.h:35, from src/mongo/s/commands/cluster_merge_chunks_cmd.cpp:31: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/s/catalog_cache.h:377:21: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/s/catalog_cache.h:379:24: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/s/catalog_cache.h:379:24: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/s/catalog_cache.h:379:24: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call g++ -o build/fedora/mongo/s/commands/cluster_reset_error_cmd.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/s/commands/cluster_reset_error_cmd.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/s/commands/cluster_reset_error_cmd.cpp:35: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/bson/timestamp.h:31, from src/mongo/db/repl/optime.h:33, from src/mongo/db/namespace_string.h:38, from src/mongo/db/client.h:43, from src/mongo/s/commands/cluster_reset_error_cmd.cpp:34: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call g++ -o build/fedora/mongo/s/commands/cluster_whats_my_uri_cmd.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/s/commands/cluster_whats_my_uri_cmd.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/s/commands/cluster_whats_my_uri_cmd.cpp:32: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/bson/timestamp.h:31, from src/mongo/db/repl/optime.h:33, from src/mongo/db/namespace_string.h:38, from src/mongo/db/client.h:43, from src/mongo/s/commands/cluster_whats_my_uri_cmd.cpp:31: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call g++ -o build/fedora/mongo/s/commands/cluster_user_management_commands.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/s/commands/cluster_user_management_commands.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/s/commands/cluster_user_management_commands.cpp:40: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/bson/mutable/element.h:34, from src/mongo/bson/mutable/const_element.h:30, from src/mongo/bson/mutable/document.h:34, from src/mongo/s/commands/cluster_user_management_commands.cpp:34: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/s/catalog_cache.h:377:21: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/s/catalog_cache.h:379:24: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/s/catalog_cache.h:379:24: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/s/catalog_cache.h:379:24: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call g++ -o build/fedora/mongo/s/commands/cluster_build_info.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/s/commands/cluster_build_info.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/s/commands/cluster_build_info.cpp:33: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/bson/mutable/element.h:34, from src/mongo/db/auth/privilege.h:32, from src/mongo/db/commands.h:39: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call g++ -o build/fedora/mongo/s/commands/cluster_get_shard_version_cmd.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/s/commands/cluster_get_shard_version_cmd.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/s/commands/cluster_get_shard_version_cmd.cpp:37: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/db/server_options.h:30, from src/mongo/base/secure_allocator.h:40, from src/mongo/db/auth/authorization_manager.h:35, from src/mongo/s/commands/cluster_get_shard_version_cmd.cpp:35: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/s/catalog_cache.h:377:21: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/s/catalog_cache.h:379:24: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/s/catalog_cache.h:379:24: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/s/catalog_cache.h:379:24: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call g++ -o build/fedora/mongo/s/commands/cluster_enable_sharding_cmd.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/s/commands/cluster_enable_sharding_cmd.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/s/commands/cluster_enable_sharding_cmd.cpp:37: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/db/server_options.h:30, from src/mongo/base/secure_allocator.h:40, from src/mongo/db/auth/authorization_manager.h:35, from src/mongo/s/commands/cluster_enable_sharding_cmd.cpp:35: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/s/catalog_cache.h:377:21: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/s/catalog_cache.h:379:24: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/s/catalog_cache.h:379:24: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/s/catalog_cache.h:379:24: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call g++ -o build/fedora/mongo/s/commands/cluster_distinct_cmd.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/s/commands/cluster_distinct_cmd.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/s/commands/cluster_distinct_cmd.cpp:34: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/bson/bsonobj.h:44, from src/mongo/bson/bsonobj_comparator_interface.h:32, from src/mongo/bson/bsonobj_comparator.h:32, from src/mongo/s/commands/cluster_distinct_cmd.cpp:33: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/s/catalog_cache.h:377:21: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/s/catalog_cache.h:379:24: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/s/catalog_cache.h:379:24: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/s/catalog_cache.h:379:24: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call /usr/bin/python3 buildscripts/idl/idlc.py --include src --base_dir build/fedora --target_arch x86_64 --header build/fedora/mongo/s/commands/cluster_multicast_gen.h --output build/fedora/mongo/s/commands/cluster_multicast_gen.cpp src/mongo/s/commands/cluster_multicast.idl g++ -o build/fedora/mongo/s/commands/cluster_multicast.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/s/commands/cluster_multicast.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/s/commands/cluster_multicast.cpp:34: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/bson/mutable/element.h:34, from src/mongo/db/auth/privilege.h:32, from src/mongo/db/commands.h:39: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call g++ -o build/fedora/mongo/s/commands/cluster_geo_near_cmd.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/s/commands/cluster_geo_near_cmd.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/s/commands/cluster_geo_near_cmd.cpp:33: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/bson/mutable/element.h:34, from src/mongo/db/auth/privilege.h:32, from src/mongo/db/commands.h:39: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/s/catalog_cache.h:377:21: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/s/catalog_cache.h:379:24: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/s/catalog_cache.h:379:24: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/s/catalog_cache.h:379:24: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call g++ -o build/fedora/mongo/s/commands/cluster_multicast_gen.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc build/fedora/mongo/s/commands/cluster_multicast_gen.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from build/fedora/mongo/s/commands/cluster_multicast_gen.cpp:16: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from build/fedora/mongo/s/commands/cluster_multicast_gen.h:16, from build/fedora/mongo/s/commands/cluster_multicast_gen.cpp:9: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call g++ -o build/fedora/mongo/s/commands/pipeline_s.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/s/commands/pipeline_s.cpp In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/bson/bsonobj.h:44, from src/mongo/db/pipeline/mongo_process_common.h:33, from src/mongo/s/commands/pipeline_s.h:31, from src/mongo/s/commands/pipeline_s.cpp:31: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/mongo_process_interface.h:42, from src/mongo/db/pipeline/mongo_process_common.h:34: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:36, from src/mongo/db/pipeline/pipeline.h:36, from src/mongo/s/commands/pipeline_s.h:32: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/s/catalog_cache.h:377:21: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/s/catalog_cache.h:379:24: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/s/catalog_cache.h:379:24: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/s/catalog_cache.h:379:24: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call g++ -o build/fedora/mongo/s/commands/cluster_move_chunk_cmd.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/s/commands/cluster_move_chunk_cmd.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/s/commands/cluster_move_chunk_cmd.cpp:39: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/bson/mutable/element.h:34, from src/mongo/db/auth/privilege.h:32, from src/mongo/db/audit.h:37, from src/mongo/s/commands/cluster_move_chunk_cmd.cpp:33: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/s/catalog_cache.h:377:21: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/s/catalog_cache.h:379:24: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/s/catalog_cache.h:379:24: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/s/catalog_cache.h:379:24: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call In file included from /usr/include/string.h:535, from /usr/include/c++/12/cstring:42, from src/mongo/base/string_data.h:33, from build/fedora/mongo/base/error_codes.h:35, from src/mongo/db/audit.h:36: In function 'memcpy', inlined from 'mongo::StringData::copyTo(char*, bool) const' at src/mongo/base/string_data.h:266:15, inlined from 'mongo::StringBuilderImpl::append(mongo::StringData)' at src/mongo/bson/util/builder.h:484:19, inlined from 'mongo::StringBuilderImpl::appendIntegral(int, int)mongo::StringBuilderImpl&' at src/mongo/bson/util/builder.h:518:19, inlined from 'mongo::StringBuilderImpl::appendIntegral(int, int)mongo::StringBuilderImpl&' at src/mongo/bson/util/builder.h:512:24, inlined from 'mongo::StringBuilderImpl::operator<<(int)' at src/mongo/bson/util/builder.h:402:30, inlined from 'mongo::BSONObj::operator[](int) const' at src/mongo/bson/bsonobj.h:312:15: /usr/include/bits/string_fortified.h:29:33: warning: 'memcpy' offset [0, 511] is out of the bounds [0, 0] [-Warray-bounds] 29 | return __builtin___memcpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 30 | __glibc_objsize0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -o build/fedora/mongo/s/commands/cluster_coll_stats_cmd.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/s/commands/cluster_coll_stats_cmd.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/s/commands/cluster_coll_stats_cmd.cpp:33: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/bson/mutable/element.h:34, from src/mongo/db/auth/privilege.h:32, from src/mongo/db/commands.h:39: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/s/catalog_cache.h:377:21: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/s/catalog_cache.h:379:24: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/s/catalog_cache.h:379:24: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/s/catalog_cache.h:379:24: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call g++ -o build/fedora/mongo/s/commands/cluster_list_shards_cmd.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/s/commands/cluster_list_shards_cmd.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/s/commands/cluster_list_shards_cmd.cpp:31: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/bson/mutable/element.h:34, from src/mongo/db/auth/privilege.h:32, from src/mongo/db/commands.h:39: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call g++ -o build/fedora/mongo/s/commands/cluster_aggregate.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/s/commands/cluster_aggregate.cpp In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/bson/bsonobj.h:44, from src/mongo/s/commands/cluster_aggregate.h:35, from src/mongo/s/commands/cluster_aggregate.cpp:33: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/db/pipeline/document_source.h:44, from src/mongo/s/commands/cluster_aggregate.h:38: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/s/catalog_cache.h:377:21: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/s/catalog_cache.h:379:24: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/s/catalog_cache.h:379:24: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/s/catalog_cache.h:379:24: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call g++ -o build/fedora/mongo/s/commands/cluster_ftdc_commands.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/s/commands/cluster_ftdc_commands.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/s/commands/cluster_ftdc_commands.cpp:35: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/db/server_options.h:30, from src/mongo/base/secure_allocator.h:40, from src/mongo/db/auth/authorization_manager.h:35, from src/mongo/db/auth/authorization_session.h:38, from src/mongo/s/commands/cluster_ftdc_commands.cpp:33: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call g++ -o build/fedora/mongo/s/commands/cluster_eval_cmd.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/s/commands/cluster_eval_cmd.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/s/commands/cluster_eval_cmd.cpp:34: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/bson/mutable/element.h:34, from src/mongo/db/auth/role_graph.h:36, from src/mongo/s/commands/cluster_eval_cmd.cpp:33: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/s/catalog_cache.h:377:21: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/s/catalog_cache.h:379:24: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/s/catalog_cache.h:379:24: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/s/catalog_cache.h:379:24: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call g++ -o build/fedora/mongo/s/commands/cluster_move_primary_cmd.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/s/commands/cluster_move_primary_cmd.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/s/commands/cluster_move_primary_cmd.cpp:38: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/bson_extract.h:35, from src/mongo/s/commands/cluster_move_primary_cmd.cpp:33: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/s/catalog_cache.h:377:21: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/s/catalog_cache.h:379:24: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/s/catalog_cache.h:379:24: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/s/catalog_cache.h:379:24: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call In file included from /usr/include/c++/12/cstring:42, from src/mongo/base/string_data.h:33, from build/fedora/mongo/base/error_codes.h:35, from src/mongo/base/status.h:33, from src/mongo/bson/util/bson_extract.h:33: In function '*memchr', inlined from 'mongo::StringData::find(char, unsigned long) const' at src/mongo/base/string_data.h:275:27, inlined from 'mongo::NamespaceString::NamespaceString(mongo::StringData, mongo::StringData)' at src/mongo/db/namespace_string.h:113:9, inlined from 'mongo::ResourcePattern::forDatabaseName(mongo::StringData)' at src/mongo/db/auth/resource_pattern.h:79:51, inlined from 'mongo::(anonymous namespace)::MoveDatabasePrimaryCommand::checkAuthForCommand(mongo::Client*, std::__cxx11::basic_string, std::allocator > const&, mongo::BSONObj const&) const' at src/mongo/s/commands/cluster_move_primary_cmd.cpp:80:49: /usr/include/string.h:102:27: warning: 'memchr' specified bound 18446744073709551615 exceeds maximum object size 9223372036854775807 [-Wstringop-overread] 102 | return __builtin_memchr (__s, __c, __n); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ In file included from /usr/include/c++/12/string:53, from src/mongo/bson/util/bson_extract.h:30: In member function 'std::__cxx11::basic_string, std::allocator >::_M_data() const', inlined from 'std::__cxx11::basic_string, std::allocator >::data() const' at /usr/include/c++/12/bits/basic_string.h:2568:23, inlined from 'mongo::StringData::StringData(std::__cxx11::basic_string, std::allocator > const&)' at src/mongo/base/string_data.h:85:89, inlined from 'mongo::(anonymous namespace)::MoveDatabasePrimaryCommand::checkAuthForCommand(mongo::Client*, std::__cxx11::basic_string, std::allocator > const&, mongo::BSONObj const&) const' at src/mongo/s/commands/cluster_move_primary_cmd.cpp:80:49: /usr/include/c++/12/bits/basic_string.h:234:28: note: source object allocated here 234 | { return _M_dataplus._M_p; } | ~~~~~~~~~~~~^~~~ g++ -o build/fedora/mongo/s/commands/cluster_write_cmd.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/s/commands/cluster_write_cmd.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/s/commands/cluster_write_cmd.cpp:37: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/net/hostandport.h:35, from src/mongo/client/remote_command_targeter.h:32, from src/mongo/s/commands/cluster_write_cmd.cpp:35: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/s/catalog_cache.h:377:21: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/s/catalog_cache.h:379:24: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/s/catalog_cache.h:379:24: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/s/catalog_cache.h:379:24: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call g++ -o build/fedora/mongo/s/commands/cluster_shutdown_cmd.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/s/commands/cluster_shutdown_cmd.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/s/commands/cluster_shutdown_cmd.cpp:31: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/bson/mutable/element.h:34, from src/mongo/db/auth/privilege.h:32, from src/mongo/db/commands.h:39: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call g++ -o build/fedora/mongo/s/commands/cluster_getmore_cmd.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/s/commands/cluster_getmore_cmd.cpp src/third_party/icu4c-57.1/source/i18n/decNumber.c: In function 'uprv_decNumberLog10': src/third_party/icu4c-57.1/source/i18n/decNumber.c:1524:14: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 1524 | w->lsu[1]=1; w->lsu[0]=0; /* .. */ | ^ src/third_party/icu4c-57.1/source/i18n/decNumber.h:87: note: at offset 1 into destination object 'lsu' of size 1 87 | decNumberUnit lsu[DECNUMUNITS]; | src/third_party/icu4c-57.1/source/i18n/decNumber.c:1524:14: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 1524 | w->lsu[1]=1; w->lsu[0]=0; /* .. */ | ^ src/third_party/icu4c-57.1/source/i18n/decNumber.h:87: note: at offset 1 into destination object 'lsu' of size 1 87 | decNumberUnit lsu[DECNUMUNITS]; | src/third_party/icu4c-57.1/source/i18n/decNumber.c: In function 'uprv_decNumberSquareRoot': src/third_party/icu4c-57.1/source/i18n/decNumber.c:2970:31: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 2970 | t->lsu[0]=9; t->lsu[1]=5; t->lsu[2]=2; | ^ src/third_party/icu4c-57.1/source/i18n/decNumber.h:87: note: at offset 1 into destination object 'lsu' of size 1 87 | decNumberUnit lsu[DECNUMUNITS]; | src/third_party/icu4c-57.1/source/i18n/decNumber.c:2970:44: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 2970 | t->lsu[0]=9; t->lsu[1]=5; t->lsu[2]=2; | ^ src/third_party/icu4c-57.1/source/i18n/decNumber.h:87: note: at offset 2 into destination object 'lsu' of size 1 87 | decNumberUnit lsu[DECNUMUNITS]; | In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/s/commands/cluster_getmore_cmd.cpp:32: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/db/server_options.h:30, from src/mongo/base/secure_allocator.h:40, from src/mongo/db/auth/authorization_manager.h:35, from src/mongo/db/auth/authorization_session.h:38, from src/mongo/s/commands/cluster_getmore_cmd.cpp:31: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call g++ -o build/fedora/mongo/s/commands/cluster_pipeline_cmd.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/s/commands/cluster_pipeline_cmd.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/s/commands/cluster_pipeline_cmd.cpp:35: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/db/server_options.h:30, from src/mongo/base/secure_allocator.h:40, from src/mongo/db/auth/authorization_manager.h:35, from src/mongo/db/auth/authorization_session.h:38, from src/mongo/s/commands/cluster_pipeline_cmd.cpp:34: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call g++ -o build/fedora/mongo/s/commands/cluster_db_stats_cmd.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/s/commands/cluster_db_stats_cmd.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/s/commands/cluster_db_stats_cmd.cpp:33: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/bson/mutable/element.h:34, from src/mongo/db/auth/privilege.h:32, from src/mongo/db/commands.h:39: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/s/catalog_cache.h:377:21: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/s/catalog_cache.h:379:24: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/s/catalog_cache.h:379:24: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/s/catalog_cache.h:379:24: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call g++ -o build/fedora/mongo/s/commands/cluster_current_op.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/s/commands/cluster_current_op.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/db/commands/current_op_common.h:33, from src/mongo/s/commands/cluster_current_op.cpp:31: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/bson/mutable/element.h:34, from src/mongo/db/auth/privilege.h:32, from src/mongo/db/commands.h:39: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call g++ -o build/fedora/mongo/s/commands/cluster_is_db_grid_cmd.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/s/commands/cluster_is_db_grid_cmd.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/s/commands/cluster_is_db_grid_cmd.cpp:31: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/bson/mutable/element.h:34, from src/mongo/db/auth/privilege.h:32, from src/mongo/db/commands.h:39: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call g++ -o build/fedora/mongo/s/commands/cluster_split_cmd.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/s/commands/cluster_split_cmd.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/s/commands/cluster_split_cmd.cpp:40: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/db/server_options.h:30, from src/mongo/base/secure_allocator.h:40, from src/mongo/db/auth/authorization_manager.h:35, from src/mongo/s/commands/cluster_split_cmd.cpp:38: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/s/catalog_cache.h:377:21: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/s/catalog_cache.h:379:24: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/s/catalog_cache.h:379:24: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/s/catalog_cache.h:379:24: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call In file included from /usr/include/string.h:535, from /usr/include/c++/12/cstring:42, from src/mongo/base/string_data.h:33, from build/fedora/mongo/base/error_codes.h:35, from src/mongo/base/status.h:33, from src/mongo/db/auth/action_set.h:34, from src/mongo/s/commands/cluster_split_cmd.cpp:36: In function 'memcpy', inlined from 'mongo::StringData::copyTo(char*, bool) const' at src/mongo/base/string_data.h:266:15, inlined from 'mongo::StringBuilderImpl::append(mongo::StringData)' at src/mongo/bson/util/builder.h:484:19, inlined from 'mongo::StringBuilderImpl::appendIntegral(int, int)mongo::StringBuilderImpl&' at src/mongo/bson/util/builder.h:518:19, inlined from 'mongo::StringBuilderImpl::appendIntegral(int, int)mongo::StringBuilderImpl&' at src/mongo/bson/util/builder.h:512:24, inlined from 'mongo::StringBuilderImpl::operator<<(int)' at src/mongo/bson/util/builder.h:402:30, inlined from 'mongo::BSONObj::operator[](int) const' at src/mongo/bson/bsonobj.h:312:15: /usr/include/bits/string_fortified.h:29:33: warning: 'memcpy' offset [0, 511] is out of the bounds [0, 0] [-Warray-bounds] 29 | return __builtin___memcpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 30 | __glibc_objsize0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -o build/fedora/mongo/s/commands/cluster_fsync_cmd.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/s/commands/cluster_fsync_cmd.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/s/commands/cluster_fsync_cmd.cpp:33: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/bson/bsonobj.h:44, from src/mongo/bson/bsonobj_comparator_interface.h:32, from src/mongo/bson/simple_bsonobj_comparator.h:34, from src/mongo/client/read_preference.h:31, from src/mongo/s/commands/cluster_fsync_cmd.cpp:31: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call g++ -o build/fedora/mongo/s/commands/cluster_filemd5_cmd.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/s/commands/cluster_filemd5_cmd.cpp src/mongo/s/client/parallel.cpp: In member function '_oldInit': src/mongo/s/client/parallel.cpp:917:52: warning: argument 1 value '18446744073709551615' exceeds maximum object size 9223372036854775807 [-Walloc-size-larger-than=] 917 | _cursors = new DBClientCursorHolder[_numServers]; | ^ /usr/include/c++/12/new:128:26: note: in a call to allocation function 'operator new []' declared here 128 | _GLIBCXX_NODISCARD void* operator new[](std::size_t) _GLIBCXX_THROW (std::bad_alloc) | ^ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/s/commands/cluster_filemd5_cmd.cpp:33: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/bson/mutable/element.h:34, from src/mongo/db/auth/privilege.h:32, from src/mongo/db/commands.h:39: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/s/catalog_cache.h:377:21: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/s/catalog_cache.h:379:24: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/s/catalog_cache.h:379:24: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/s/catalog_cache.h:379:24: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call g++ -o build/fedora/mongo/s/commands/cluster_count_cmd.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/s/commands/cluster_count_cmd.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/s/commands/cluster_count_cmd.cpp:34: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/bson_extract.h:35, from src/mongo/s/commands/cluster_count_cmd.cpp:33: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/s/catalog_cache.h:377:21: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/s/catalog_cache.h:379:24: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/s/catalog_cache.h:379:24: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/s/catalog_cache.h:379:24: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call g++ -o build/fedora/mongo/s/commands/cluster_get_prev_error_cmd.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/s/commands/cluster_get_prev_error_cmd.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/s/commands/cluster_get_prev_error_cmd.cpp:31: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/bson/mutable/element.h:34, from src/mongo/db/auth/privilege.h:32, from src/mongo/db/commands.h:39: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call In function 'new_', inlined from 'moveConstruct' at src/third_party/mozjs-45/include/mozilla/Vector.h:118:11, inlined from '__ct ' at src/third_party/mozjs-45/include/mozilla/Vector.h:743:24, inlined from 'operator=' at src/third_party/mozjs-45/include/mozilla/Vector.h:770:3, inlined from 'FilterASCII' at src/third_party/mozjs-45/extract/js/src/irregexp/RegExpEngine.cpp:1007:42: 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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call src/third_party/mozjs-45/include/mozilla/Vector.h:74:5: warning: '__builtin_memcpy' reading 16 or more bytes from a region of size 8 [-Wstringop-overread] 74 | new(aDst) T(Forward(aU)); | ^ src/third_party/mozjs-45/extract/js/src/irregexp/RegExpEngine.cpp: In member function 'FilterASCII': src/third_party/mozjs-45/extract/js/src/irregexp/RegExpEngine.cpp:994:30: note: at offset 32 into source object 'new_alternatives' of size 40 994 | GuardedAlternativeVector new_alternatives(*alloc()); | ^ In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call g++ -o build/fedora/mongo/s/commands/cluster_explain_cmd.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/s/commands/cluster_explain_cmd.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/s/commands/cluster_explain_cmd.cpp:33: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/client/connection_string.h:38, from src/mongo/client/dbclientinterface.h:34, from src/mongo/s/commands/cluster_explain_cmd.cpp:31: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In function '__wt_atomic_subi32', inlined from '__evict_walk' at src/third_party/wiredtiger/src/evict/evict_lru.c:1518:9, inlined from '__evict_lru_walk' at src/third_party/wiredtiger/src/evict/evict_lru.c:1244:13, inlined from '__evict_pass' at src/third_party/wiredtiger/src/evict/evict_lru.c:714:4, inlined from '__evict_server' at src/third_party/wiredtiger/src/evict/evict_lru.c:384:2, inlined from '__wt_evict_thread_run' at src/third_party/wiredtiger/src/evict/evict_lru.c:290:9: src/third_party/wiredtiger/src/include/gcc.h:160:1: warning: '__sync_sub_and_fetch_4' writing 4 bytes into a region of size 0 overflows the destination [-Wstringop-overflow=] 160 | WT_ATOMIC_FUNC(i32, int32_t, int32_t *vp, int32_t v) | ^ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call g++ -o build/fedora/mongo/s/commands/cluster_create_indexes_cmd.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/s/commands/cluster_create_indexes_cmd.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/s/commands/cluster_create_indexes_cmd.cpp:33: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/bson/mutable/element.h:34, from src/mongo/db/auth/privilege.h:32, from src/mongo/db/commands.h:39: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/s/catalog_cache.h:377:21: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/s/catalog_cache.h:379:24: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/s/catalog_cache.h:379:24: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/s/catalog_cache.h:379:24: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call g++ -o build/fedora/mongo/s/commands/cluster_flush_router_config_cmd.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/s/commands/cluster_flush_router_config_cmd.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/s/commands/cluster_flush_router_config_cmd.cpp:31: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/bson/mutable/element.h:34, from src/mongo/db/auth/privilege.h:32, from src/mongo/db/commands.h:39: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/s/catalog_cache.h:377:21: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/s/catalog_cache.h:379:24: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/s/catalog_cache.h:379:24: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/s/catalog_cache.h:379:24: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call g++ -o build/fedora/mongo/s/commands/cluster_plan_cache_cmd.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/s/commands/cluster_plan_cache_cmd.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/s/commands/cluster_plan_cache_cmd.cpp:33: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/db/server_options.h:30, from src/mongo/base/secure_allocator.h:40, from src/mongo/db/auth/authorization_manager.h:35, from src/mongo/db/auth/authorization_session.h:38, from src/mongo/s/commands/cluster_plan_cache_cmd.cpp:31: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call g++ -o build/fedora/mongo/s/commands/cluster_drop_cmd.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/s/commands/cluster_drop_cmd.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/s/commands/cluster_drop_cmd.cpp:34: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/bson/mutable/element.h:34, from src/mongo/db/auth/privilege.h:32, from src/mongo/db/commands.h:39: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/s/catalog_cache.h:377:21: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/s/catalog_cache.h:379:24: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/s/catalog_cache.h:379:24: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/s/catalog_cache.h:379:24: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call g++ -o build/fedora/mongo/s/commands/cluster_find_cmd.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/s/commands/cluster_find_cmd.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/s/commands/cluster_find_cmd.cpp:35: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/bson/bsonobj.h:44, from src/mongo/bson/bsonobj_comparator_interface.h:32, from src/mongo/bson/simple_bsonobj_comparator.h:34, from src/mongo/client/read_preference.h:31, from src/mongo/s/commands/cluster_find_cmd.cpp:33: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/s/catalog_cache.h:377:21: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/s/catalog_cache.h:379:24: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/s/catalog_cache.h:379:24: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/s/catalog_cache.h:379:24: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call g++ -o build/fedora/mongo/s/commands/cluster_killcursors_cmd.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/s/commands/cluster_killcursors_cmd.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/db/commands/killcursors_common.h:29, from src/mongo/s/commands/cluster_killcursors_cmd.cpp:32: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/db/server_options.h:30, from src/mongo/base/secure_allocator.h:40, from src/mongo/db/auth/authorization_manager.h:35, from src/mongo/db/auth/authorization_session.h:38, from src/mongo/s/commands/cluster_killcursors_cmd.cpp:31: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call g++ -o build/fedora/mongo/s/commands/cluster_profile_cmd.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/s/commands/cluster_profile_cmd.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/s/commands/cluster_profile_cmd.cpp:31: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/bson/mutable/element.h:34, from src/mongo/db/auth/privilege.h:32, from src/mongo/db/commands.h:39: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call g++ -o build/fedora/mongo/s/commands/cluster_kill_op.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/s/commands/cluster_kill_op.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/s/commands/cluster_kill_op.cpp:43: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/s/commands/cluster_kill_op.cpp:35: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call g++ -o build/fedora/mongo/s/commands/cluster_add_shard_to_zone_cmd.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/s/commands/cluster_add_shard_to_zone_cmd.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/s/commands/cluster_add_shard_to_zone_cmd.cpp:34: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/db/server_options.h:30, from src/mongo/base/secure_allocator.h:40, from src/mongo/db/auth/authorization_manager.h:35, from src/mongo/db/auth/authorization_session.h:38, from src/mongo/s/commands/cluster_add_shard_to_zone_cmd.cpp:33: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call g++ -o build/fedora/mongo/s/commands/cluster_repl_set_get_status_cmd.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/s/commands/cluster_repl_set_get_status_cmd.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/s/commands/cluster_repl_set_get_status_cmd.cpp:32: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/bson/timestamp.h:31, from src/mongo/db/repl/optime.h:33, from src/mongo/db/namespace_string.h:38, from src/mongo/db/client.h:43, from src/mongo/s/commands/cluster_repl_set_get_status_cmd.cpp:31: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/third_party/mozjs-45/extract/js/src/jit/IonBuilder.cpp: In member function 'computeHeapType': src/third_party/mozjs-45/extract/js/src/jit/IonBuilder.cpp:9290: warning: function may return address of local variable [-Wreturn-local-addr] 9290 | } | src/third_party/mozjs-45/extract/js/src/jit/IonBuilder.cpp:9259: note: declared here 9259 | TemporaryTypeSet empty; | src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call g++ -o build/fedora/mongo/s/commands/cluster_shard_collection_cmd.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/s/commands/cluster_shard_collection_cmd.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/s/commands/cluster_shard_collection_cmd.cpp:47: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/bson/bsonelement_comparator_interface.h:32, from src/mongo/bson/simple_bsonelement_comparator.h:31, from src/mongo/s/commands/cluster_shard_collection_cmd.cpp:37: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/s/catalog_cache.h:377:21: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/s/catalog_cache.h:379:24: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/s/catalog_cache.h:379:24: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/s/catalog_cache.h:379:24: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call g++ -o build/fedora/mongo/s/commands/cluster_netstat_cmd.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/s/commands/cluster_netstat_cmd.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/s/commands/cluster_netstat_cmd.cpp:31: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/bson/mutable/element.h:34, from src/mongo/db/auth/privilege.h:32, from src/mongo/db/commands.h:39: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call g++ -o build/fedora/mongo/s/commands/commands_public.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/s/commands/commands_public.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/s/commands/commands_public.cpp:39: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/bson/mutable/element.h:34, from src/mongo/bson/mutable/const_element.h:30, from src/mongo/bson/mutable/algorithm.h:35, from src/mongo/s/commands/commands_public.cpp:33: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/s/catalog_cache.h:377:21: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/s/catalog_cache.h:379:24: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/s/catalog_cache.h:379:24: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/s/catalog_cache.h:379:24: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/s/commands/commands_public.cpp: In member function 'mongo::BSONObj mongo::{anonymous}::CmdListCollections::rewriteCommandForListingOwnCollections(mongo::OperationContext*, const std::string&, const mongo::BSONObj&)': src/mongo/s/commands/commands_public.cpp:558:67: warning: loop variable 'resourcePrivilege' of type 'const std::pair&' binds to a temporary constructed from type 'const std::__detail::_Node_const_iterator, false, true>::value_type' {aka 'const std::pair'} [-Wrange-loop-construct] 558 | for (const std::pair& resourcePrivilege : | ^~~~~~~~~~~~~~~~~ src/mongo/s/commands/commands_public.cpp:558:67: note: use non-reference type 'const std::pair' to make the copy explicit or 'const std::__detail::_Node_const_iterator, false, true>::value_type&' {aka 'const std::pair&'} to prevent copying In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call g++ -o build/fedora/mongo/s/commands/cluster_control_balancer_cmd.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/s/commands/cluster_control_balancer_cmd.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/s/commands/cluster_control_balancer_cmd.cpp:35: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/db/server_options.h:30, from src/mongo/base/secure_allocator.h:40, from src/mongo/db/auth/authorization_manager.h:35, from src/mongo/db/auth/authorization_session.h:38, from src/mongo/s/commands/cluster_control_balancer_cmd.cpp:33: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call g++ -o build/fedora/mongo/s/commands/cluster_create_cmd.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/s/commands/cluster_create_cmd.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/s/commands/cluster_create_cmd.cpp:34: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/db/server_options.h:30, from src/mongo/base/secure_allocator.h:40, from src/mongo/db/auth/authorization_manager.h:35, from src/mongo/db/auth/authorization_session.h:38, from src/mongo/s/commands/cluster_create_cmd.cpp:33: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/s/catalog_cache.h:377:21: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/s/catalog_cache.h:379:24: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/s/catalog_cache.h:379:24: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/s/catalog_cache.h:379:24: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call g++ -o build/fedora/mongo/s/commands/cluster_set_feature_compatibility_version_cmd.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/s/commands/cluster_set_feature_compatibility_version_cmd.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/s/commands/cluster_set_feature_compatibility_version_cmd.cpp:32: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/db/server_options.h:30, from src/mongo/base/secure_allocator.h:40, from src/mongo/db/auth/authorization_manager.h:35, from src/mongo/db/auth/authorization_session.h:38, from src/mongo/s/commands/cluster_set_feature_compatibility_version_cmd.cpp:31: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call g++ -o build/fedora/mongo/s/commands/cluster_validate_cmd.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/s/commands/cluster_validate_cmd.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/s/commands/cluster_validate_cmd.cpp:33: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/bson/mutable/element.h:34, from src/mongo/db/auth/privilege.h:32, from src/mongo/db/commands.h:39: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/s/catalog_cache.h:377:21: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/s/catalog_cache.h:379:24: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/s/catalog_cache.h:379:24: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/s/catalog_cache.h:379:24: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call g++ -o build/fedora/mongo/s/commands/cluster_compact_cmd.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/s/commands/cluster_compact_cmd.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/s/commands/cluster_compact_cmd.cpp:31: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/bson/mutable/element.h:34, from src/mongo/db/auth/privilege.h:32, from src/mongo/db/commands.h:39: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call g++ -o build/fedora/mongo/s/commands/cluster_index_filter_cmd.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/s/commands/cluster_index_filter_cmd.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/s/commands/cluster_index_filter_cmd.cpp:33: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/db/server_options.h:30, from src/mongo/base/secure_allocator.h:40, from src/mongo/db/auth/authorization_manager.h:35, from src/mongo/db/auth/authorization_session.h:38, from src/mongo/s/commands/cluster_index_filter_cmd.cpp:31: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call g++ -o build/fedora/mongo/s/commands/cluster_remove_shard_from_zone_cmd.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/s/commands/cluster_remove_shard_from_zone_cmd.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/s/commands/cluster_remove_shard_from_zone_cmd.cpp:36: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/db/server_options.h:30, from src/mongo/base/secure_allocator.h:40, from src/mongo/db/auth/authorization_manager.h:35, from src/mongo/db/auth/authorization_session.h:38, from src/mongo/s/commands/cluster_remove_shard_from_zone_cmd.cpp:35: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call g++ -o build/fedora/mongo/s/commands/cluster_is_master_cmd.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/s/commands/cluster_is_master_cmd.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/db/auth/sasl_mechanism_registry.h:37, from src/mongo/s/commands/cluster_is_master_cmd.cpp:31: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/db/server_options.h:30, from src/mongo/base/secure_allocator.h:40, from src/mongo/db/auth/authorization_manager.h:35, from src/mongo/db/auth/sasl_mechanism_registry.h:36: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call g++ -o build/fedora/mongo/s/commands/kill_sessions_remote.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/s/commands/kill_sessions_remote.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/matcher/expression_parser.h:35, from src/mongo/db/pipeline/pipeline.h:36, from src/mongo/s/query/cluster_client_cursor_params.h:41, from src/mongo/s/query/cluster_client_cursor.h:37, from src/mongo/s/query/cluster_cursor_manager.h:41, from src/mongo/s/commands/kill_sessions_remote.cpp:45: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from build/fedora/mongo/db/kill_sessions_gen.h:16, from src/mongo/db/kill_sessions.h:35, from src/mongo/s/commands/kill_sessions_remote.h:31, from src/mongo/s/commands/kill_sessions_remote.cpp:33: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call g++ -o build/fedora/mongo/s/commands/cluster_map_reduce_cmd.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/s/commands/cluster_map_reduce_cmd.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/s/commands/cluster_map_reduce_cmd.cpp:42: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/bson/bsonobj.h:44, from src/mongo/bson/bsonobj_comparator_interface.h:32, from src/mongo/bson/simple_bsonobj_comparator.h:34, from src/mongo/s/commands/cluster_map_reduce_cmd.cpp:38: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/s/catalog_cache.h:377:21: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/s/catalog_cache.h:379:24: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/s/catalog_cache.h:379:24: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/s/catalog_cache.h:379:24: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call g++ -o build/fedora/mongo/s/commands/cluster_restart_catalog_command.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/s/commands/cluster_restart_catalog_command.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/s/commands/cluster_restart_catalog_command.cpp:31: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/bson/mutable/element.h:34, from src/mongo/db/auth/privilege.h:32, from src/mongo/db/commands.h:39: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/s/catalog_cache.h:377:21: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/s/catalog_cache.h:379:24: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/s/catalog_cache.h:379:24: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/s/catalog_cache.h:379:24: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call g++ -o build/fedora/mongo/s/commands/cluster_remove_shard_cmd.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/s/commands/cluster_remove_shard_cmd.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/s/commands/cluster_remove_shard_cmd.cpp:35: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/bson/mutable/element.h:34, from src/mongo/db/auth/privilege.h:32, from src/mongo/db/commands.h:39: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call g++ -o build/fedora/mongo/s/commands/cluster_collection_mod_cmd.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/s/commands/cluster_collection_mod_cmd.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/s/commands/cluster_collection_mod_cmd.cpp:34: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/db/server_options.h:30, from src/mongo/base/secure_allocator.h:40, from src/mongo/db/auth/authorization_manager.h:35, from src/mongo/db/auth/authorization_session.h:38, from src/mongo/s/commands/cluster_collection_mod_cmd.cpp:33: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/s/catalog_cache.h:377:21: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/s/catalog_cache.h:379:24: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/s/catalog_cache.h:379:24: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/s/catalog_cache.h:379:24: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call g++ -o build/fedora/mongo/s/commands/cluster_add_shard_cmd.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/s/commands/cluster_add_shard_cmd.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/s/commands/cluster_add_shard_cmd.cpp:33: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/bson/mutable/element.h:34, from src/mongo/db/auth/privilege.h:32, from src/mongo/db/commands.h:39: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call g++ -o build/fedora/mongo/s/commands/cluster_update_zone_key_range_cmd.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/s/commands/cluster_update_zone_key_range_cmd.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/s/commands/cluster_update_zone_key_range_cmd.cpp:37: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/bson_extract.h:35, from src/mongo/s/commands/cluster_update_zone_key_range_cmd.cpp:35: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call g++ -o build/fedora/mongo/s/commands/cluster_drop_database_cmd.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/s/commands/cluster_drop_database_cmd.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/s/commands/cluster_drop_database_cmd.cpp:34: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/bson/mutable/element.h:34, from src/mongo/db/auth/privilege.h:32, from src/mongo/db/commands.h:39: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/s/catalog_cache.h:377:21: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/s/catalog_cache.h:379:24: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/s/catalog_cache.h:379:24: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/s/catalog_cache.h:379:24: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call g++ -o build/fedora/mongo/s/commands/cluster_reindex_cmd.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/s/commands/cluster_reindex_cmd.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/s/commands/cluster_reindex_cmd.cpp:33: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/bson/mutable/element.h:34, from src/mongo/db/auth/privilege.h:32, from src/mongo/db/commands.h:39: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/s/catalog_cache.h:377:21: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/s/catalog_cache.h:379:24: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/s/catalog_cache.h:379:24: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/s/catalog_cache.h:379:24: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call g++ -o build/fedora/mongo/s/commands/cluster_drop_indexes_cmd.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/s/commands/cluster_drop_indexes_cmd.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/s/commands/cluster_drop_indexes_cmd.cpp:33: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/bson/mutable/element.h:34, from src/mongo/db/auth/privilege.h:32, from src/mongo/db/commands.h:39: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/s/catalog_cache.h:377:21: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/s/catalog_cache.h:379:24: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/s/catalog_cache.h:379:24: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/s/catalog_cache.h:379:24: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call g++ -o build/fedora/mongo/s/commands/cluster_available_query_options_cmd.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/s/commands/cluster_available_query_options_cmd.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/s/commands/cluster_available_query_options_cmd.cpp:33: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/client/connection_string.h:38, from src/mongo/client/dbclientinterface.h:34, from src/mongo/s/commands/cluster_available_query_options_cmd.cpp:32: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call g++ -o build/fedora/mongo/s/commands/cluster_list_databases_cmd.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/s/commands/cluster_list_databases_cmd.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/s/commands/cluster_list_databases_cmd.cpp:38: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/bson_extract.h:35, from src/mongo/s/commands/cluster_list_databases_cmd.cpp:34: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call In file included from /usr/include/c++/12/cstring:42, from src/mongo/base/string_data.h:33, from build/fedora/mongo/base/error_codes.h:35, from src/mongo/base/status.h:33, from src/mongo/bson/util/bson_extract.h:33: In function '*memchr', inlined from 'mongo::StringData::find(char, unsigned long) const' at src/mongo/base/string_data.h:275:27, inlined from 'mongo::NamespaceString::NamespaceString(mongo::StringData, mongo::StringData)' at src/mongo/db/namespace_string.h:113:9, inlined from 'mongo::ResourcePattern::forDatabaseName(mongo::StringData)' at src/mongo/db/auth/resource_pattern.h:79:51: /usr/include/string.h:102:27: warning: 'memchr' specified bound 18446744073709551615 exceeds maximum object size 9223372036854775807 [-Wstringop-overread] 102 | return __builtin_memchr (__s, __c, __n); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ g++ -o build/fedora/mongo/s/commands/cluster_get_last_error_cmd.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/s/commands/cluster_get_last_error_cmd.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/s/commands/cluster_get_last_error_cmd.cpp:37: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/net/hostandport.h:35, from src/mongo/client/remote_command_targeter.h:32, from src/mongo/s/commands/cluster_get_last_error_cmd.cpp:35: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call ar rcsTD build/fedora/mongo/s/commands/libcluster_commands.a build/fedora/mongo/s/commands/cluster_add_shard_cmd.o build/fedora/mongo/s/commands/cluster_add_shard_to_zone_cmd.o build/fedora/mongo/s/commands/cluster_aggregate.o build/fedora/mongo/s/commands/cluster_available_query_options_cmd.o build/fedora/mongo/s/commands/cluster_build_info.o build/fedora/mongo/s/commands/cluster_coll_stats_cmd.o build/fedora/mongo/s/commands/cluster_collection_mod_cmd.o build/fedora/mongo/s/commands/cluster_compact_cmd.o build/fedora/mongo/s/commands/cluster_control_balancer_cmd.o build/fedora/mongo/s/commands/cluster_count_cmd.o build/fedora/mongo/s/commands/cluster_create_cmd.o build/fedora/mongo/s/commands/cluster_create_indexes_cmd.o build/fedora/mongo/s/commands/cluster_current_op.o build/fedora/mongo/s/commands/cluster_data_size_cmd.o build/fedora/mongo/s/commands/cluster_db_stats_cmd.o build/fedora/mongo/s/commands/cluster_distinct_cmd.o build/fedora/mongo/s/commands/cluster_drop_cmd.o build/fedora/mongo/s/commands/cluster_drop_database_cmd.o build/fedora/mongo/s/commands/cluster_drop_indexes_cmd.o build/fedora/mongo/s/commands/cluster_enable_sharding_cmd.o build/fedora/mongo/s/commands/cluster_eval_cmd.o build/fedora/mongo/s/commands/cluster_explain.o build/fedora/mongo/s/commands/cluster_explain_cmd.o build/fedora/mongo/s/commands/cluster_filemd5_cmd.o build/fedora/mongo/s/commands/cluster_find_and_modify_cmd.o build/fedora/mongo/s/commands/cluster_find_cmd.o build/fedora/mongo/s/commands/cluster_flush_router_config_cmd.o build/fedora/mongo/s/commands/cluster_fsync_cmd.o build/fedora/mongo/s/commands/cluster_ftdc_commands.o build/fedora/mongo/s/commands/cluster_geo_near_cmd.o build/fedora/mongo/s/commands/cluster_get_last_error_cmd.o build/fedora/mongo/s/commands/cluster_get_prev_error_cmd.o build/fedora/mongo/s/commands/cluster_get_shard_version_cmd.o build/fedora/mongo/s/commands/cluster_getmore_cmd.o build/fedora/mongo/s/commands/cluster_index_filter_cmd.o build/fedora/mongo/s/commands/cluster_is_db_grid_cmd.o build/fedora/mongo/s/commands/cluster_is_master_cmd.o build/fedora/mongo/s/commands/cluster_kill_op.o build/fedora/mongo/s/commands/cluster_killcursors_cmd.o build/fedora/mongo/s/commands/cluster_list_databases_cmd.o build/fedora/mongo/s/commands/cluster_list_shards_cmd.o build/fedora/mongo/s/commands/cluster_map_reduce_cmd.o build/fedora/mongo/s/commands/cluster_merge_chunks_cmd.o build/fedora/mongo/s/commands/cluster_move_chunk_cmd.o build/fedora/mongo/s/commands/cluster_move_primary_cmd.o build/fedora/mongo/s/commands/cluster_multicast.o build/fedora/mongo/s/commands/cluster_netstat_cmd.o build/fedora/mongo/s/commands/cluster_pipeline_cmd.o build/fedora/mongo/s/commands/cluster_plan_cache_cmd.o build/fedora/mongo/s/commands/cluster_profile_cmd.o build/fedora/mongo/s/commands/cluster_reindex_cmd.o build/fedora/mongo/s/commands/cluster_remove_shard_cmd.o build/fedora/mongo/s/commands/cluster_remove_shard_from_zone_cmd.o build/fedora/mongo/s/commands/cluster_repl_set_get_status_cmd.o build/fedora/mongo/s/commands/cluster_reset_error_cmd.o build/fedora/mongo/s/commands/cluster_restart_catalog_command.o build/fedora/mongo/s/commands/cluster_set_feature_compatibility_version_cmd.o build/fedora/mongo/s/commands/cluster_shard_collection_cmd.o build/fedora/mongo/s/commands/cluster_shutdown_cmd.o build/fedora/mongo/s/commands/cluster_split_cmd.o build/fedora/mongo/s/commands/cluster_update_zone_key_range_cmd.o build/fedora/mongo/s/commands/cluster_user_management_commands.o build/fedora/mongo/s/commands/cluster_validate_cmd.o build/fedora/mongo/s/commands/cluster_whats_my_uri_cmd.o build/fedora/mongo/s/commands/cluster_write_cmd.o build/fedora/mongo/s/commands/commands_public.o build/fedora/mongo/s/commands/kill_sessions_remote.o build/fedora/mongo/s/commands/pipeline_s.o build/fedora/mongo/s/commands/strategy.o build/fedora/mongo/s/commands/cluster_multicast_gen.o Skipping ranlib for thin archive build/fedora/mongo/s/commands/libcluster_commands.a g++ -o build/fedora/mongo/executor/async_multicaster.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/executor/async_multicaster.cpp ar rcsTD build/fedora/mongo/executor/libasync_multicaster.a build/fedora/mongo/executor/async_multicaster.o Skipping ranlib for thin archive build/fedora/mongo/executor/libasync_multicaster.a g++ -o build/fedora/mongo/s/sharding_uptime_reporter.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/s/sharding_uptime_reporter.cpp g++ -o build/fedora/mongo/s/write_ops/batch_downconvert.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/s/write_ops/batch_downconvert.cpp ar rcsTD build/fedora/mongo/s/write_ops/libcluster_write_op_conversion.a build/fedora/mongo/s/write_ops/batch_downconvert.o Skipping ranlib for thin archive build/fedora/mongo/s/write_ops/libcluster_write_op_conversion.a g++ -o build/fedora/mongo/s/sharding_egress_metadata_hook_for_mongos.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/s/sharding_egress_metadata_hook_for_mongos.cpp g++ -o build/fedora/mongo/db/auth/authz_manager_external_state_s.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/auth/authz_manager_external_state_s.cpp g++ -o build/fedora/mongo/s/s_sharding_server_status.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/s/s_sharding_server_status.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/db/commands/server_status.h:33, from src/mongo/s/s_sharding_server_status.cpp:32: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/bson/bsonobj.h:44, from src/mongo/bson/bson_field.h:34, from src/mongo/bson/bsonobjbuilder.h:44, from src/mongo/s/s_sharding_server_status.cpp:31: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/s/catalog_cache.h:377:21: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/s/catalog_cache.h:379:24: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/s/catalog_cache.h:379:24: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/s/catalog_cache.h:379:24: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call g++ -o build/fedora/mongo/db/auth/authz_session_external_state_s.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/auth/authz_session_external_state_s.cpp g++ -o build/fedora/mongo/db/ftdc/ftdc_mongos.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/ftdc/ftdc_mongos.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/db/ftdc/ftdc_server.h:34, from src/mongo/db/ftdc/ftdc_mongos.cpp:37: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/util/duration.h:40, from src/mongo/util/time_support.h:41, from src/mongo/db/ftdc/config.h:33, from src/mongo/db/ftdc/controller.h:37, from src/mongo/db/ftdc/ftdc_mongos.cpp:36: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call Install file: "build/fedora/mongo/mongod" as "mongod" ar rcsTD build/fedora/mongo/db/ftdc/libftdc_mongos.a build/fedora/mongo/db/ftdc/ftdc_mongos.o Skipping ranlib for thin archive build/fedora/mongo/db/ftdc/libftdc_mongos.a g++ -o build/fedora/mongo/db/auth/user_cache_invalidator_job.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Ibuild/fedora -Isrc src/mongo/db/auth/user_cache_invalidator_job.cpp g++ -o build/fedora/mongo/s/mongos_options_init.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/s/mongos_options_init.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/db/auth/user_cache_invalidator_job.cpp:41: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/oid.h:34, from src/mongo/db/auth/user_cache_invalidator_job.h:28, from src/mongo/db/auth/user_cache_invalidator_job.cpp:32: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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 ar rcsTD build/fedora/mongo/s/libsharding_egress_metadata_hook_for_mongos.a build/fedora/mongo/s/sharding_egress_metadata_hook_for_mongos.o Skipping ranlib for thin archive build/fedora/mongo/s/libsharding_egress_metadata_hook_for_mongos.a g++ -o build/fedora/mongo/s/committed_optime_metadata_hook.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/s/committed_optime_metadata_hook.cpp src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/mongo/s/server.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/s/server.cpp In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call ar rcsTD build/fedora/mongo/db/auth/libauthmongos.a build/fedora/mongo/db/auth/authz_manager_external_state_s.o build/fedora/mongo/db/auth/authz_session_external_state_s.o build/fedora/mongo/db/auth/user_cache_invalidator_job.o Skipping ranlib for thin archive build/fedora/mongo/db/auth/libauthmongos.a g++ -o build/fedora/mongo/s/version_mongos.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/s/version_mongos.cpp In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/client/connection_string.h:38, from src/mongo/client/dbclientinterface.h:34, from src/mongo/client/connpool.h:35, from src/mongo/s/server.cpp:38: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::weak_ptr, mongo::StringMapTraits>': src/mongo/client/replica_set_monitor_manager.h:101:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::weak_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::weak_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::weak_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::weak_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/s/catalog_cache.h:377:21: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/s/catalog_cache.h:379:24: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/s/catalog_cache.h:379:24: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/s/catalog_cache.h:379:24: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/mongo/s/mongos_options.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/s/mongos_options.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/matcher/expression_parser.h:35, from src/mongo/db/pipeline/pipeline.h:36, from src/mongo/s/query/cluster_client_cursor_params.h:41, from src/mongo/s/query/cluster_client_cursor.h:37, from src/mongo/s/query/cluster_cursor_manager.h:41, from src/mongo/s/server.cpp:83: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call g++ -o build/fedora/mongo/s/cluster_cursor_stats.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/s/cluster_cursor_stats.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/matcher/expression_parser.h:35, from src/mongo/db/pipeline/pipeline.h:36, from src/mongo/s/query/cluster_client_cursor_params.h:41, from src/mongo/s/query/cluster_client_cursor.h:37, from src/mongo/s/query/cluster_cursor_manager.h:41, from src/mongo/s/cluster_cursor_stats.cpp:33: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/db/jsobj.h:46, from src/mongo/db/commands/server_status_metric.h:35, from src/mongo/s/cluster_cursor_stats.cpp:31: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ ar rcsTD build/fedora/mongo/s/libcommitted_optime_metadata_hook.a build/fedora/mongo/s/committed_optime_metadata_hook.o Skipping ranlib for thin archive build/fedora/mongo/s/libcommitted_optime_metadata_hook.a g++ -o build/fedora/mongo/s/service_entry_point_mongos.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/s/service_entry_point_mongos.cpp In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/canonical_query.h:35, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:45, from src/mongo/s/service_entry_point_mongos.cpp:36: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/bson_validate.h:35, from src/mongo/db/dbmessage.h:34, from src/mongo/transport/service_entry_point.h:32, from src/mongo/transport/service_entry_point_impl.h:37, from src/mongo/s/service_entry_point_mongos.h:34, from src/mongo/s/service_entry_point_mongos.cpp:33: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/mongo/shell/shell_utils_launcher.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/shell/shell_utils_launcher.cpp src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call Using tempfile /tmp/tmpfr49sg8m.lnk for command line: g++ -o build/fedora/mongo/mongos -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -Wl,-z,noexecstack -Wl,--reduce-memory-overheads,--no-keep-memory -pthread -Wl,-z,now -rdynamic -fstack-protector-strong -Wl,--build-id -Wl,--hash-style=gnu -Wl,-z,noexecstack -Wl,--warn-execstack -Wl,-z,relro -pie build/fedora/mongo/s/cluster_cursor_stats.o build/fedora/mongo/s/mongos_options.o build/fedora/mongo/s/mongos_options_init.o build/fedora/mongo/s/s_sharding_server_status.o build/fedora/mongo/s/server.o build/fedora/mongo/s/service_entry_point_mongos.o build/fedora/mongo/s/sharding_uptime_reporter.o build/fedora/mongo/s/version_mongos.o -Wl,--start-group -Wl,--whole-archive build/fedora/mongo/util/options_parser/liboptions_parser_init.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/util/libversion_impl.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/util/libtcmalloc_set_parameter.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/transport/libservice_entry_point.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/s/libsharding_initialization.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/util/libperiodic_runner_factory.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/util/libperiodic_runner_impl.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/s/libsharding_task_executor.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/s/catalog/libreplset_dist_lock_manager.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/s/catalog/libdist_lock_catalog_impl.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/s/catalog/libdist_lock_catalog_interface.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/liblogical_session_cache_factory_mongos.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/libsessions_collection_sharded.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/libsessions_collection_rs.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/libdbdirectclient.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/client/libremote_command_targeter.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/libservice_liaison_mongos.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/s/libsharding_egress_metadata_hook_for_mongos.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/s/libcommitted_optime_metadata_hook.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/s/commands/libcluster_commands.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/s/write_ops/libcluster_write_op_conversion.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/s/libsharding_api.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/s/write_ops/libcluster_write_op.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/s/query/libcluster_query.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/s/query/libstore_possible_cursor.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/s/query/libcluster_cursor_cleanup_job.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/libcursor_server_params.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/s/query/libcluster_client_cursor.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/s/query/librouter_exec_stage.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/s/commands/libcluster_commands_helpers.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/query/libquery_common.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/query/datetime/libinit_timezone_data.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/query/collation/libcollator_icu.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/libcurop_failpoint_helpers.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/s/commands/libshared_cluster_commands.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/executor/libasync_multicaster.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/views/libviews.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/pipeline/libaggregation.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/pipeline/libpipeline.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/s/query/libasync_results_merger.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/s/libasync_requests_sender.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/s/catalog/libsharding_catalog_client_impl.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/s/client/libsharding_client.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/client/libfetcher.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/stats/libtop.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/repl/liboplog_entry.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/pipeline/libparsed_aggregation_projection.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/pipeline/libgranularity_rounder.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/pipeline/libdocument_sources_idl.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/pipeline/libaccumulator.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/index/libkey_generator.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/index/libindex_descriptor.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/catalog/libindex_catalog.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/fts/libbase_fts.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/third_party/libshim_stemmer.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/fts/unicode/libunicode.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/liblinenoise_utf8.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/commands/libwrite_commands_common.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/commands/libprofile_common.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/commands/libkill_common.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/commands/libcurrent_op_common.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/storage/wiredtiger/libstorage_wiredtiger_customization_hooks.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/storage/libencryption_hooks.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/libstartup_warnings_common.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/libmongodandmongos.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/auth/libsecurity_key.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/libcurop.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/util/libprogress_meter.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/concurrency/liblock_manager.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/ftdc/libftdc_mongos.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/ftdc/libftdc_server.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/util/libprocparser.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/ftdc/libftdc.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/commands/libserver_status_servers.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/auth/libauthmongos.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/s/catalog/libdist_lock_manager.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/auth/libauthservercommon.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/commands/libservers.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/util/libntservice.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/util/libsignal_handlers.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/scripting/libscripting_common.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/shell/libmongojs.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/s/libsharding_legacy_api.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/s/libcluster_last_error_info.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/liblasterror.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/s/libcoreshard.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/util/concurrency/libthread_pool.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/s/libgrid.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/s/query/libcluster_cursor_manager.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/libgeneric_cursor.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/s/libsharding_routing_table.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/util/concurrency/libticketholder.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/storage/libkey_string.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/s/client/libshard_interface.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/client/libremote_command_retry_scheduler.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/liblogical_time_metadata_hook.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/executor/libtask_executor_pool.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/repl/libisself.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/client/libclientdriver_network.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/executor/libthread_pool_task_executor.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/executor/libnetwork_interface_thread_pool.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/executor/libnetwork_interface_factory.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/executor/libnetwork_interface_tl.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/transport/libtransport_layer_manager.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/transport/libservice_executor.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/transport/libtransport_layer.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/base/libsystem_error.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/client/libasync_client.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/executor/libnetwork_interface.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/executor/libtask_executor_interface.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/executor/libconnection_pool_executor.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/executor/libegress_tag_closer_manager.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/executor/libconnection_pool_stats.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/liblog_process_details.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/repl/libreplica_set_messages.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/repl/librepl_coordinator_interface.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/repl/libreplication_process.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/repl/libstorage_interface.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/repl/librollback_idl.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/libserver_options_servers.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/transport/libmessage_compressor.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/third_party/libshim_zlib.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/third_party/libshim_snappy.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/libserver_options.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/util/cmdline_utils/libcmdline_utils.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/commands/libfeature_compatibility_parsers.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/commands/libcore.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/logger/libparse_log_component_settings.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/liblogical_session_cache_impl.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/libsessions_collection.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/s/write_ops/libbatch_write_types.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/ops/libwrite_ops_parsers.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/libservice_liaison.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/liblogical_session_id_helpers.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/liblogical_session_cache.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/libkill_sessions.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/client/libclientdriver_minimal.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/client/libclient_query.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/client/libauthentication.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/auth/libsecurity_file.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/auth/libsaslauth.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/auth/libauth_impl_internal.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/util/net/libssl_manager.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/util/net/libssl_manager_impl.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/third_party/libshim_asio.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/third_party/asio-master/libasio.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/util/net/libssl_types.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/util/net/libssl_options.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/util/net/libsocket.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/util/libbackground_job.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/commands/libserver_status.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/stats/libcounters.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/libcommands.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/rpc/librpc.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/rpc/libprotocol.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/libwire_version.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/rpc/liblegacy_request.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/rpc/liblegacy_reply.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/s/libcommon_s.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/client/libconnection_string.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/util/libdns_query.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/rpc/libobject_check.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/rpc/libcommand_request.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/rpc/libcommand_reply.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/libdbmessage.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/libaudit.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/commands/libtest_commands_enabled.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/commands/libserver_status_core.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/auth/libinternal_user_auth.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/pipeline/liblite_parsed_document_source.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/catalog/libdocument_validation.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/auth/libuser_document_parser.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/auth/librole_graph_update.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/update/libupdate_driver.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/update/libupdate.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/update/libupdate_common.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/libupdate_index_data.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/query/libquery_planner.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/query/libindex_bounds.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/matcher/libexpressions.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/query/libquery_knobs.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/pipeline/libexpression.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/util/libsummation.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/pipeline/libexpression_context.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/query/collation/libcollator_factory_interface.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/pipeline/libaggregation_request.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/query/libexplain_options.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/query/libcommand_request_response.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/query/libquery_request.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/repl/libread_concern_args.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/catalog/libuuid_catalog.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/catalog/libdatabase_holder.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/catalog/libdatabase.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/catalog/libcollection.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/libnamespace_string.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/pipeline/libdependencies.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/pipeline/libdocument_value.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/util/libintrusive_counter.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/query/datetime/libdate_time_support.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/third_party/libshim_timelib.a -Wl,--no-whole-archive build/fedora/third_party/timelib-2018.01alpha1/libtimelib.a -Wl,--whole-archive build/fedora/mongo/db/pipeline/libfield_path.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/matcher/libpath.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/fts/libfts_query_noop.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/index/libexpression_params.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/query/collation/libcollator_interface.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/libmongohasher.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/geo/libgeoparser.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/geo/libgeometry.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/third_party/s2/libs2.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/third_party/s2/util/math/libmath.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/third_party/s2/util/coding/libcoding.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/third_party/s2/strings/libstrings.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/third_party/s2/base/libbase_s2.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/bson/libdotted_path_support.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/auth/libuser.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/auth/libsasl_options.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/util/options_parser/liboptions_parser.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/third_party/libshim_yaml.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/auth/librole_graph.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/auth/libauthorization_manager_global.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/client/libsasl_client.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/util/libmd5.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/util/libicu.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/util/libicu_init.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/third_party/libshim_icu.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/third_party/icu4c-57.1/source/libicu_i18n.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/third_party/icu4c-57.1/source/libicu_common.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/third_party/icu4c-57.1/source/libicu_data.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/rpc/libcommand_status.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/executor/libremote_command.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/rpc/libmetadata.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/rpc/libclient_metadata.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/s/libis_mongos.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/repl/liboptime.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/liblogical_time_validator.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/libsigned_logical_time.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/libkeys_collection_manager.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/libkeys_collection_client_sharded.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/s/catalog/libsharding_catalog_client.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/liblogical_clock.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/libglobal_settings.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/repl/librepl_settings.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/libkeys_collection_document.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/libtime_proof_service.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/liblogical_time.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/auth/libauthprivilege.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/libcommon.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/libwrite_concern_options.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/libindex_names.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/auth/libaddress_restriction.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/auth/libauthentication_restriction.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/bson/mutable/libmutable_bson.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/util/libsafe_num.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/auth/libauth.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/rpc/libaudit_metadata.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/auth/libuser_name.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/auth/libauth_rolename.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/client/libread_preference.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/libservice_context.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/util/net/libnetwork.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/util/libwinutil.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/util/libperiodic_runner.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/util/libfail_point.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/util/libclock_sources.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/util/concurrency/libspin_lock.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/transport/libtransport_layer_common.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/storage/libwrite_unit_of_work.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/storage/libstorage_options.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/liblogical_session_id.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/idl/libidl_parser.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/libcommand_generic_argument.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/libserver_parameters.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/crypto/libsha_block_openssl.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/crypto/libsha1_block.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/crypto/libsha256_block.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/util/libsecure_compare_memory.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/bson/util/libbson_extract.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/base/libsecure_allocator.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/util/libsecure_zero_memory.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/util/libprocessinfo.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/libserver_options_core.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/libbase.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/third_party/murmurhash3/libmurmurhash3.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/third_party/libshim_pcrecpp.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/third_party/libshim_intel_decimal128.a -Wl,--no-whole-archive build/fedora/third_party/IntelRDFPMathLib20U1/libintel_decimal128.a -Wl,--whole-archive build/fedora/third_party/libshim_boost.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/util/libquick_exit.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/third_party/libshim_allocator.a -Wl,--no-whole-archive build/fedora/mongo/util/libdebugger.a -Wl,--end-group -lstemmer -lz -lsnappy -lyaml-cpp -lpcre -lpcrecpp -lboost_program_options -lboost_filesystem -lboost_system -lboost_iostreams -ltcmalloc -lm -lresolv -lcrypto -lssl -lcrypto -ldl -lrt -ldl g++ @/tmp/tmpfr49sg8m.lnk g++ -o build/fedora/mongo/shell/shell_options.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/shell/shell_options.cpp In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/bson/bsonelement.h:38, from src/mongo/bson/bsonobj.h:44, from src/mongo/bson/bson_field.h:34, from src/mongo/bson/bsonobjbuilder.h:44, from src/mongo/db/wire_version.h:32, from src/mongo/rpc/protocol.h:36, from src/mongo/shell/shell_options.h:36, from src/mongo/shell/shell_options.cpp:33: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::MessageCompressorBase*, mongo::StringMapTraits>': src/mongo/transport/message_compressor_registry.h:113:39: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::MessageCompressorBase*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::MessageCompressorBase*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::MessageCompressorBase*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::MessageCompressorBase*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/third_party/icu4c-57.1/source/common/udata.cpp:627: warning: type of 'icudt57_dat' does not match original declaration [-Wlto-type-mismatch] 627 | extern "C" const DataHeader U_DATA_API U_ICUDATA_ENTRY_POINT; | src/third_party/icu4c-57.1/source/stubdata/stubdata.c:41: note: type 'const struct ICU_Data_Header' should match type 'const struct DataHeader' 41 | U_EXPORT const ICU_Data_Header U_ICUDATA_ENTRY_POINT = { | src/third_party/icu4c-57.1/source/stubdata/stubdata.c:41: note: 'icudt57_dat' was previously declared here /usr/bin/python3 site_scons/site_tools/jstoh.py build/fedora/mongo/shell/mongo-server.cpp src/mongo/shell/servers.js src/mongo/shell/shardingtest.js src/mongo/shell/servers_misc.js src/mongo/shell/replsettest.js src/mongo/shell/bridge.js g++ -o build/fedora/mongo/shell/mongo-server.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc build/fedora/mongo/shell/mongo-server.cpp g++ -o build/fedora/mongo/util/password.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/asio-master/asio/include -Ibuild/fedora -Isrc src/mongo/util/password.cpp ar rcsTD build/fedora/mongo/util/libpassword.a build/fedora/mongo/util/password.o Skipping ranlib for thin archive build/fedora/mongo/util/libpassword.a g++ -o build/fedora/mongo/shell/bench.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/shell/bench.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/db/query/query_solution.h:36, from src/mongo/db/query/plan_executor.h:37, from src/mongo/db/clientcursor.h:38, from src/mongo/db/query/cursor_response.h:36, from src/mongo/shell/bench.cpp:39: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:166:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:171:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 171 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:179:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 179 | DEV memset(this, 0xee, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/client/connection_string.h:38, from src/mongo/client/dbclientinterface.h:34, from src/mongo/shell/bench.h:35, from src/mongo/shell/bench.cpp:33: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36, from src/mongo/db/query/plan_cache.h:35, from src/mongo/db/query/query_solution.h:38: 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:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234: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:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256: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:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344: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:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380: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:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561: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:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582: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:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624: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:30, from src/mongo/db/query/canonical_query.h:38: 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: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::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::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::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/12/bits/stl_pair.h:192:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:38: 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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] 59 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:59: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:54:38: required from here src/mongo/db/matcher/expression_type.h:59:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:59:30: note: remove 'std::move' call ar rcsTD build/fedora/mongo/shell/libbenchrun.a build/fedora/mongo/shell/bench.o Skipping ranlib for thin archive build/fedora/mongo/shell/libbenchrun.a g++ -o build/fedora/mongo/shell/shell_utils.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/shell/shell_utils.cpp In file included from /usr/include/string.h:535, from /usr/include/c++/12/cstring:42, from src/mongo/base/string_data.h:33, from src/mongo/db/jsobj.h:45, from src/mongo/shell/shell_utils.h:32, from src/mongo/shell/shell_utils.cpp:33: In function 'memcpy', inlined from 'mongo::StringData::copyTo(char*, bool) const' at src/mongo/base/string_data.h:266:15, inlined from 'mongo::StringBuilderImpl::append(mongo::StringData)' at src/mongo/bson/util/builder.h:484:19, inlined from 'mongo::StringBuilderImpl::appendIntegral(int, int)mongo::StringBuilderImpl&' at src/mongo/bson/util/builder.h:518:19, inlined from 'mongo::StringBuilderImpl::appendIntegral(int, int)mongo::StringBuilderImpl&' at src/mongo/bson/util/builder.h:512:24, inlined from 'mongo::StringBuilderImpl::operator<<(int)' at src/mongo/bson/util/builder.h:402:30, inlined from 'mongo::BSONObj::operator[](int) const' at src/mongo/bson/bsonobj.h:312:15: /usr/include/bits/string_fortified.h:29:33: warning: 'memcpy' offset [0, 511] is out of the bounds [0, 0] [-Warray-bounds] 29 | return __builtin___memcpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 30 | __glibc_objsize0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -o build/fedora/mongo/shell/shell_utils_extended.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/shell/shell_utils_extended.cpp g++ -o build/fedora/mongo/shell/mongodbcr.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/shell/mongodbcr.cpp src/mongo/shell/mongodbcr.cpp: In function 'mongo::StatusWith > mongo::auth::{anonymous}::extractDBField(const mongo::BSONObj&)': src/mongo/shell/mongodbcr.cpp:61:21: warning: redundant move in return statement [-Wredundant-move] 61 | return std::move(db); | ~~~~~~~~~^~~~ src/mongo/shell/mongodbcr.cpp:61:21: note: remove 'std::move' call src/mongo/shell/mongodbcr.cpp: In function 'mongo::StatusWith mongo::auth::{anonymous}::createMongoCRGetNonceCmd(const mongo::BSONObj&)': src/mongo/shell/mongodbcr.cpp:74:21: warning: redundant move in return statement [-Wredundant-move] 74 | return std::move(request); | ~~~~~~~~~^~~~~~~~~ src/mongo/shell/mongodbcr.cpp:74:21: note: remove 'std::move' call g++ -o build/fedora/mongo/shell/shell_options_init.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/shell/shell_options_init.cpp g++ -o build/fedora/mongo/shell/linenoise.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/shell/linenoise.cpp g++ -o build/fedora/mongo/shell/mk_wcwidth.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/shell/mk_wcwidth.cpp ar rcsTD build/fedora/mongo/libshell_core.a build/fedora/mongo/shell/linenoise.o build/fedora/mongo/shell/mk_wcwidth.o build/fedora/mongo/shell/mongo-server.o build/fedora/mongo/shell/shell_options.o build/fedora/mongo/shell/shell_utils.o build/fedora/mongo/shell/shell_utils_extended.o build/fedora/mongo/shell/shell_utils_launcher.o Skipping ranlib for thin archive build/fedora/mongo/libshell_core.a g++ -o build/fedora/mongo/shell/dbshell.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/shell/dbshell.cpp Using tempfile /tmp/tmp44ygwikl.lnk for command line: g++ -o build/fedora/mongo/mongo -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -Wl,-z,noexecstack -Wl,--reduce-memory-overheads,--no-keep-memory -pthread -Wl,-z,now -rdynamic -fstack-protector-strong -Wl,--build-id -Wl,--hash-style=gnu -Wl,-z,noexecstack -Wl,--warn-execstack -Wl,-z,relro -pie build/fedora/mongo/shell/dbshell.o build/fedora/mongo/shell/mongodbcr.o build/fedora/mongo/shell/shell_options_init.o -Wl,--start-group -Wl,--whole-archive build/fedora/mongo/util/libpassword.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/libshell_core.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/util/options_parser/liboptions_parser_init.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/util/libversion_impl.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/util/libsignal_handlers.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/liblog_process_details.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/repl/libreplica_set_messages.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/repl/librepl_coordinator_interface.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/repl/libreplication_process.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/repl/libstorage_interface.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/repl/librollback_idl.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/libserver_options_servers.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/libserver_options.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/util/cmdline_utils/libcmdline_utils.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/shell/libbenchrun.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/scripting/libscripting.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/third_party/libshim_mozjs.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/third_party/mozjs-45/libmozjs.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/scripting/libscripting_common.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/shell/libmongojs.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/scripting/libbson_template_evaluator.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/liblinenoise_utf8.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/libmongohasher.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/liblogical_session_id_helpers.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/catalog/libindex_key_validate.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/matcher/libexpressions.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/query/libquery_knobs.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/pipeline/libexpression.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/util/libsummation.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/pipeline/libexpression_context.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/query/collation/libcollator_factory_interface.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/query/collation/libcollator_interface.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/pipeline/libaggregation_request.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/query/libexplain_options.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/pipeline/libdependencies.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/pipeline/libdocument_value.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/util/libintrusive_counter.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/query/datetime/libdate_time_support.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/third_party/libshim_timelib.a -Wl,--no-whole-archive build/fedora/third_party/timelib-2018.01alpha1/libtimelib.a -Wl,--whole-archive build/fedora/mongo/db/pipeline/libfield_path.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/matcher/libpath.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/geo/libgeoparser.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/geo/libgeometry.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/third_party/s2/libs2.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/third_party/s2/util/math/libmath.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/third_party/s2/util/coding/libcoding.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/third_party/s2/strings/libstrings.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/third_party/s2/base/libbase_s2.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/fts/libfts_query_noop.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/index/libindex_descriptor.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/catalog/libindex_catalog.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/client/libclientdriver_network.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/executor/libthread_pool_task_executor.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/executor/libnetwork_interface_thread_pool.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/executor/libnetwork_interface_factory.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/executor/libnetwork_interface_tl.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/transport/libtransport_layer_manager.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/transport/libservice_executor.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/transport/libtransport_layer.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/base/libsystem_error.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/client/libasync_client.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/transport/libmessage_compressor.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/third_party/libshim_zlib.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/third_party/libshim_snappy.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/executor/libnetwork_interface.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/executor/libtask_executor_interface.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/executor/libconnection_pool_executor.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/executor/libegress_tag_closer_manager.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/executor/libconnection_pool_stats.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/client/libclientdriver_minimal.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/util/net/libssl_manager.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/util/net/libssl_manager_impl.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/third_party/libshim_asio.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/third_party/asio-master/libasio.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/util/net/libssl_types.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/util/net/libssl_options.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/util/options_parser/liboptions_parser.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/third_party/libshim_yaml.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/util/net/libsocket.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/util/libbackground_job.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/commands/libserver_status.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/stats/libcounters.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/libcommands.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/libaudit.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/commands/libtest_commands_enabled.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/commands/libserver_status_core.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/rpc/librpc.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/rpc/libprotocol.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/bson/libdotted_path_support.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/rpc/liblegacy_request.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/rpc/liblegacy_reply.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/s/libcommon_s.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/rpc/libobject_check.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/rpc/libcommand_request.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/rpc/libcommand_reply.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/query/libcommand_request_response.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/query/libquery_request.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/repl/libread_concern_args.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/catalog/libuuid_catalog.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/catalog/libdatabase_holder.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/catalog/libdatabase.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/catalog/libcollection.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/libnamespace_string.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/libwire_version.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/libdbmessage.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/auth/libinternal_user_auth.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/client/libconnection_string.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/util/libdns_query.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/client/libclient_query.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/client/libauthentication.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/client/libsasl_client.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/util/libmd5.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/util/libicu.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/util/libicu_init.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/third_party/libshim_icu.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/third_party/icu4c-57.1/source/libicu_i18n.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/third_party/icu4c-57.1/source/libicu_common.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/third_party/icu4c-57.1/source/libicu_data.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/rpc/libcommand_status.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/executor/libremote_command.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/rpc/libmetadata.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/rpc/libclient_metadata.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/s/libis_mongos.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/repl/liboptime.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/liblogical_time_validator.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/libsigned_logical_time.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/libkeys_collection_manager.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/libkeys_collection_client_sharded.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/s/catalog/libsharding_catalog_client.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/liblogical_clock.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/libglobal_settings.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/repl/librepl_settings.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/libkeys_collection_document.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/libtime_proof_service.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/liblogical_time.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/auth/libauthprivilege.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/libcommon.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/libwrite_concern_options.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/libindex_names.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/auth/libaddress_restriction.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/auth/libauthentication_restriction.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/bson/mutable/libmutable_bson.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/util/libsafe_num.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/auth/libauth.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/rpc/libaudit_metadata.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/auth/libuser_name.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/auth/libauth_rolename.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/client/libread_preference.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/libservice_context.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/util/net/libnetwork.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/util/libwinutil.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/util/libperiodic_runner.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/util/libfail_point.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/util/libclock_sources.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/util/concurrency/libspin_lock.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/transport/libtransport_layer_common.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/storage/libwrite_unit_of_work.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/storage/libstorage_options.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/liblogical_session_id.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/idl/libidl_parser.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/libcommand_generic_argument.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/libserver_parameters.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/crypto/libsha_block_openssl.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/crypto/libsha1_block.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/crypto/libsha256_block.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/util/libsecure_compare_memory.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/base/libsecure_allocator.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/util/libsecure_zero_memory.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/util/libprocessinfo.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/libserver_options_core.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/bson/util/libbson_extract.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/libbase.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/third_party/murmurhash3/libmurmurhash3.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/third_party/libshim_pcrecpp.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/third_party/libshim_intel_decimal128.a -Wl,--no-whole-archive build/fedora/third_party/IntelRDFPMathLib20U1/libintel_decimal128.a -Wl,--whole-archive build/fedora/third_party/libshim_boost.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/util/libquick_exit.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/third_party/libshim_allocator.a -Wl,--no-whole-archive build/fedora/mongo/util/libdebugger.a -Wl,--end-group -lz -lsnappy -lyaml-cpp -lpcre -lpcrecpp -lboost_program_options -lboost_filesystem -lboost_system -lboost_iostreams -ltcmalloc -lm -lresolv -lcrypto -lssl -lcrypto -ldl -lrt -ldl g++ @/tmp/tmp44ygwikl.lnk src/third_party/icu4c-57.1/source/common/udata.cpp:627: warning: type of 'icudt57_dat' does not match original declaration [-Wlto-type-mismatch] 627 | extern "C" const DataHeader U_DATA_API U_ICUDATA_ENTRY_POINT; | src/third_party/icu4c-57.1/source/stubdata/stubdata.c:41: note: type 'const struct ICU_Data_Header' should match type 'const struct DataHeader' 41 | U_EXPORT const ICU_Data_Header U_ICUDATA_ENTRY_POINT = { | src/third_party/icu4c-57.1/source/stubdata/stubdata.c:41: note: 'icudt57_dat' was previously declared here src/third_party/mozjs-45/extract/js/src/builtin/Intl.cpp:115: warning: type 'UColAttributeValue' violates the C++ One Definition Rule [-Wodr] 115 | enum UColAttributeValue { | src/third_party/icu4c-57.1/source/i18n/unicode/ucol.h:128: note: an enum with different value name is defined in another translation unit 128 | } UColAttributeValue; | src/third_party/mozjs-45/extract/js/src/builtin/Intl.cpp:120: note: name 'UCOL_OFF' differs from name 'UCOL_DEFAULT_STRENGTH' defined in another translation unit 120 | UCOL_OFF = 16, | src/third_party/icu4c-57.1/source/i18n/unicode/ucol.h:98: note: mismatching definition 98 | UCOL_DEFAULT_STRENGTH = UCOL_TERTIARY, | src/third_party/mozjs-45/extract/js/src/builtin/Intl.cpp:106: warning: type 'UColAttribute' violates the C++ One Definition Rule [-Wodr] 106 | enum UColAttribute { | src/third_party/icu4c-57.1/source/i18n/unicode/ucol.h:341: note: an enum with different value name is defined in another translation unit 341 | } UColAttribute; | src/third_party/mozjs-45/extract/js/src/builtin/Intl.cpp:107: note: name 'UCOL_ALTERNATE_HANDLING' differs from name 'UCOL_FRENCH_COLLATION' defined in another translation unit 107 | UCOL_ALTERNATE_HANDLING, | src/third_party/icu4c-57.1/source/i18n/unicode/ucol.h:241: note: mismatching definition 241 | UCOL_FRENCH_COLLATION, | src/third_party/icu4c-57.1/source/i18n/decNumber.c: In function 'uprv_decNumberLog10': src/third_party/icu4c-57.1/source/i18n/decNumber.c:1524:14: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 1524 | w->lsu[1]=1; w->lsu[0]=0; /* .. */ | ^ src/third_party/icu4c-57.1/source/i18n/decNumber.h:87: note: at offset 1 into destination object 'lsu' of size 1 87 | decNumberUnit lsu[DECNUMUNITS]; | src/third_party/icu4c-57.1/source/i18n/decNumber.c:1524:14: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 1524 | w->lsu[1]=1; w->lsu[0]=0; /* .. */ | ^ src/third_party/icu4c-57.1/source/i18n/decNumber.h:87: note: at offset 1 into destination object 'lsu' of size 1 87 | decNumberUnit lsu[DECNUMUNITS]; | src/third_party/icu4c-57.1/source/i18n/decNumber.c: In function 'uprv_decNumberSquareRoot': src/third_party/icu4c-57.1/source/i18n/decNumber.c:2970:31: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 2970 | t->lsu[0]=9; t->lsu[1]=5; t->lsu[2]=2; | ^ src/third_party/icu4c-57.1/source/i18n/decNumber.h:87: note: at offset 1 into destination object 'lsu' of size 1 87 | decNumberUnit lsu[DECNUMUNITS]; | src/third_party/icu4c-57.1/source/i18n/decNumber.c:2970:44: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 2970 | t->lsu[0]=9; t->lsu[1]=5; t->lsu[2]=2; | ^ src/third_party/icu4c-57.1/source/i18n/decNumber.h:87: note: at offset 2 into destination object 'lsu' of size 1 87 | decNumberUnit lsu[DECNUMUNITS]; | In function 'new_', inlined from 'moveConstruct' at src/third_party/mozjs-45/include/mozilla/Vector.h:118:11, inlined from '__ct ' at src/third_party/mozjs-45/include/mozilla/Vector.h:743:24, inlined from 'operator=' at src/third_party/mozjs-45/include/mozilla/Vector.h:770:3, inlined from 'FilterASCII' at src/third_party/mozjs-45/extract/js/src/irregexp/RegExpEngine.cpp:1007:42: src/third_party/mozjs-45/include/mozilla/Vector.h:74:5: warning: '__builtin_memcpy' reading 16 or more bytes from a region of size 8 [-Wstringop-overread] 74 | new(aDst) T(Forward(aU)); | ^ src/third_party/mozjs-45/extract/js/src/irregexp/RegExpEngine.cpp: In member function 'FilterASCII': src/third_party/mozjs-45/extract/js/src/irregexp/RegExpEngine.cpp:994:30: note: at offset 32 into source object 'new_alternatives' of size 40 994 | GuardedAlternativeVector new_alternatives(*alloc()); | ^ src/third_party/icu4c-57.1/source/i18n/decNumber.c: In function 'uprv_decNumberSquareRoot': src/third_party/icu4c-57.1/source/i18n/decNumber.c:2970:31: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 2970 | t->lsu[0]=9; t->lsu[1]=5; t->lsu[2]=2; | ^ src/third_party/icu4c-57.1/source/i18n/decNumber.h:87: note: at offset 1 into destination object 'lsu' of size 1 87 | decNumberUnit lsu[DECNUMUNITS]; | src/third_party/icu4c-57.1/source/i18n/decNumber.c:2970:44: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 2970 | t->lsu[0]=9; t->lsu[1]=5; t->lsu[2]=2; | ^ src/third_party/icu4c-57.1/source/i18n/decNumber.h:87: note: at offset 2 into destination object 'lsu' of size 1 87 | decNumberUnit lsu[DECNUMUNITS]; | src/third_party/icu4c-57.1/source/i18n/decNumber.c: In function 'uprv_decNumberLog10': src/third_party/icu4c-57.1/source/i18n/decNumber.c:1524:14: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 1524 | w->lsu[1]=1; w->lsu[0]=0; /* .. */ | ^ src/third_party/icu4c-57.1/source/i18n/decNumber.h:87: note: at offset 1 into destination object 'lsu' of size 1 87 | decNumberUnit lsu[DECNUMUNITS]; | src/third_party/icu4c-57.1/source/i18n/decNumber.c:1524:14: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 1524 | w->lsu[1]=1; w->lsu[0]=0; /* .. */ | ^ src/third_party/icu4c-57.1/source/i18n/decNumber.h:87: note: at offset 1 into destination object 'lsu' of size 1 87 | decNumberUnit lsu[DECNUMUNITS]; | src/mongo/s/client/parallel.cpp: In member function '_oldInit': src/mongo/s/client/parallel.cpp:917:52: warning: argument 1 value '18446744073709551615' exceeds maximum object size 9223372036854775807 [-Walloc-size-larger-than=] 917 | _cursors = new DBClientCursorHolder[_numServers]; | ^ /usr/include/c++/12/new:128:26: note: in a call to allocation function 'operator new []' declared here 128 | _GLIBCXX_NODISCARD void* operator new[](std::size_t) _GLIBCXX_THROW (std::bad_alloc) | ^ Install file: "build/fedora/mongo/mongos" as "mongos" g++ -o build/fedora/mongo/tools/mongobridge_options_init.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/tools/mongobridge_options_init.cpp In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/base/data_range.h:38, from src/mongo/transport/message_compressor_base.h:31, from src/mongo/transport/message_compressor_registry.h:33, from src/mongo/tools/mongobridge_options_init.cpp:33: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::MessageCompressorBase*, mongo::StringMapTraits>': src/mongo/transport/message_compressor_registry.h:113:39: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::MessageCompressorBase*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::MessageCompressorBase*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::MessageCompressorBase*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::MessageCompressorBase*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/mongo/tools/bridge_commands.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/tools/bridge_commands.cpp In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from src/mongo/util/duration.h:40, from src/mongo/util/time_support.h:41, from src/mongo/tools/bridge_commands.h:33, from src/mongo/tools/bridge_commands.cpp:31: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::BridgeCommand*, mongo::StringMapTraits>': src/mongo/tools/bridge_commands.cpp:162:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::BridgeCommand*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::BridgeCommand*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::BridgeCommand*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::BridgeCommand*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/mongo/tools/mongobridge_options.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/tools/mongobridge_options.cpp g++ -o build/fedora/mongo/tools/bridge.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/tools/bridge.cpp Using tempfile /tmp/tmpbgmk188k.lnk for command line: g++ -o build/fedora/mongo/tools/mongobridge -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -Wl,-z,noexecstack -Wl,--reduce-memory-overheads,--no-keep-memory -pthread -Wl,-z,now -rdynamic -fstack-protector-strong -Wl,--build-id -Wl,--hash-style=gnu -Wl,-z,noexecstack -Wl,--warn-execstack -Wl,-z,relro -pie build/fedora/mongo/tools/bridge.o build/fedora/mongo/tools/bridge_commands.o build/fedora/mongo/tools/mongobridge_options.o build/fedora/mongo/tools/mongobridge_options_init.o -Wl,--start-group -Wl,--whole-archive build/fedora/mongo/util/options_parser/liboptions_parser_init.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/util/libsignal_handlers.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/liblog_process_details.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/repl/libreplica_set_messages.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/repl/librepl_coordinator_interface.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/repl/libreplication_process.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/repl/libstorage_interface.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/repl/librollback_idl.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/libserver_options_servers.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/libserver_options.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/util/cmdline_utils/libcmdline_utils.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/transport/libtransport_layer.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/util/net/libssl_manager.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/util/net/libssl_manager_impl.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/util/net/libssl_types.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/util/net/libssl_options.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/util/net/libsocket.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/util/libbackground_job.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/commands/libserver_status.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/libcommands.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/rpc/libcommand_status.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/libaudit.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/commands/libtest_commands_enabled.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/commands/libserver_status_core.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/auth/libinternal_user_auth.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/base/libsystem_error.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/transport/libservice_executor.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/third_party/libshim_asio.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/third_party/asio-master/libasio.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/transport/libservice_entry_point.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/stats/libcounters.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/transport/libmessage_compressor.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/third_party/libshim_zlib.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/third_party/libshim_snappy.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/util/options_parser/liboptions_parser.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/third_party/libshim_yaml.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/rpc/librpc.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/rpc/libprotocol.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/libwire_version.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/bson/libdotted_path_support.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/rpc/liblegacy_request.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/rpc/liblegacy_reply.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/s/libcommon_s.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/query/libquery_request.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/repl/libread_concern_args.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/catalog/libuuid_catalog.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/catalog/libdatabase_holder.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/catalog/libdatabase.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/catalog/libcollection.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/libnamespace_string.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/client/libconnection_string.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/util/libdns_query.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/rpc/libobject_check.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/rpc/libmetadata.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/rpc/libclient_metadata.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/util/libprocessinfo.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/s/libis_mongos.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/repl/liboptime.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/liblogical_time_validator.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/libsigned_logical_time.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/libkeys_collection_manager.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/libkeys_collection_client_sharded.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/s/catalog/libsharding_catalog_client.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/liblogical_clock.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/libglobal_settings.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/repl/librepl_settings.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/libkeys_collection_document.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/libtime_proof_service.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/liblogical_time.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/auth/libauthprivilege.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/libcommon.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/libwrite_concern_options.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/libindex_names.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/auth/libaddress_restriction.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/auth/libauthentication_restriction.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/bson/mutable/libmutable_bson.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/util/libsafe_num.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/auth/libauth.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/rpc/libaudit_metadata.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/auth/libuser_name.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/auth/libauth_rolename.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/rpc/libcommand_request.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/client/libread_preference.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/libservice_context.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/util/libperiodic_runner.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/util/libfail_point.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/util/libclock_sources.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/storage/libwrite_unit_of_work.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/storage/libstorage_options.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/liblogical_session_id.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/idl/libidl_parser.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/libcommand_generic_argument.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/libserver_parameters.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/crypto/libsha_block_openssl.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/crypto/libsha1_block.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/crypto/libsha256_block.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/util/libsecure_compare_memory.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/bson/util/libbson_extract.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/rpc/libcommand_reply.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/libdbmessage.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/util/net/libnetwork.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/util/libwinutil.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/util/concurrency/libspin_lock.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/transport/libtransport_layer_common.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/db/libserver_options_core.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/libbase.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/third_party/murmurhash3/libmurmurhash3.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/third_party/libshim_pcrecpp.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/third_party/libshim_intel_decimal128.a -Wl,--no-whole-archive build/fedora/third_party/IntelRDFPMathLib20U1/libintel_decimal128.a -Wl,--whole-archive build/fedora/third_party/libshim_boost.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/mongo/util/libquick_exit.a -Wl,--no-whole-archive -Wl,--whole-archive build/fedora/third_party/libshim_allocator.a -Wl,--no-whole-archive build/fedora/mongo/util/libdebugger.a -Wl,--end-group -lz -lsnappy -lyaml-cpp -lpcre -lpcrecpp -lboost_program_options -lboost_filesystem -lboost_system -lboost_iostreams -ltcmalloc -lm -lresolv -lcrypto -lssl -lcrypto -ldl -lrt -ldl g++ @/tmp/tmpbgmk188k.lnk src/third_party/mozjs-45/extract/js/src/jit/IonBuilder.cpp: In member function 'computeHeapType': src/third_party/mozjs-45/extract/js/src/jit/IonBuilder.cpp:9290:1: warning: function may return address of local variable [-Wreturn-local-addr] 9290 | } | ^ src/third_party/mozjs-45/extract/js/src/jit/IonBuilder.cpp:9259:22: note: declared here 9259 | TemporaryTypeSet empty; | ^ Install file: "build/fedora/mongo/tools/mongobridge" as "mongobridge" Install file: "build/fedora/mongo/mongo" as "mongo" scons: done building targets. + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.ZeayLi + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64 ++ dirname /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd mongo-r4.0.3 + install -p -D -m 755 mongod /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/bin/mongod + install -p -D -m 755 mongos /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/bin/mongos + install -p -D -m 755 mongo /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/bin/mongo + install -p -D -m 755 mongobridge /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/bin/mongobridge + mkdir -p /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/var/lib/mongodb + mkdir -p /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/var/log/mongodb + mkdir -p /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/var/run/mongodb + mkdir -p /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/etc/sysconfig + install -p -D -m 644 /builddir/build/SOURCES/mongodb-tmpfile /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/lib/tmpfiles.d/mongodb.conf + install -p -D -m 644 /builddir/build/SOURCES/mongod.service /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/lib/systemd/system/mongod.service + install -p -D -m 644 /builddir/build/SOURCES/mongos.service /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/lib/systemd/system/mongos.service + install -p -D -m 644 /builddir/build/SOURCES/mongodb.logrotate /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/etc/logrotate.d/mongodb + install -p -D -m 644 /builddir/build/SOURCES/mongod.conf /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/etc/mongod.conf + install -p -D -m 644 /builddir/build/SOURCES/mongos.conf /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/etc/mongos.conf + install -p -D -m 644 /builddir/build/SOURCES/mongod.sysconf /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/etc/sysconfig/mongod + install -p -D -m 644 /builddir/build/SOURCES/mongos.sysconf /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/etc/sysconfig/mongos + sed -i -r 's|(engine: )mmapv1|\1wiredTiger|' /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/etc/mongod.conf + install -d -m 755 /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/man/man1 + install -p -m 644 debian/mongo.1 /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/man/man1/ + install -p -m 644 debian/mongod.1 /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/man/man1/ + install -p -m 644 debian/mongos.1 /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/man/man1/ + mkdir -p /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test + mkdir -p /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/var + mkdir -p /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/buildscripts + mkdir -p /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/buildscripts/ciconfig + install -p -D -m 755 buildscripts/resmoke.py /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/ + install -p -D -m 444 buildscripts/__init__.py /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/buildscripts/ + install -p -D -m 444 buildscripts/ciconfig/__init__.py /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/buildscripts/ciconfig + install -p -D -m 444 buildscripts/ciconfig/tags.py /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/buildscripts/ciconfig + cp -R buildscripts/resmokeconfig /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/buildscripts/ + cp -R buildscripts/resmokelib /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/buildscripts/ + cp -R jstests /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/ ++ find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/tool/tsv1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/tool/tool_replset.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/tool/tool1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/tool/stat1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/tool/shell_mkdir.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/tool/restorewithauth.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/tool/gridfs.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/tool/files1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/tool/exportimport_minkey_maxkey.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/tool/exportimport_date.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/tool/exportimport_bigarray.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/tool/exportimport6.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/tool/exportimport5.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/tool/exportimport4.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/tool/exportimport3.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/tool/exportimport1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/tool/dumpsecondary.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/tool/dumprestore_excludecollections.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/tool/dumprestore_auth3.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/tool/dumprestore_auth2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/tool/dumprestore_auth.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/tool/dumprestoreWithNoOptions.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/tool/dumprestore9.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/tool/dumprestore8.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/tool/dumprestore7.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/tool/dumprestore6.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/tool/dumprestore4.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/tool/dumprestore3.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/tool/dumprestore10.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/tool/dumprestore1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/tool/dumpfilename1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/tool/dumpauth.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/tool/data/dumprestore6/system.indexes.bson + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/tool/data/dumprestore6/foo.bson + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/tool/data/csvimport1.csv + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/tool/data/a.tsv + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/tool/csvimport1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/tool/csvexport2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/tool/csvexport1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/tool/csv1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/tool/command_line_quotes.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sslSpecial/upgrade_to_x509_ssl_nossl.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sslSpecial/upgrade_to_ssl_nossl.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sslSpecial/upgrade_noauth_to_x509_nossl.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sslSpecial/ssl_mixedmode.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sslSpecial/set_parameter_nossl.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sslSpecial/mixed_mode_sharded_transition_nossl.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sslSpecial/mixed_mode_sharded_nossl.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sslSpecial/mixed_mode_repl_nossl.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sslSpecial/SERVER-26369.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/ssl/x509_startup_warning.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/ssl/x509_multivalue.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/ssl/x509_invalid.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/ssl/x509_custom.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/ssl/x509_client.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/ssl/x509_all_the_oids.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/ssl/upgrade_to_x509_ssl.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/ssl/upgrade_to_ssl.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/ssl/upgrade_noauth_to_x509_ssl.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/ssl/tls1_0.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/ssl/ssl_x509_roles.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/ssl/ssl_without_ca.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/ssl/ssl_withhold_client_cert.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/ssl/ssl_with_system_ca.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/ssl/ssl_weak.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/ssl/ssl_uri.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/ssl/ssl_restricted_protocols.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/ssl/ssl_private_key.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/ssl/ssl_options.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/ssl/ssl_invalid_server_cert.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/ssl/ssl_hostname_validation.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/ssl/ssl_get_more.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/ssl/ssl_fragment.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/ssl/ssl_fips.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/ssl/ssl_crl_revoked.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/ssl/ssl_crl.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/ssl/ssl_count_protocols.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/ssl/ssl_cluster_file.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/ssl/ssl_cluster_ca.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/ssl/ssl_client_certificate_warning_suppression.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/ssl/ssl_cert_selector_apple.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/ssl/ssl_cert_selector.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/ssl/ssl_cert_password.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/ssl/ssl_alert_reporting.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/ssl/shell_x509_system_user.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/ssl/shell_option_parsing.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/ssl/sharding_with_x509.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/ssl/set_parameter_ssl.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/ssl/repl_ssl_noca.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/ssl/mixed_mode_sharded_transition.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/ssl/mixed_mode_sharded.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/ssl/mixed_mode_repl.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/ssl/libs/ssl_x509_role_auth_utf8.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/ssl/libs/ssl_x509_role_auth_escape.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/ssl/libs/ssl_x509_role_auth_email.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/ssl/libs/ssl_x509_role_auth.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/ssl/libs/ssl_helpers.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/ssl/initial_sync1_x509.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/ssl/disable_x509.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/ssl/dh_params.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/slow1/sharding_multiple_collections.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/slow1/replsets_priority1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/slow1/mr_during_migrate.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/slow1/large_role_chain.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/slow1/initial_sync_many_dbs.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/slow1/conc_update.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/zero_shard_version.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/zbigMapReduce.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/write_transactions_during_migration.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/write_commands_sharding_state.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/write_cmd_auto_split.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/views.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/view_rewrite.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/version2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/version1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/validate_collection.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/uuid_propagated_to_recipient_shard_on_recvChunkStart.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/uuid_propagated_to_config_server_on_shardCollection.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/user_flags_sharded.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/use_rsm_data_for_cs.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/upsert_sharded.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/update_zone_key_range_not_sharded.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/update_zone_key_range.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/update_sharded.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/update_immutable_fields.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/unowned_doc_filtering.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/transactions_prohibited_in_sharded_cluster.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/trace_missing_docs_test.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/top_chunk_split.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/top_chunk_autosplit.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/time_zone_info_mongos.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/test_stacked_migration_cleanup.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/tag_range.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/tag_auto_split_partial_key.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/tag_auto_split.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/stats.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/startup_with_all_configs_down.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/stale_version_write.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/stale_mongos_updates_and_removes.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/ssv_config_check.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/split_with_force_small.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/split_with_force.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/split_stale_mongos.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/split_large_key.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/split_against_shard_with_invalid_split_points.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/sort1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/shards_and_config_return_last_committed_optime.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/sharding_with_keyfile.key + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/sharding_system_namespaces.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/sharding_rs2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/sharding_rs1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/sharding_options.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/sharding_multiple_ns_rs.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/sharding_migrate_cursor1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/sharding_balance4.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/sharding_balance3.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/sharding_balance2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/sharding_balance1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/sharded_profile.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/sharded_limit_batchsize.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/shard_with_special_db_names.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/shard_targeting.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/shard_kill_and_pooling.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/shard_keycount.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/shard_key_immutable.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/shard_insert_getlasterror_w2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/shard_identity_rollback.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/shard_identity_config_update.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/shard_existing_coll_chunk_count.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/shard_existing.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/shard_config_db_collections.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/shard_collection_verify_initial_chunks.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/shard_collection_existing_zones.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/shard_collection_cache_upgrade_downgrade.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/shard_collection_basic.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/shard_aware_primary_failover.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/shard_aware_on_add_shard.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/shard_aware_init_secondaries.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/shard_aware_init.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/shard7.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/shard6.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/shard5.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/shard4.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/shard3.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/shard2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/shard1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/sessions_collection_auto_healing.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/session_info_in_oplog.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/server_status.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/secondary_shard_versioning.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/secondary_shard_version_protocol_with_causal_consistency.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/safe_secondary_reads_single_migration_waitForDelete.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/safe_secondary_reads_single_migration_suspend_range_deletion.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/safe_secondary_reads_drop_recreate.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/rs_stepdown_and_pooling.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/return_partial_shards_down.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/retryable_writes.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/resume_change_stream_on_subset_of_shards.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/resume_change_stream_from_stale_mongos.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/resume_change_stream.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/replmonitor_bad_seed.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/replication_with_undefined_shard_key.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/repl_monitor_refresh.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/rename_across_mongos.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/rename.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/remove_shard_from_zone.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/remove3.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/remove2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/remove1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/regex_targeting.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/refresh_sessions.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/recovering_slaveok.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/read_pref_multi_mongos_stale_config.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/read_pref_cmd.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/read_pref.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/read_does_not_create_namespaces.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/read_committed_lookup.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/read_after_optime.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/query_sharded.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/query_config.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/query_after_multi_write.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/printShardingStatus.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/primary_config_server_blackholed_from_mongos.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/presplit.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/prefix_shard_key.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/pending_chunk.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/parallel.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/oplog_document_key.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/operation_time_api.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/not_allowed_on_sharded_collection_cmd.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/nonreplicated_uuids_on_shardservers.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/no_empty_reset.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/noUpdateButN1inAnotherCollection.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/names.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/multi_write_target.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/multi_mongos2a.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/multi_mongos2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/multi_coll_drop.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/mr_shard_version.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/mr_noscripting.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/mr_and_agg_versioning.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/mrShardedOutputAuth.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/mrShardedOutput.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/movechunk_with_noMoveParanoia.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/movechunk_with_moveParanoia.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/movechunk_with_default_paranoia.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/movechunk_parallel.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/movechunk_interrupt_at_primary_stepdown.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/movechunk_include.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/movechunk_commit_changelog_stats.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/move_stale_mongos.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/move_primary_with_test_flag.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/move_primary_fcv_40.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/move_primary_fails_without_database_version.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/move_primary_clone_test.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/move_primary_basic.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/move_chunk_with_session_helper.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/move_chunk_wc.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/move_chunk_update_with_write_retryability.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/move_chunk_remove_with_write_retryability.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/move_chunk_open_cursors.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/move_chunk_missing_idx.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/move_chunk_insert_with_write_retryability.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/move_chunk_find_and_modify_with_write_retryability.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/move_chunk_basic.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/movePrimary1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/moveChunk_recipient_rejects_chunk_if_UUID_mismatch.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/mongos_wait_csrs_initiate.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/mongos_validate_writes.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/mongos_shard_failure_tolerance.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/mongos_rs_shard_failure_tolerance.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/mongos_rs_auth_shard_failure_tolerance.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/mongos_query_comment.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/mongos_no_replica_set_refresh.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/mongos_no_detect_sharding.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/mongos_local_explain.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/mongos_does_not_gossip_logical_time_without_keys.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/mongod_returns_no_cluster_time_without_keys.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/missing_key.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/min_optime_recovery_on_successful_move_chunk_commit.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/min_optime_recovery_on_failed_move_chunk_commit.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/migration_with_source_ops.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/migration_sets_fromMigrate_flag.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/migration_server_status.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/migration_move_chunk_after_receive.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/migration_ignore_interrupts_4.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/migration_ignore_interrupts_3.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/migration_ignore_interrupts_2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/migration_ignore_interrupts_1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/migration_id_index.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/migration_failure.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/migration_critical_section_concurrency.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/migrate_overwrite_id.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/migrateBig_balancer.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/migrateBig.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/merge_chunks_test_with_md_ops.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/merge_chunks_test.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/merge_chunks_compound_shard_key.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/max_time_ms_sharded_new_commands.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/max_time_ms_sharded.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/map_reduce_validation.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/mapReduce_outSharded_checkUUID.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/mapReduce_outSharded.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/mapReduce_nonSharded.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/mapReduce_inSharded_outSharded.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/mapReduce_inSharded.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/major_version_check.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/lookup_change_stream_post_image_id_shard_key.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/lookup_change_stream_post_image_hashed_shard_key.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/lookup_change_stream_post_image_compound_shard_key.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/logical_time_metadata.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/logical_time_api.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/localhostAuthBypass.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/listshards.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/listDatabases.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/linearizable_read_concern.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/limit_push.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/large_skip_one_shard.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/large_chunk.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/lagged_config_secondary.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/killop.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/kill_sessions.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/kill_pinned_cursor.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/kill_op_overflow.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/keys_rotation_interval_sec.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/key_string.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/key_rotation.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/key_many.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/jumbo1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/json_schema.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/ismaster.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/inserts_consistent.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/initial_split_validate_shard_collections.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/index_and_collection_option_propagation.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/index1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/in_memory_sort_limit.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/implicit_db_creation.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/idhack_sharded.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/hash_single_shard.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/hash_shard_unique_compound.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/hash_shard_num_chunks.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/hash_shard_non_empty.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/hash_shard1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/hash_basic.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/group_slaveok.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/geo_near_sort.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/geo_near_sharded.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/geo_near_random2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/geo_near_random1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/fts_score_sort_sharded.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/forget_mr_temp_ns.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/findandmodify2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/findandmodify1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/find_getmore_cmd.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/find_and_modify_after_multi_write.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/features3.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/features2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/features1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/explain_read_pref.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/explain_find_and_modify_sharded.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/explain_cmd.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/explain_agg_read_pref.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/explainFind_stale_mongos.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/exact_shard_key_target.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/error_propagation.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/error_during_agg_getmore.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/enforce_zone_policy.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/enable_sharding_basic.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/empty_doc_results.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/empty_cluster_init.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/dump_coll_metadata.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/drop_sharded_db_tags_cleanup.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/drop_sharded_db.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/drop_configdb.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/disable_autosplit.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/diffservers1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/delete_during_migrate.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/database_versioning_upgrade_downgrade.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/database_versioning_safe_secondary_reads.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/database_and_shard_versioning_all_commands.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/cursor_valid_after_shard_stepdown.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/cursor_timeout.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/cursor_cleanup.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/cursor1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/current_op_no_shards.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/create_idx_empty_primary.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/create_database.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/crash_mongos_against_upgraded_cluster.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/covered_shard_key_indexes.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/count_slaveok.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/count_config_servers.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/count2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/count1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/copydb_from_mongos.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/convert_to_and_from_sharded.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/conn_pool_stats.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/configsvr_metadata_commands_require_majority_write_concern.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/config_rs_no_primary.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/config_rs_change.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/conf_server_write_concern_metadata.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/commands_that_write_accept_wc_shards.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/commands_that_write_accept_wc_configRS.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/collation_targeting_inherited.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/collation_targeting.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/coll_epoch_test2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/coll_epoch_test1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/coll_epoch_test0.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/clone_catalog_data.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/cleanup_orphaned_compound.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/cleanup_orphaned_cmd_prereload.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/cleanup_orphaned_cmd_hashed.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/cleanup_orphaned_cmd_during_movechunk_hashed.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/cleanup_orphaned_cmd_during_movechunk.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/cleanup_orphaned_basic.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/cleanup_orphaned_auth.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/cleanup_orphaned.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/change_streams_whole_db.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/change_streams_unsharded_becomes_sharded.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/change_streams_shards_start_in_sync.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/change_streams_primary_shard_unaware.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/change_streams_establishment_finds_new_shards.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/change_streams.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/change_stream_update_lookup_read_concern.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/change_stream_update_lookup_collation.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/change_stream_shard_failover.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/change_stream_resume_from_different_mongos.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/change_stream_read_preference.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/change_stream_no_shards.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/change_stream_metadata_notifications.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/change_stream_lookup_single_shard_cluster.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/change_stream_enforce_max_time_ms_on_mongos.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/change_stream_chunk_migration.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/causal_consistency_shell_support.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/bulk_shard_insert.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/bulk_insert.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/bouncing_count.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/batch_write_command_sharded.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/basic_split.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/basic_sharding_params.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/basic_merge.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/basic_drop_coll.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/balancer_window.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/balancer_shell_commands.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/balance_repl.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/autosplit_with_balancer.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/autosplit_heuristics.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/autosplit.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/autodiscover_config_rs_from_secondary.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/auto_rebalance_parallel_replica_sets.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/auto_rebalance_parallel.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/authwhere.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/authmr.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/auth_slaveok_routing.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/auth_sharding_cmd_metadata.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/auth_repl.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/auth_no_config_primary.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/auth_copydb.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/auth_add_shard.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/authConnectionHook.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/authCommands.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/auth2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/auth.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/array_shard_key.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/arbiters_do_not_use_cluster_time.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/allow_partial_results.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/all_shard_and_config_hosts_brought_down_one_by_one.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/all_config_servers_blackholed_from_mongos.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/aggregations_in_session.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/aggregation_currentop.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/agg_sort.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/agg_project_limit_pipe_split.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/after_cluster_time.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/advance_logical_time_with_valid_signature.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/advance_cluster_time_action_type.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/addshard_idempotent.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/addshard6.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/addshard5.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/addshard4.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/addshard2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/addshard1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/add_shard_to_zone.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/accurate_count_with_predicate.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding/SERVER-7379.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/serial_run/srv-uri.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/serial_run/memory.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/serial_run/index_multi.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/serial_run/README + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/zero_vote_arbiter.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/write_concern_after_stepdown_and_stepup.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/write_concern_after_stepdown.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/view_definition_initial_sync_with_feature_compatibility.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/user_management_wc.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/uninitialized_fcv_access.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/two_nodes_priority_take_over.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/transient_txn_error_labels.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/transactions_reaped_with_tickets_exhausted.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/transactions_only_allowed_on_primaries.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/transactions_after_rollback_via_refetch.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/transaction_table_oplog_replay.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/transaction_table_multi_statement_txn.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/transaction_commit_abort_on_secondaries.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/too_stale_secondary.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/test_command.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/temp_namespace_restart_as_standalone.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/temp_namespace.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/tags_with_reconfig.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/tags2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/tags.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/system_profile_secondary.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/system_profile.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/sync_passive.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/sync2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/storage_commit_out_of_order.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/stepup.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/stepdown_needs_majority.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/stepdown_needs_electable_secondary.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/stepdown_long_wait_time.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/stepdown_killop.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/stepdown_kill_other_ops.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/stepdown_catch_up_opt.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/stepdown3.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/stepdown.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/step_down_during_draining3.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/step_down_during_draining2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/step_down_during_draining.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/startParallelShell.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/speculative_transaction.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/speculative_read_transaction.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/slaveok_read_pref.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/slavedelay3.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/slavedelay1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/slave_delay_clean_shutdown.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/sized_zero_capped.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/single_server_majority.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/shutdown_primary.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/shutdown.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/sessions_collection_auto_healing.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/server_status_repl.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/server_status_metrics.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/server8070.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/secondary_reads_unique_indexes.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/secondary_reads_timestamp_visibility.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/rslib.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/rollback_with_socket_error_then_steady_state.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/rollback_waits_for_bgindex_completion.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/rollback_views.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/rollback_transactions_count.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/rollback_transaction_table.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/rollback_time_limit_param.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/rollback_rename_count.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/rollback_rename_collection_on_sync_source.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/rollback_remote_cursor_retry.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/rollback_drop_index_after_rename.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/rollback_drop_database.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/rollback_different_h.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/rollback_ddl_op_sequences.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/rollback_crud_op_sequences.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/rollback_creates_rollback_directory.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/rollback_collmods.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/rollback_collMod_fatal.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/rollback_cmd_unrollbackable.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/rollback_capped_deletions.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/rollback_auth.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/rollback_all_op_types.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/retryable_writes_failover.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/retryable_writes_direct_write_to_config_transactions.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/retryable_write_concern.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/retryable_commit_transaction_after_restart.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/retryable_commit_transaction_after_failover.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/restore_term.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/request_primary_stepdown.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/replsets_killop.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/replsetrestart1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/replsetprio1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/replsethostnametrim.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/replsetfreeze.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/replsetarb2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/replsetadd_profile.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/replset8.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/replset6.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/replset5.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/replset4.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/replset3.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/replset2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/replset1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/repl_options.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/rename_collection_temp.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/rename_across_dbs_drop_target.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/rename_across_dbs.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/remove1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/reindex_secondary.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/refresh_sessions_rs.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/recovery_after_clean_shutdown_but_not_all_writes_in_snapshot.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/reconfig_tags.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/reconfig_prohibits_w0.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/reconfig.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/read_majority_two_arbs.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/read_concern_uninitated_set.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/read_concern_majority_getmore_secondaries.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/read_committed_with_catalog_changes.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/read_committed_stale_history.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/read_committed_on_secondary.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/read_committed_no_snapshots.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/read_committed_lookup.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/read_committed_after_rollback.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/read_committed.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/read_after_optime.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/priority_takeover_two_nodes_equal_priority.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/priority_takeover_one_node_higher_priority.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/priority_takeover_cascading_priorities.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/primary_casts_vote_on_stepdown.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/plan_cache_slaveok.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/pipelineout.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/optime.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/oplog_wallclock.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/oplog_truncated_on_recovery.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/oplog_term.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/oplog_replay_on_startup_with_bad_op.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/oplog_replay_on_startup_update_and_delete.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/oplog_replay_on_startup.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/oplog_note_cmd.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/oplog_format_create_indexes.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/oplog_format.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/operation_time_read_and_write_concern.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/noop_writes_wait_for_write_concern_fcv.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/noop_writes_wait_for_write_concern.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/no_flapping_during_network_partition.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/no_chaining.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/mr_nonrepl_coll_in_local_db.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/mmap_disallows_rc_majority.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/minimum_visible_with_cluster_time.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/maxSyncSourceLagSecs.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/maintenance_non-blocking.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/maintenance2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/maintenance.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/localhostAuthBypass.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/localhost3.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/localhost2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/localhost1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/linearizable_read_concern.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/libs/two_phase_drops.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/libs/tags.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/libs/secondary_reads_test.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/libs/rollback_test_deluxe.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/libs/rollback_test.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/libs/rename_across_dbs.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/libs/election_handoff.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/libs/apply_ops_insert_write_conflict.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/libs/apply_ops_concurrent_non_atomic.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/lastop.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/last_vote.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/last_op_visible.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/ismaster1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/invalid_index_spec.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/interrupted_batch_insert.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/initiate_prohibits_w0.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/initiate.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/initial_sync_with_write_load.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/initial_sync_visibility.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/initial_sync_views.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/initial_sync_uuid_not_found.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/initial_sync_update_missing_doc3.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/initial_sync_update_missing_doc2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/initial_sync_update_missing_doc1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/initial_sync_unsupported_auth_schema.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/initial_sync_replSetGetStatus.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/initial_sync_rename_collection.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/initial_sync_read_concern_no_oplog.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/initial_sync_oplog_rollover.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/initial_sync_move_forward.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/initial_sync_invalid_views.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/initial_sync_invalid_index_spec.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/initial_sync_fcv.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/initial_sync_fail_insert_once.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/initial_sync_drop_collection.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/initial_sync_document_validation.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/initial_sync_cloner_dups.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/initial_sync_capped_index.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/initial_sync_applier_error.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/initial_sync4.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/initial_sync2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/initial_sync1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/index_restart_secondary.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/index_delete.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/id_index_replication.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/groupAndMapReduce.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/get_status.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/get_replication_info_helper.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/fsync_lock_read_secondaries.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/force_sync_source_candidate.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/find_and_modify_wc.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/explain_slaveok.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/emptycapped.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/election_handoff_one_unelectable.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/election_handoff_higher_priority.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/election_handoff_flip.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/election_handoff_basic.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/drop_oplog.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/drop_databases_two_phase.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/drop_collections_two_phase_write_concern.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/drop_collections_two_phase_step_down.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/drop_collections_two_phase_rename_drop_target.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/drop_collections_two_phase_long_index_names.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/drop_collections_two_phase_dbhash.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/drop_collections_two_phase_apply_ops_rename.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/drop_collections_two_phase_apply_ops_drop.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/drop_collections_two_phase_apply_ops_create.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/drop_collections_two_phase_apply_ops_convert_to_capped.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/drop_collections_two_phase.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/drain.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/double_rollback_early.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/double_rollback.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/disallow_adding_initialized_node2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/disallow_adding_initialized_node1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/dbhash_system_collections.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/dbhash_lock_acquisition.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/dbhash_at_cluster_time.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/dbcheck.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/copydb.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/config_server_checks.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/commands_that_write_accept_wc.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/command_response_operation_time.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/collection_validator_initial_sync_with_feature_compatibility.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/collate_id.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/cloneDb.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/clean_shutdown_oplog_state.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/chaining_removal.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/catchup_takeover_two_nodes_ahead.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/catchup_takeover_one_high_priority.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/catchup.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/capped_insert_order.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/bulk_api_wc.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/buildindexes_false_with_system_indexes.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/buildindexes.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/batch_write_command_wc.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/background_index.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/awaitdata_getmore_new_last_committed_optime.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/await_replication_timeout.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/auth_no_pri.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/auth2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/auth1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/apply_ops_wc.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/apply_ops_lastop.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/apply_ops_insert_write_conflict_nonatomic.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/apply_ops_insert_write_conflict_atomic.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/apply_ops_idempotency.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/apply_ops_create_with_uuid.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/apply_ops_create_view.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/apply_ops_create_indexes.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/apply_ops_concurrent_non_atomic_same_db.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/apply_ops_concurrent_non_atomic_same_collection.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/apply_ops_concurrent_non_atomic_different_db.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/apply_batches_totalMillis.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/apply_batch_only_goes_forward.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/already_checked_out_session.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/readonly/write_ops.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/readonly/temp_collection.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/readonly/server_status.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/readonly/lib/read_only_test.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/readonly/get_more.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/readonly/geo.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/readonly/find.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/readonly/distinct.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/readonly/count.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/readonly/catalog_ops.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/readonly/aggregate.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/perf/v8_mapreduce.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/perf/remove1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/perf/mr_bench.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/perf/index1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/perf/geo_near1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/perf/find1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/perf/compact_speed_test.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/parallel/update_serializability2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/parallel/update_serializability1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/parallel/shellfork.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/parallel/manyclients.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/parallel/insert.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/parallel/del.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/parallel/checkMultiThread.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/parallel/basicPlus.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/parallel/basic.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/parallel/allops.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthroughWithMongod/wt_roundtrip_creation_string.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthroughWithMongod/views_invalid.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthroughWithMongod/validate_interrupt.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthroughWithMongod/validate_command.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthroughWithMongod/ttl_sharded.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthroughWithMongod/ttl_repl_secondary_disabled.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthroughWithMongod/ttl_repl_maintenance.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthroughWithMongod/ttl_repl.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthroughWithMongod/ttl1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthroughWithMongod/top_drop.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthroughWithMongod/testing_only_commands.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthroughWithMongod/temp_namespace.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthroughWithMongod/tailable_getmore_does_not_timeout.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthroughWithMongod/shelllimit.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthroughWithMongod/shell_advance_cluster_time.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthroughWithMongod/sharding_rs_arb1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthroughWithMongod/sharding_migrate_large_docs.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthroughWithMongod/server7428.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthroughWithMongod/rpc_protocols.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthroughWithMongod/replset_host_connection_validation.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthroughWithMongod/replReads.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthroughWithMongod/remove9.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthroughWithMongod/recstore.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthroughWithMongod/reconfigwt.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthroughWithMongod/query_oplogreplay.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthroughWithMongod/parallel_collection_scan.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthroughWithMongod/no_balance_collection.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthroughWithMongod/newcollection2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthroughWithMongod/mr_writeconflict.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthroughWithMongod/mr_noscripting.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthroughWithMongod/moveprimary-replset.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthroughWithMongod/mapreduce_intermediate_reduce.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthroughWithMongod/logpath.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthroughWithMongod/log_component_helpers.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthroughWithMongod/isMaster_feature_compatibility_version.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthroughWithMongod/ipv6_connection_string_validation.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthroughWithMongod/invalidation_during_resolve_view.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthroughWithMongod/insertMulti.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthroughWithMongod/indexbg_updates.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthroughWithMongod/indexbg_restart_secondary_noretry.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthroughWithMongod/indexbg_restart_secondary.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthroughWithMongod/indexbg_interrupts.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthroughWithMongod/indexbg_drop.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthroughWithMongod/index_hammer1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthroughWithMongod/index_check9.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthroughWithMongod/index_check10.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthroughWithMongod/index_boundary_values_validate.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthroughWithMongod/huge_multikey_index.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthroughWithMongod/host_connection_string_validation.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthroughWithMongod/getmore_error.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthroughWithMongod/getmore_awaitdata_opcounters.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthroughWithMongod/geo_polygon.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthroughWithMongod/geo_near_random2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthroughWithMongod/geo_near_random1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthroughWithMongod/geo_mnypts.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthroughWithMongod/geo_axis_aligned.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthroughWithMongod/ftdc_params.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthroughWithMongod/find_cmd.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthroughWithMongod/find_and_modify_server16469.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthroughWithMongod/external_sort_text_agg.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthroughWithMongod/explain3.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthroughWithMongod/explain2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthroughWithMongod/explain1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthroughWithMongod/eval_with_godinsert.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthroughWithMongod/dup_bgindex.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthroughWithMongod/default_read_pref.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthroughWithMongod/dbcommand_cursor_throws_on_closed_conn.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthroughWithMongod/cursor_server_status_metrics.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthroughWithMongod/currentop_includes_connid.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthroughWithMongod/create_indexes_shell_helper.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthroughWithMongod/connections_opened.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthroughWithMongod/commands_that_write_accept_wc_standalone.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthroughWithMongod/clonecollection.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthroughWithMongod/capped_truncate.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthroughWithMongod/capped4.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthroughWithMongod/bulk_api_limits.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthroughWithMongod/btreedel.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthroughWithMongod/benchrun_substitution.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthroughWithMongod/bench_test_crud_commands.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthroughWithMongod/background.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthroughWithMongod/apply_ops_errors.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthrough/yield_group.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthrough/yield_during_writes.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthrough/wt_unclean_shutdown.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthrough/wt_prepare_conflict.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthrough/wt_nojournal_toggle.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthrough/wt_nojournal_skip_recovery.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthrough/wt_nojournal_fsync.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthrough/wt_malformed_creation_string.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthrough/wt_index_option_defaults.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthrough/wt_disable_majority_reads.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthrough/wt_delayed_secondary_read_concern_majority.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthrough/wt_cache_full.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthrough/write_local.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthrough/views_legacy.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthrough/verify_session_cache_updates.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthrough/utf8_paths.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthrough/update_server-5552.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthrough/update_post_image_validation.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthrough/unsupported_change_stream_deployments.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthrough/unix_socket.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthrough/ttl_partial_index.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthrough/ttl_capped.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthrough/transactions_enabled_in_memory_parameter.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthrough/transaction_reaper.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthrough/transactionLifetimeLimitSeconds_setParameter.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthrough/timestamp_index_builds.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthrough/thread_args.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthrough/tailable_getmore_to_mongos_does_not_timeout.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthrough/system_indexes.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthrough/sync_write.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthrough/stepdown_query.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthrough/startup_logging.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthrough/start_session_command.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthrough/standalone_replication_recovery.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthrough/split_collections_and_indexes.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthrough/snapshot_reads.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthrough/snapshot_cursor_shutdown_stepdown.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthrough/snapshot_cursor_integrity.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthrough/skip_sharding_configuration_checks.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthrough/shell_write_assertions.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthrough/shell_session_option_defaults.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthrough/shell_retry_writes_uri.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthrough/shell_retry_writes_on_retryable_errors.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthrough/shell_quit.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthrough/shell_history.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthrough/shell_helper_use_database.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthrough/shell_gossip_cluster_time.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthrough/shell_error_codes.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthrough/shell_cmd_assertions.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthrough/shell_can_use_read_concern.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthrough/shell_can_retry_writes.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthrough/shell_assertions.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthrough/shell_appname_uri.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthrough/shard_fixture_selftest.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthrough/sessions_collection_auto_healing.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthrough/server_transaction_metrics.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthrough/server_status.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthrough/rollback_wt_cache_full.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthrough/retryable_writes_standalone_api.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthrough/retryable_writes_mmap.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthrough/retry_network_error_test.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthrough/restart_node_with_bridge.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthrough/restart_catalog_sharded_cluster.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthrough/restart_catalog_preserves_min_visible.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthrough/replica_set_connection_stepdown.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthrough/replica_set_connection_getmore.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthrough/replica_set_connection_error_codes.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthrough/repl_write_threads_start_param.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthrough/repair_flag_transport_layer.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthrough/repair2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthrough/refresh_sessions_internal_command.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthrough/refresh_sessions_command.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthrough/refresh_logical_session_cache_now.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthrough/recovery_wt_cache_full.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthrough/rebuild_multiple_indexes_at_startup.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthrough/read_only_command_line.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthrough/read_majority_reads.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthrough/read_majority.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthrough/read_concern_snapshot_yielding.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthrough/read_concern_snapshot_catalog_invalidation.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthrough/read_concern_snapshot_aggregation.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthrough/read_concern_helper.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthrough/readConcern_snapshot_mongos_enable_test_commands.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthrough/readConcern_snapshot_mongos.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthrough/readConcern_snapshot.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthrough/readConcern_atClusterTime_snapshot_selection.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthrough/readConcern_atClusterTime_noop_write.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthrough/readConcern_atClusterTime.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthrough/queryable_backup_mode_incompatible_options.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthrough/query_yield_reset_timer.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthrough/query_yield2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthrough/query_yield1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthrough/profile_options.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthrough/profile_agg_multiple_batches.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthrough/prepare_transaction.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthrough/prepare_conflict.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthrough/port_options.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthrough/plan_cache_index_create.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthrough/partial_unique_indexes.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthrough/parse_zone_info.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthrough/parameters.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthrough/ns1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthrough/noncapped_oplog_creation.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthrough/non_atomic_apply_ops_logging.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthrough/nested_tojson.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthrough/mongoebench_test.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthrough/minvalid2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthrough/minvalid.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthrough/max_bson_depth_parameter.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthrough/max_acceptable_logical_clock_drift_secs_parameter.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthrough/low_js_heap_limit.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthrough/loglong.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthrough/logical_session_cursor_checks.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthrough/logical_session_cache_find_getmore.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthrough/logging_options.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthrough/log_format_slowms_samplerate_loglevel.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthrough/log_find_getmore.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthrough/lock_stats.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthrough/lock_file_fail_to_open.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthrough/lock_file.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthrough/list_indexes_only_ready_indexes.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthrough/list_databases_and_rename_collection.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthrough/libs/index_build.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthrough/libs/concurrent_rename.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthrough/libs/backup_restore.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthrough/launcher_test.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthrough/latency_includes_lock_acquisition_time.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthrough/killop.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthrough/kill_sessions.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthrough/kill_pinned_cursor.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthrough/json_schema_ignore_unknown_keywords.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthrough/js_protection_roundtrip.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthrough/js_protection.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthrough/jsHeapLimit.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthrough/javascript_options.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthrough/internal_validate_features_as_master.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthrough/inmem_full.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthrough/inmem_config_str.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthrough/initial_sync_wt_cache_full.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthrough/indexbg_shutdown.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthrough/indexbg2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthrough/indexbg1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthrough/index_version_v2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthrough/index_version_autoupgrade.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthrough/index_partial_no_explain_cmds.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthrough/index_killop.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthrough/implicit_sessions.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthrough/hostname_bind_ips.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthrough/group_interrupt_js_execution.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthrough/global_transaction_latency_histogram.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthrough/global_operation_latency_histogram.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthrough/geo_near_random2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthrough/geo_near_random1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthrough/geo_mnypts_plus_fields.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthrough/geo_full.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthrough/ftdc_setparam.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthrough/ftdc_setdirectory.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthrough/find_by_uuid_and_rename.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthrough/filemd5_kill_during_yield.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthrough/feature_compatibility_version.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthrough/failcommand_failpoint.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthrough/exit_logging.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthrough/exhaust_option_disallowed_in_session.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthrough/end_sessions_command.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthrough/durable_view_catalog.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthrough/dropcollection_duplicate_fields.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthrough/document_count_functions.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthrough/do_not_rebuild_indexes_before_repair.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthrough/diskFull.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthrough/disable_majority_reads_restart.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthrough/directoryperdb.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthrough/dir_per_db_and_split.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthrough/devnull.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthrough/dbhash_capped_collection.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthrough/data_consistency_checks.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthrough/cycle_detection_test.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthrough/cursor_timeout_interrupt.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthrough/currentop_transaction_metrics.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthrough/currentop_query.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthrough/currentop_includes_await_time.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthrough/currentop_inactive_transaction_includes_last_client_info.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthrough/currentop_active_transaction.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthrough/crud_timestamps.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthrough/cross_user_getmore_has_no_side_effects.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthrough/count_helper_read_preference.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthrough/copydb_illegal_collections.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthrough/compression_options.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthrough/commands_preserve_exec_error_code.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthrough/commands_handle_kill.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthrough/command_line_parsing.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthrough/collation_clone_collection.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthrough/coll_mod_apply_ops.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthrough/closeAll_with_background_ops_fails_safely.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthrough/client_metadata_slowlog.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthrough/client_metadata_log.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthrough/change_streams_update_lookup_collation.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthrough/change_streams_required_privileges.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthrough/change_streams_require_majority_read_concern.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthrough/change_stream_failover.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthrough/change_stream_concurrent_implicit_db_create.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthrough/bind_all_ipv6.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthrough/backup_restore_stop_start.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthrough/backup_restore_rolling.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthrough/backup_restore_fsync_lock.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthrough/auto_retry_on_network_error.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthrough/auth_reject_mismatching_logical_times.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthrough/atomic_rename_collection.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthrough/apply_ops_overwrite_admin_system_version.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthrough/apply_ops_mode.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthrough/aggregation_zero_batchsize.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthrough/aggregation_cursor_invalidations.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthrough/agg_explain_read_concern.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthrough/after_cluster_time.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthrough/afterClusterTime_committed_reads.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/multiVersion/view_definition_feature_compatibility_version.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/multiVersion/verify_versions_test.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/multiVersion/upgrade_downgrade_while_creating_collection.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/multiVersion/upgrade_cluster.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/multiVersion/transitioning_to_and_from_WT.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/multiVersion/startup_without_UUIDs_fails.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/multiVersion/set_feature_compatibility_version.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/multiVersion/rollback_latest_to_last_stable.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/multiVersion/rollback_last_stable_to_latest.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/multiVersion/repair_feature_compatibility_version.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/multiVersion/rename_across_dbs_last_stable_secondary_drop_target.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/multiVersion/rename_across_dbs_last_stable_secondary.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/multiVersion/rename_across_dbs_last_stable_primary_drop_target.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/multiVersion/rename_across_dbs_last_stable_primary.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/multiVersion/remove_feature_compatibility_version.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/multiVersion/new_mongos_old_mongod_wire_version_clash.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/multiVersion/mixed_storage_version_replication.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/multiVersion/minor_version_upgrade_replset.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/multiVersion/minor_version_tags_old_new_old.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/multiVersion/minor_version_tags_new_old_new.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/multiVersion/migration_between_mixed_version_mongods.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/multiVersion/migration_between_mixed_FCV_mixed_version_mongods.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/multiVersion/major_version_upgrade.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/multiVersion/libs/verify_versions.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/multiVersion/libs/verify_collection_data.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/multiVersion/libs/multiversion_rollback.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/multiVersion/libs/multi_rs.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/multiVersion/libs/multi_cluster.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/multiVersion/libs/initial_sync.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/multiVersion/libs/dumprestore_helpers.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/multiVersion/libs/data_generators.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/multiVersion/libs/causal_consistency_helpers.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/multiVersion/libs/auth_helpers.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/multiVersion/initialize_from_old_node.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/multiVersion/initial_sync_latest_from_last_stable.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/multiVersion/initial_sync_last_stable_from_latest.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/multiVersion/feature_compatibility_version_lagging_secondary.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/multiVersion/fcv_db_versioning.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/multiVersion/fcv_chunk_history.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/multiVersion/ensure_last_applied_on_upgrade_to_40.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/multiVersion/dumprestore_sharded.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/multiVersion/dumprestore.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/multiVersion/drop_mmap_system_collections_on_wt.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/multiVersion/downgrade_to_36_only_with_recovered_data.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/multiVersion/downgrade_replset.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/multiVersion/do_upgrade_downgrade.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/multiVersion/collection_validator_feature_compatibility_version.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/multiVersion/change_streams_feature_compatibility_version.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/multiVersion/change_stream_in_session_last_stable_mongos.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/multiVersion/cannot_create_system_dot_indexes.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/multiVersion/balancer_multiVersion_detect.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/multiVersion/add_invalid_shard.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/multiVersion/3_upgrade_replset.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/multiVersion/2_test_launching_cluster.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/multiVersion/1_test_launching_replset.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/mmap_v1/use_power_of_2_a.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/mmap_v1/use_power_of_2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/mmap_v1/update.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/mmap_v1/touch1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/mmap_v1/syncdelay_overflow.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/mmap_v1/stats.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/mmap_v1/reverse_empty_extent.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/mmap_v1/repair_cursor1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/mmap_v1/list_indexes2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/mmap_v1/list_collections2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/mmap_v1/indexi.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/mmap_v1/indexh.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/mmap_v1/index_check1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/mmap_v1/extent2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/mmap_v1/extent.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/mmap_v1/dur_remove_old_journals.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/mmap_v1/drop.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/mmap_v1/disk_reuse1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/mmap_v1/datasize3.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/mmap_v1/datasize.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/mmap_v1/compactPreservePadding.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/mmap_v1/compact.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/mmap_v1/collmod.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/mmap_v1/capped_server7543.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/mmap_v1/capped_server2639.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/mmap_v1/capped_server13912.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/mmap_v1/capped_max.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/mmap_v1/capped8.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/mmap_v1/capped7.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/mmap_v1/capped3.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/mmap_v1/capped2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/libs/write_concern_util.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/libs/uuid_util.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/libs/txns/txn_passthrough_runner_selftest.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/libs/txns/txn_passthrough_runner.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/libs/txns/txn_override.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/libs/trusted-server.pfx + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/libs/trusted-server.pem + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/libs/trusted-client.pfx + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/libs/trusted-client.pem + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/libs/trusted-ca.pem + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/libs/trace_missing_docs.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/libs/testconfig + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/libs/test_background_ops.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/libs/stats.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/libs/ssl_test.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/libs/specific_secondary_reader_mongo.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/libs/smoke.pem + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/libs/sessions_collection.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/libs/server.pem + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/libs/retryable_writes_util.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/libs/read_committed_lib.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/libs/profiler.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/libs/password_protected.pem + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/libs/parallel_shell_helpers.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/libs/parallelTester.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/libs/override_methods/validate_collections_on_shutdown.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/libs/override_methods/sharding_continuous_config_stepdown.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/libs/override_methods/set_read_preference_secondary.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/libs/override_methods/set_read_and_write_concerns.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/libs/override_methods/retry_writes_at_least_once.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/libs/override_methods/override_helpers.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/libs/override_methods/mongos_manual_intervention_actions.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/libs/override_methods/implicitly_wrap_pipelines_in_facets.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/libs/override_methods/implicitly_shard_accessed_collections.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/libs/override_methods/implicitly_retry_on_database_drop_pending.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/libs/override_methods/implicit_whole_db_changestreams.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/libs/override_methods/implicit_whole_cluster_changestreams.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/libs/override_methods/find_batch_size.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/libs/override_methods/fail_unclean_shutdown_start_parallel_shell.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/libs/override_methods/fail_unclean_shutdown_incompatible_commands.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/libs/override_methods/enable_sessions.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/libs/override_methods/enable_causal_consistency_without_read_pref.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/libs/override_methods/enable_causal_consistency.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/libs/override_methods/detect_spawning_own_mongod.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/libs/override_methods/continuous_stepdown.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/libs/override_methods/check_uuids_consistent_across_cluster.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/libs/override_methods/check_for_operation_not_supported_in_transaction.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/libs/override_methods/auto_retry_on_network_error.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/libs/not_yet_valid.pem + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/libs/namespace_utils.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/libs/mongoebench.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/libs/mongodbauthorizationgrant.cnf + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/libs/mockuser.keytab + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/libs/mockservice.keytab + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/libs/mockkrb5.conf + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/libs/localhostnameSAN.pem + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/libs/localhostnameCN.pem + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/libs/kill_sessions.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/libs/key2 + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/libs/key1_644 + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/libs/key1 + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/libs/jstestfuzz/hook_utils.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/libs/jstestfuzz/check_for_interrupt_hook.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/libs/json_schema_test_runner.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/libs/host_ipaddr.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/libs/global_snapshot_reads_util.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/libs/get_index_helpers.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/libs/geo_near_random.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/libs/geo_math.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/libs/fts.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/libs/ftdc.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/libs/fsm_serial_client.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/libs/fixture_helpers.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/libs/feature_compatibility_version.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/libs/expired.pem + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/libs/dur_checksum_good.journal + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/libs/dur_checksum_bad_last.journal + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/libs/dur_checksum_bad_first.journal + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/libs/discover_topology.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/libs/dateutil.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/libs/database_versioning.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/libs/cycle_detection.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/libs/csrs_upgrade_util.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/libs/crl_expired.pem + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/libs/crl_client_revoked.pem + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/libs/crl.pem + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/libs/config_files/set_verbosity.json + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/libs/config_files/set_shardingrole.json + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/libs/config_files/set_replsetname.json + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/libs/config_files/set_profiling.json + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/libs/config_files/set_component_verbosity.json + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/libs/config_files/implicitly_enable_nojournal.ini + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/libs/config_files/implicitly_enable_nodur.ini + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/libs/config_files/implicitly_enable_journal.ini + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/libs/config_files/implicitly_enable_dur.ini + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/libs/config_files/good_timezone_info/GMT + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/libs/config_files/enable_unixsocket.json + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/libs/config_files/enable_scripting.json + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/libs/config_files/enable_prealloc.json + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/libs/config_files/enable_paranoia.json + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/libs/config_files/enable_objcheck.json + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/libs/config_files/enable_journal.json + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/libs/config_files/enable_indexbuildretry.json + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/libs/config_files/enable_auth.json + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/libs/config_files/disable_objcheck.ini + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/libs/config_files/disable_nounixsocket.ini + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/libs/config_files/disable_noscripting.ini + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/libs/config_files/disable_noprealloc.ini + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/libs/config_files/disable_noobjcheck.ini + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/libs/config_files/disable_nomoveparanoia.ini + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/libs/config_files/disable_nojournal.ini + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/libs/config_files/disable_noindexbuildretry.ini + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/libs/config_files/disable_nodur.ini + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/libs/config_files/disable_noauth.ini + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/libs/config_files/disable_moveparanoia.ini + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/libs/config_files/disable_jsonp.json + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/libs/config_files/disable_journal.ini + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/libs/config_files/disable_ipv6.ini + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/libs/config_files/disable_dur.ini + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/libs/config_files/disable_auth.ini + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/libs/config_files/bad_timezone_info/InvalidVersion + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/libs/command_sequence_with_retries.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/libs/command_line/test_parsed_options.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/libs/collection_drop_recreate.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/libs/cluster_cert.pem + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/libs/client_utf8.pem + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/libs/client_utf8.cnf + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/libs/client_title.pem + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/libs/client_roles.pem + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/libs/client_revoked.pem + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/libs/client_privatekey.pem + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/libs/client_escape.pem + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/libs/client_email.pem + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/libs/client.pem + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/libs/client-self-signed.pem + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/libs/client-multivalue-rdn.pem + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/libs/client-custom-oids.pem + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/libs/client-custom-oids.csr.in + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/libs/client-all-the-oids.pem + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/libs/client-all-the-oids.csr.in + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/libs/cleanup_orphaned_util.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/libs/chunk_manipulation_util.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/libs/check_uuids.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/libs/check_unique_indexes.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/libs/check_log.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/libs/change_stream_util.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/libs/ca.pem + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/libs/badSAN.pem + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/libs/authTestsKey + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/libs/assert_schema_match.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/libs/analyze_plan.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/libs/README.ssl + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/libs/8k-prime.dhparam + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/httpinterface/sharding_configdb_on_default_ports.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/httpinterface/network_options.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/hooks/validate_collections.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/hooks/run_validate_collections.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/hooks/run_initial_sync_node_validation.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/hooks/run_check_repl_oplogs.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/hooks/run_check_repl_dbhash_background.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/hooks/run_check_repl_dbhash.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/hooks/crud_client.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/gle/updated_existing.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/gle/opcounters_legacy.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/gle/gle_sharded_write.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/gle/gle_sharded_wc.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/gle/gle_explicit_optime.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/gle/get_last_error.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/gle/create_index_gle.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/gle/core/update4.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/gle/core/remove5.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/gle/core/gle_shell_server5441.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/gle/core/gle_example.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/gle/core/error1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/free_mon/libs/mock_http_server.py + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/free_mon/libs/mock_http_control.py + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/free_mon/libs/mock_http_common.py + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/free_mon/libs/free_mon.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/free_mon/free_mon_server_status.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/free_mon/free_mon_rs_resend.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/free_mon/free_mon_rs_register.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/free_mon/free_mon_rs_perm_del.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/free_mon/free_mon_rs_off.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/free_mon/free_mon_rs_halt.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/free_mon/free_mon_rs_delete.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/free_mon/free_mon_rs_corrupt.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/free_mon/free_mon_register_resend.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/free_mon/free_mon_register_off.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/free_mon/free_mon_register_cmd.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/free_mon/free_mon_register.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/free_mon/free_mon_metrics_perm_del.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/free_mon/free_mon_metrics_halt.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/free_mon/free_mon_http_validate.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/free_mon/free_mon_http_down.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/free_mon/free_mon_disable.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/free_mon/free_mon_announce.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/fail_point/set_failpoint_through_set_parameter.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/fail_point/fail_point.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/dur/lsn.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/dur/journaling_options.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/dur/indexbg2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/dur/indexbg.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/dur/dur2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/dur/diskfull.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/dur/data/empty.bson + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/dur/closeall.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/dur/checksum.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/disk/wt_repair_orphaned_idents.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/disk/wt_repair_missing_files.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/disk/wt_repair_corrupt_metadata.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/disk/wt_repair_corrupt_files.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/disk/wt_missing_file_errors.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/disk/wt_corrupt_file_errors.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/disk/too_many_fds.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/disk/repair_invalidates_replica_set_config.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/disk/repair_failure_is_recoverable.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/disk/repair_does_not_invalidate_config_on_standalone.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/disk/repair5.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/disk/repair4.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/disk/repair3.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/disk/repair2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/disk/repair.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/disk/quota3.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/disk/quota2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/disk/quota.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/disk/preallocate_directoryperdb.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/disk/preallocate2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/disk/preallocate.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/disk/parallel_collection_scan_on_capped_collection.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/disk/newcollection.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/disk/libs/wt_file_helper.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/disk/killall.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/disk/index_options.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/disk/filesize.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/disk/diskfull.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/disk/directoryperdb.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/disk/dbNoCreate.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/disk/datafile_options.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/decimal/decimal_update.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/decimal/decimal_roundtrip_basic.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/decimal/decimal_find_query.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/decimal/decimal_find_mixed.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/decimal/decimal_find_basic.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/decimal/decimal_constructors.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/decimal/decimal128_test7.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/decimal/decimal128_test6.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/decimal/decimal128_test5.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/decimal/decimal128_test4.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/decimal/decimal128_test3.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/decimal/decimal128_test2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/decimal/decimal128_test1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core_standalone/write_concern.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core_standalone/read_concern.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/write_result.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/write_commands_reject_unknown_fields.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/where5.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/where4.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/where3.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/where2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/where1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/views/views_validation.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/views/views_stats.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/views/views_rename.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/views/views_find.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/views/views_drop.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/views/views_distinct.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/views/views_creation.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/views/views_count.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/views/views_collation.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/views/views_coll_stats.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/views/views_change.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/views/views_basic.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/views/views_all_commands.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/views/views_aggregation.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/views/invalid_system_views.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/views/duplicate_ns.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/verify_update_mods.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/validate_user_documents.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/validate_cmd_ns.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/user_management_helpers.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/useindexonobjgtlt.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/upsert_shell.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/upsert_fields.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/upsert_and.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/updatem.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/updatel.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/updatek.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/updatej.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/updatei.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/updateh.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/updateg.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/updatef.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/updatee.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/updated.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/updatec.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/updateb.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/updatea.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/update_setOnInsert.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/update_server-12848.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/update_multi6.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/update_multi5.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/update_multi4.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/update_multi3.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/update_mul_examples.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/update_modifier_pop.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/update_min_max_examples.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/update_invalid1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/update_find_and_modify_id.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/update_dbref.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/update_currentdate_examples.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/update_blank1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/update_bit_examples.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/update_arraymatch8.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/update_arraymatch7.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/update_arraymatch6.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/update_arraymatch5.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/update_arraymatch4.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/update_arraymatch3.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/update_arraymatch2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/update_arraymatch1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/update_array_offset_positional.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/update_arrayFilters.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/update_affects_indexes.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/update_addToSet3.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/update_addToSet2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/update_addToSet.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/update9.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/update8.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/update7.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/update6.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/update5.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/update3.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/update2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/unset2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/unset.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/uniqueness.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/type_array.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/type8.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/type7.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/type6.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/type5.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/type4.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/type3.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/type2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/type1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/txns/write_conflicts_with_non_txns.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/txns/view_reads_in_transaction.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/txns/upconvert_read_concern.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/txns/transactions_write_conflicts_unique_indexes.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/txns/transactions_write_conflicts.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/txns/transactions_profiling_with_drops.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/txns/transactions_profiling.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/txns/transactions_block_ddl.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/txns/transaction_error_handling.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/txns/statement_ids_accepted.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/txns/start_transaction_with_read.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/txns/speculative_snapshot_includes_all_writes.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/txns/shell_prompt_in_transaction.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/txns/repeatable_reads_in_transaction.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/txns/read_own_multikey_writes.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/txns/only_allow_transactions_on_FCV_40.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/txns/noop_createIndexes_not_blocked_by_txn.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/txns/non_transactional_operations_on_session_with_transaction.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/txns/no_writes_to_system_collections_in_txn.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/txns/no_read_or_write_concern_inside_txn.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/txns/no_read_concern_snapshot_outside_txn.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/txns/no_implicit_collection_creation_in_txn.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/txns/multi_update_in_transaction.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/txns/multi_statement_transaction_using_api.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/txns/multi_statement_transaction_command_args.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/txns/multi_statement_transaction_abort.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/txns/multi_statement_transaction.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/txns/multi_delete_in_transaction.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/txns/list_collections_not_blocked_by_txn.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/txns/libs/write_conflicts.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/txns/kill_txn_cursor.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/txns/kill_transaction_cursors_after_commit.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/txns/kill_sessions_kills_transaction.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/txns/kill_op_on_txn_expiry.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/txns/kill_cursors_in_transaction.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/txns/finished_transaction_error_handling.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/txns/find_and_modify_in_transaction.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/txns/do_txn_basic.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/txns/do_txn_atomicity.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/txns/concurrent_drops_and_creates.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/txns/commands_not_allowed_in_txn.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/txns/basic_causal_consistency.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/txns/banned_txn_dbs.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/txns/ban_tailable_cursor.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/txns/aggregation_in_transaction.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/txns/abort_transactions_on_FCV_downgrade.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/txns/abort_transaction_thread_does_not_block_on_locks.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/txns/abort_expired_transaction.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/ts1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/top.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/throw_big.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/text_covered_matching.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/testminmax.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/test_command_line_test_helpers.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/temp_cleanup.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/tailable_skip_limit.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/tailable_getmore_batch_size.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/tailable_cursor_invalidation.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/system_profile.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/sub1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/string_with_nul_bytes.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/storefunc.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/startup_log.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/stages_text.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/stages_sort.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/stages_or.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/stages_mergesort.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/stages_limit_skip.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/stages_ixscan.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/stages_fetch.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/stages_delete.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/stages_collection_scan.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/stages_and_sorted.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/stages_and_hash.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/splitvector.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/sortl.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/sortk.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/sortj.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/sorti.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/sorth.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/sortg.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/sortf.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/sortd.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/sortc.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/sortb.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/sorta.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/sort_numeric.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/sort_array.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/sort9.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/sort8.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/sort7.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/sort6.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/sort5.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/sort4.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/sort3.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/sort2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/sort10.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/sort1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/slice1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/skip1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/single_batch.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/show_record_id.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/shelltypes.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/shellstartparallel.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/shellkillop.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/shell_writeconcern.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/shell_connection_strings.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/shell1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/set_type_change.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/set_param1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/set7.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/set6.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/set5.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/set4.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/set3.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/set2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/set1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/server9547.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/server9385.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/server7756.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/server5346.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/server25192.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/server22053.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/server14753.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/server14747.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/server1470.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/run_program1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/role_management_helpers.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/return_key.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/restart_catalog.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/repair_server12955.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/repair_database_input_validation.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/repair_database.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/rename_stayTemp.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/rename_change_target_type.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/rename8.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/rename7.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/rename6.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/rename5.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/rename4.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/rename3.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/rename2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/rename.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/removec.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/removeb.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/removea.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/remove_undefined.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/remove_justone.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/remove9.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/remove8.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/remove7.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/remove6.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/remove4.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/remove3.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/remove2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/remove.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/regexc.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/regexb.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/regexa.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/regex_verbs.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/regex_util.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/regex_unicode.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/regex_options.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/regex_not_id.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/regex_limit.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/regex_embed1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/regex9.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/regex8.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/regex7.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/regex6.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/regex5.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/regex4.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/regex3.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/regex2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/regex.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/ref4.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/ref3.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/ref2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/ref.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/recursion.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/record_store_count.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/read_after_optime.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/queryoptimizera.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/queryoptimizer6.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/queryoptimizer3.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/query1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/push_sort.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/push2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/push.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/pullall2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/pullall.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/pull_remove1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/pull_or.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/pull2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/pull.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/projection_dotted_paths.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/proj_key1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/profile_update.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/profile_sampling.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/profile_repair_cursor.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/profile_parallel_collection_scan.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/profile_no_such_db.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/profile_mapreduce.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/profile_list_indexes.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/profile_list_collections.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/profile_insert.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/profile_group.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/profile_getmore.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/profile_geonear.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/profile_findandmodify.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/profile_find.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/profile_distinct.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/profile_delete.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/profile_count.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/profile_agg.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/profile3.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/profile2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/profile1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/pop_server_13516.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/plan_cache_shell_helpers.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/plan_cache_list_shapes.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/plan_cache_list_plans.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/plan_cache_clear.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/orp.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/oro.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/ork.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/orj.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/orh.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/org.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/orf.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/ore.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/ord.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/orc.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/orb.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/ora.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/or_inexact.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/or_always_false.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/or9.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/or8.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/or7.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/or6.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/or5.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/or4.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/or3.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/or2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/or1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/optimized_match_explain.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/optime_cmp.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/operation_latency_histogram.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/opcounters_write_cmd.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/opcounters_active.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/objid7.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/objid6.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/objid5.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/objid4.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/objid3.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/objid2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/objid1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/numberlong4.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/numberlong3.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/numberlong2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/numberlong.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/numberint.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/null_field_name.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/null2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/null.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/ns_length.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/notablescan.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/not3.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/not2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/not1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/no_db_created.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/nin2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/nin.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/nestedobj1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/nestedarr1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/ne3.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/ne2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/ne1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/natural.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/nan.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/multikey_geonear.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/multi2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/multi.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/mr_undef.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/mr_tolerates_js_exception.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/mr_stored.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/mr_sort.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/mr_replaceIntoDB.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/mr_outreduce2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/mr_outreduce.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/mr_optim.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/mr_mutable_properties.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/mr_merge2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/mr_merge.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/mr_killop.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/mr_index3.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/mr_index2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/mr_index.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/mr_errorhandling.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/mr_comments.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/mr_bigobject_replace.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/mr_bigobject.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/mr5.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/mr4.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/mr3.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/mr2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/mr1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/mod1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/minmax_edge.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/minmax.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/min_max_bounds.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/maxscan.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/max_time_ms.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/max_doc_size.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/map1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/long_index_rename.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/logprocessdetails.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/loadserverscripts.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/list_sessions.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/list_namespaces_invalidation.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/list_local_sessions.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/list_indexes_non_existent_ns.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/list_indexes_invalidation.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/list_indexes_invalid.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/list_indexes.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/list_databases.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/list_commands.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/list_collections_no_views.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/list_collections_name_only.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/list_collections_filter.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/list_collections1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/list_all_sessions.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/list_all_local_sessions.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/list_all_local_cursors.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/killop_drop_collection.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/kill_cursors.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/jssymbol.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/json_schema/unique_items.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/json_schema/required.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/json_schema/pattern_properties.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/json_schema/misc_validation.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/json_schema/min_max_properties.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/json_schema/min_max_items.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/json_schema/logical_keywords.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/json_schema/json_schema.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/json_schema/items.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/json_schema/dependencies.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/json_schema/bsontype.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/json_schema/additional_properties.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/json_schema/additional_items.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/json1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/js_jit.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/js9.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/js8.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/js7.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/js5.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/js4.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/js3.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/js2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/js1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/ismaster.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/invalid_db_name.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/insert_one.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/insert_long_index_key.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/insert_illegal_doc.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/insert_id_undefined.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/insert2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/insert1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/indexv.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/indexu.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/indext.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/indexs.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/indexr.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/indexp.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/indexn.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/indexm.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/indexl.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/indexj.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/indexg.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/indexf.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/indexes_on_indexes.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/indexes_multiple_commands.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/indexe.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/indexd.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/indexc.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/indexb.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/indexapi.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/indexa.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/index_type_change.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/index_stats.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/index_sparse2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/index_sparse1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/index_plugins.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/index_partial_write_ops.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/index_partial_validate.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/index_partial_read_ops.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/index_partial_create_drop.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/index_partial_2dsphere.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/index_multiple_compatibility.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/index_multikey.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/index_many2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/index_many.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/index_id_options.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/index_filter_commands.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/index_elemmatch2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/index_elemmatch1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/index_dropdups_ignore.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/index_diag.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/index_decimal.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/index_create_with_nul_in_name.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/index_create_too_many.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/index_check7.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/index_check6.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/index_check5.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/index_check3.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/index_check2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/index_bounds_timestamp.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/index_bounds_pipe.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/index_bounds_object.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/index_bounds_number_edge_cases.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/index_bounds_minkey.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/index_bounds_maxkey.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/index_bounds_code.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/index_bigkeys_validation.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/index_bigkeys_update.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/index_bigkeys_nofail.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/index_bigkeys.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/index_big1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/index_arr2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/index_arr1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/indexOtherNamespace.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/index9.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/index8.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/index6.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/index5.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/index4.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/index3.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/index2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/index13.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/index1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/inc3.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/inc2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/inc1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/inc-SERVER-7446.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/in8.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/in7.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/in6.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/in5.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/in4.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/in3.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/in2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/in.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/idhack.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/id1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/hostinfo.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/hint1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/hashindex1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/grow_hash_table.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/group_empty.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/group9.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/group8.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/group6.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/group5.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/group4.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/group3.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/group2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/group1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/getmore_invalidated_documents.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/getmore_invalidated_cursors.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/getmore_cmd_maxtimems.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/getlog2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/getlog1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/geonear_key.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/geonear_cmd_input_validation.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/geof.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/geoe.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/geod.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/geoc.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/geob.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/geoa.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/geo_withinquery.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/geo_validate.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/geo_update_dedup.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/geo_update_btree2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/geo_update_btree.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/geo_update2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/geo_update1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/geo_update.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/geo_uniqueDocs2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/geo_uniqueDocs.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/geo_sort1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/geo_small_large.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/geo_s2within_line_polygon_sphere.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/geo_s2within.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/geo_s2validindex.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/geo_s2twofields.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/geo_s2sparse.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/geo_s2selfintersectingpoly.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/geo_s2polywithholes.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/geo_s2overlappingpolys.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/geo_s2ordering.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/geo_s2oddshapes.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/geo_s2nopoints.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/geo_s2nonstring.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/geo_s2nongeoarray.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/geo_s2nearwithin.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/geo_s2nearcorrect.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/geo_s2near_equator_opposite.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/geo_s2nearComplex.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/geo_s2near.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/geo_s2multi.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/geo_s2meridian.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/geo_s2largewithin.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/geo_s2intersection.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/geo_s2indexversion1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/geo_s2indexoldformat.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/geo_s2index.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/geo_s2holesameasshell.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/geo_s2explain.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/geo_s2exact.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/geo_s2edgecases.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/geo_s2dupe_points.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/geo_s2disjoint_holes.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/geo_s2descindex.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/geo_s2dedupnear.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/geo_s2cursorlimitskip.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/geo_regex0.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/geo_queryoptimizer.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/geo_polygon3.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/geo_polygon2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/geo_polygon1_noindex.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/geo_polygon1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/geo_poly_line.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/geo_poly_edge.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/geo_or.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/geo_operator_crs.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/geo_oob_sphere.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/geo_nearwithin.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/geo_near_random2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/geo_near_random1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/geo_multinest1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/geo_multinest0.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/geo_multikey1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/geo_multikey0.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/geo_mindistance_boundaries.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/geo_mindistance.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/geo_max.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/geo_mapreduce2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/geo_mapreduce.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/geo_invalid_polygon.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/geo_invalid_2d_params.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/geo_haystack3.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/geo_haystack2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/geo_haystack1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/geo_group.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/geo_fiddly_box2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/geo_fiddly_box.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/geo_exactfetch.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/geo_distinct.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/geo_circle5.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/geo_circle4.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/geo_circle3.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/geo_circle2a.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/geo_circle2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/geo_circle1_noindex.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/geo_circle1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/geo_center_sphere2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/geo_center_sphere1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/geo_box3.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/geo_box2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/geo_box1_noindex.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/geo_box1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/geo_borders.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/geo_big_polygon3.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/geo_big_polygon2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/geo_big_polygon.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/geo_array2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/geo_array1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/geo_array0.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/geo_allowedcomparisons.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/geo_2d_with_geojson_point.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/geo_2d_trailing_fields.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/geo_2d_explain.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/geo9.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/geo7.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/geo6.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/geo5.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/geo3.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/geo2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/geo10.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/geo1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/function_string_representations.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/fts_trailing_fields.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/fts_spanish.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/fts_score_sort.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/fts_querylang.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/fts_projection.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/fts_proj.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/fts_phrase.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/fts_partition_no_multikey.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/fts_partition1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/fts_mix.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/fts_index_version2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/fts_index_version1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/fts_index3.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/fts_index2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/fts_index.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/fts_explain.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/fts_dotted_prefix_fields.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/fts_diacriticsensitive.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/fts_diacritic_and_casesensitive.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/fts_diacritic_and_caseinsensitive.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/fts_casesensitive.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/fts_blogwild.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/fts_blog.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/fts_array.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/fts6.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/fts5.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/fts4.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/fts3.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/fts2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/fts1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/fsync.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/fm4.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/fm3.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/fm2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/fm1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/finda.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/find_size.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/find_getmore_cmd.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/find_getmore_bsonsize.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/find_dedup.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/find_and_modify_where.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/find_and_modify_server7660.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/find_and_modify_server6993.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/find_and_modify_server6909.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/find_and_modify_server6865.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/find_and_modify_server6659.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/find_and_modify_server6588.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/find_and_modify_server6582.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/find_and_modify_server6254.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/find_and_modify_server6226.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/find_and_modify_empty_update.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/find_and_modify_empty_coll.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/find_and_modify_concurrent_update.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/find_and_modify4.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/find_and_modify3.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/find_and_modify2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/find_and_modify.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/find9.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/find8.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/find7.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/find6.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/find5.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/find4.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/find3.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/find2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/filemd5.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/field_name_validation.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/expr_valid_positions.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/expr_or_pushdown.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/expr_index_use.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/expr.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/explain_upsert.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/explain_shell_helpers.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/explain_multikey.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/explain_multi_plan.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/explain_missing_database.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/explain_missing_collection.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/explain_large_bounds.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/explain_find_and_modify.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/explain_find.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/explain_execution_error.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/explain_distinct.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/explain_delete.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/explain_db_mismatch.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/explain_count.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/explain_batch_size.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/explain_agg_write_concern.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/explain6.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/explain5.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/explain4.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/explain2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/explain1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/existsb.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/existsa.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/exists9.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/exists8.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/exists7.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/exists6.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/exists5.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/exists4.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/exists3.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/exists2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/exists.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/exhaust.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/evalj.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/evalh.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/evalg.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/evale.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/evald.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/evalb.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/evala.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/eval_wait_for_read_write_concern.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/eval_nolock.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/eval_mr.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/eval9.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/eval8.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/eval7.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/eval6.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/eval5.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/eval4.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/eval3.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/eval2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/eval1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/eval0.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/error5.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/error2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/ensure_sorted.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/elemmatch_or_pushdown.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/elemMatchProjection.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/dropdb_race.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/dropdb.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/drop_index.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/drop3.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/drop.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/doc_validation_options.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/doc_validation_invalid_validators.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/doc_validation.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/distinct_multikey.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/distinct_index2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/distinct_index1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/distinct_compound_index.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/distinct_array1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/distinct4.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/distinct3.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/distinct2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/distinct1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/diagdata.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/depth_limit.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/delx.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/dbstats.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/dbref4.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/dbref3.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/dbref2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/dbref1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/dbhash2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/dbhash.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/dbcase2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/dbcase.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/dbadmin.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/db.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/date3.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/date2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/date1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/datasize2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/cursora.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/cursor7.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/cursor6.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/cursor5.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/cursor4.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/cursor3.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/cursor2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/cursor1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/currentop_predicate.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/currentop.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/crud_api.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/create_indexes.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/create_collection_fail_cleanup.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/create_collection.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/covered_multikey.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/covered_index_sort_3.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/covered_index_sort_2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/covered_index_sort_1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/covered_index_simple_id.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/covered_index_simple_3.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/covered_index_simple_2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/covered_index_simple_1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/covered_index_negative_1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/covered_index_compound_1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/coveredIndex4.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/coveredIndex3.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/coveredIndex2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/coveredIndex1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/countc.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/countb.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/counta.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/count_plan_summary.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/count_hint.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/count9.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/count7.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/count6.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/count5.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/count4.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/count3.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/count2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/count11.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/count10.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/count.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/copydb.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/convert_to_capped_nonexistant.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/convert_to_capped.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/constructors.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/connection_string_validation.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/connection_status.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/compare_timestamps.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/compact_keeps_indexes.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/commands_with_uuid.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/commands_that_do_not_write_do_not_accept_wc.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/commands_namespace_parsing.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/collmod_without_uuid.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/collmod_bad_spec.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/collmod.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/collection_truncate.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/collation_with_reverse_index.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/collation_update.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/collation_plan_cache.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/collation_convert_to_capped.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/collation.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/clone_as_capped_nonexistant.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/client_metadata_ismaster.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/cleanup_orphaned.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/check_shard_index.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/cappeda.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/capped_update.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/capped_queries_and_id_index.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/capped_max1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/capped_empty.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/capped_convertToCapped1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/capped6.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/capped5.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/capped1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/capped.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/cannot_create_system_dot_indexes.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/bypass_doc_validation.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/bulk_legacy_enforce_gle.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/bulk_insert_capped.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/bulk_insert.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/bulk_api_unordered.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/bulk_api_ordered.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/bson.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/bittest.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/bindata_indexonly.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/binData.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/bench_test3.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/bench_test2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/bench_test1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/batch_write_command_wc.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/batch_write_command_update.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/batch_write_command_insert.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/batch_write_command_delete.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/batch_write_collation_estsize.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/batch_size.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/basica.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/basic8.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/basic7.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/basic6.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/basic5.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/basic4.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/basic2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/basic1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/bad_index_plugin.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/background_index_multikey.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/awaitdata_getmore_cmd.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/automation_setparameter.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/autoid.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/autocomplete.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/auth_copydb.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/auth2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/auth1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/arrayfindb.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/arrayfinda.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/arrayfind9.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/arrayfind8.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/arrayfind7.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/arrayfind6.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/arrayfind5.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/arrayfind4.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/arrayfind3.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/arrayfind2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/arrayfind1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/array_match4.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/array_match3.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/array_match2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/array_match1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/array4.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/array3.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/array1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/apply_ops_without_ns.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/apply_ops_invalid_index_spec.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/apply_ops_index_collation.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/apply_ops_dups.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/apply_ops2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/apply_ops1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/apitest_dbcollection.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/apitest_db_profile_level.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/apitest_db.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/andor.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/and3.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/and2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/and.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/all5.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/all4.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/all3.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/all2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/all.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/aggregation_getmore_batchsize.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/agg_hint.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/add_skip_stage_before_fetch.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/SERVER-23626.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/concurrency/fsm_workloads/yield_text.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/concurrency/fsm_workloads/yield_sort_merge.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/concurrency/fsm_workloads/yield_sort.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/concurrency/fsm_workloads/yield_rooted_or.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/concurrency/fsm_workloads/yield_id_hack.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/concurrency/fsm_workloads/yield_group.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/concurrency/fsm_workloads/yield_geo_near_dedup.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/concurrency/fsm_workloads/yield_geo_near.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/concurrency/fsm_workloads/yield_fetch.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/concurrency/fsm_workloads/yield_and_sorted.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/concurrency/fsm_workloads/yield_and_hashed.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/concurrency/fsm_workloads/yield.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/concurrency/fsm_workloads/view_catalog_cycle_with_drop.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/concurrency/fsm_workloads/view_catalog_cycle_lookup.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/concurrency/fsm_workloads/view_catalog.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/concurrency/fsm_workloads/upsert_where.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/concurrency/fsm_workloads/update_where.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/concurrency/fsm_workloads/update_upsert_multi_noindex.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/concurrency/fsm_workloads/update_upsert_multi.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/concurrency/fsm_workloads/update_simple_noindex.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/concurrency/fsm_workloads/update_simple_eval_nolock.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/concurrency/fsm_workloads/update_simple_eval.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/concurrency/fsm_workloads/update_simple.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/concurrency/fsm_workloads/update_replace_noindex.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/concurrency/fsm_workloads/update_replace.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/concurrency/fsm_workloads/update_rename_noindex.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/concurrency/fsm_workloads/update_rename.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/concurrency/fsm_workloads/update_ordered_bulk_inc.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/concurrency/fsm_workloads/update_multifield_noindex.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/concurrency/fsm_workloads/update_multifield_multiupdate_noindex.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/concurrency/fsm_workloads/update_multifield_multiupdate.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/concurrency/fsm_workloads/update_multifield.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/concurrency/fsm_workloads/update_inc_capped.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/concurrency/fsm_workloads/update_inc.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/concurrency/fsm_workloads/update_check_index.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/concurrency/fsm_workloads/update_array_noindex.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/concurrency/fsm_workloads/update_array.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/concurrency/fsm_workloads/update_and_bulk_insert.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/concurrency/fsm_workloads/touch_no_data_no_index.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/concurrency/fsm_workloads/touch_index.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/concurrency/fsm_workloads/touch_data.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/concurrency/fsm_workloads/touch_base.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/concurrency/fsm_workloads/snapshot_read_kill_operations.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/concurrency/fsm_workloads/snapshot_read_catalog_operations.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/concurrency/fsm_workloads/sharded_splitChunk_partitioned.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/concurrency/fsm_workloads/sharded_moveChunk_partitioned.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/concurrency/fsm_workloads/sharded_moveChunk_drop_shard_key_index.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/concurrency/fsm_workloads/sharded_mergeChunks_partitioned.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/concurrency/fsm_workloads/sharded_base_partitioned.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/concurrency/fsm_workloads/server_status.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/concurrency/fsm_workloads/secondary_reads_with_catalog_changes.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/concurrency/fsm_workloads/secondary_reads.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/concurrency/fsm_workloads/rename_collection_droptarget.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/concurrency/fsm_workloads/rename_collection_dbname_droptarget.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/concurrency/fsm_workloads/rename_collection_dbname_chain.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/concurrency/fsm_workloads/rename_collection_chain.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/concurrency/fsm_workloads/rename_capped_collection_droptarget.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/concurrency/fsm_workloads/rename_capped_collection_dbname_droptarget.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/concurrency/fsm_workloads/rename_capped_collection_dbname_chain.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/concurrency/fsm_workloads/rename_capped_collection_chain.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/concurrency/fsm_workloads/remove_where.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/concurrency/fsm_workloads/remove_single_document_eval_nolock.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/concurrency/fsm_workloads/remove_single_document_eval.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/concurrency/fsm_workloads/remove_single_document.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/concurrency/fsm_workloads/remove_multiple_documents.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/concurrency/fsm_workloads/remove_and_bulk_insert.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/concurrency/fsm_workloads/reindex_background.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/concurrency/fsm_workloads/reindex.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/concurrency/fsm_workloads/plan_cache_drop_database.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/concurrency/fsm_workloads/multi_statement_transaction_simple_repeated_reads.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/concurrency/fsm_workloads/multi_statement_transaction_simple.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/concurrency/fsm_workloads/multi_statement_transaction_atomicity_isolation_repeated_reads.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/concurrency/fsm_workloads/multi_statement_transaction_atomicity_isolation_multi_db.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/concurrency/fsm_workloads/multi_statement_transaction_atomicity_isolation_metrics_test.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/concurrency/fsm_workloads/multi_statement_transaction_atomicity_isolation.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/concurrency/fsm_workloads/map_reduce_replace_remove.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/concurrency/fsm_workloads/map_reduce_replace_nonexistent.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/concurrency/fsm_workloads/map_reduce_replace.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/concurrency/fsm_workloads/map_reduce_reduce_nonatomic.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/concurrency/fsm_workloads/map_reduce_reduce.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/concurrency/fsm_workloads/map_reduce_merge_nonatomic.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/concurrency/fsm_workloads/map_reduce_merge.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/concurrency/fsm_workloads/map_reduce_inline.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/concurrency/fsm_workloads/map_reduce_drop.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/concurrency/fsm_workloads/list_indexes.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/concurrency/fsm_workloads/kill_rooted_or.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/concurrency/fsm_workloads/kill_multicollection_aggregation.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/concurrency/fsm_workloads/kill_aggregation.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/concurrency/fsm_workloads/invalidated_cursors.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/concurrency/fsm_workloads/indexed_insert_where.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/concurrency/fsm_workloads/indexed_insert_upsert.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/concurrency/fsm_workloads/indexed_insert_unordered_bulk.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/concurrency/fsm_workloads/indexed_insert_ttl.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/concurrency/fsm_workloads/indexed_insert_text_multikey.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/concurrency/fsm_workloads/indexed_insert_text.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/concurrency/fsm_workloads/indexed_insert_ordered_bulk.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/concurrency/fsm_workloads/indexed_insert_multikey_noindex.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/concurrency/fsm_workloads/indexed_insert_multikey.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/concurrency/fsm_workloads/indexed_insert_long_fieldname_noindex.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/concurrency/fsm_workloads/indexed_insert_long_fieldname.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/concurrency/fsm_workloads/indexed_insert_large_noindex.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/concurrency/fsm_workloads/indexed_insert_large.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/concurrency/fsm_workloads/indexed_insert_heterogeneous_noindex.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/concurrency/fsm_workloads/indexed_insert_heterogeneous.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/concurrency/fsm_workloads/indexed_insert_eval_nolock.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/concurrency/fsm_workloads/indexed_insert_eval.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/concurrency/fsm_workloads/indexed_insert_compound.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/concurrency/fsm_workloads/indexed_insert_base_noindex.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/concurrency/fsm_workloads/indexed_insert_base_capped.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/concurrency/fsm_workloads/indexed_insert_base.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/concurrency/fsm_workloads/indexed_insert_2dsphere.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/concurrency/fsm_workloads/indexed_insert_2d.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/concurrency/fsm_workloads/indexed_insert_1char_noindex.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/concurrency/fsm_workloads/indexed_insert_1char.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/concurrency/fsm_workloads/group_killop.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/concurrency/fsm_workloads/group_cond.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/concurrency/fsm_workloads/group.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/concurrency/fsm_workloads/globally_managed_cursors.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/concurrency/fsm_workloads/findAndModify_upsert_collscan.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/concurrency/fsm_workloads/findAndModify_upsert.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/concurrency/fsm_workloads/findAndModify_update_queue_unindexed.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/concurrency/fsm_workloads/findAndModify_update_queue.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/concurrency/fsm_workloads/findAndModify_update_grow.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/concurrency/fsm_workloads/findAndModify_update_collscan.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/concurrency/fsm_workloads/findAndModify_update.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/concurrency/fsm_workloads/findAndModify_remove_queue_unindexed.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/concurrency/fsm_workloads/findAndModify_remove_queue.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/concurrency/fsm_workloads/findAndModify_remove.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/concurrency/fsm_workloads/findAndModify_mixed_queue_unindexed.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/concurrency/fsm_workloads/findAndModify_inc.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/concurrency/fsm_workloads/explain_update.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/concurrency/fsm_workloads/explain_remove.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/concurrency/fsm_workloads/explain_group.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/concurrency/fsm_workloads/explain_find.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/concurrency/fsm_workloads/explain_distinct.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/concurrency/fsm_workloads/explain_count.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/concurrency/fsm_workloads/explain_aggregate.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/concurrency/fsm_workloads/explain.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/concurrency/fsm_workloads/drop_database.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/concurrency/fsm_workloads/drop_collection.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/concurrency/fsm_workloads/distinct_projection.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/concurrency/fsm_workloads/distinct_noindex.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/concurrency/fsm_workloads/distinct.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/concurrency/fsm_workloads/database_versioning.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/concurrency/fsm_workloads/create_index_background_unique_capped.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/concurrency/fsm_workloads/create_index_background_unique.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/concurrency/fsm_workloads/create_index_background.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/concurrency/fsm_workloads/create_database.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/concurrency/fsm_workloads/create_collection.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/concurrency/fsm_workloads/create_capped_collection_maxdocs.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/concurrency/fsm_workloads/create_capped_collection.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/concurrency/fsm_workloads/count_limit_skip.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/concurrency/fsm_workloads/count_indexed.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/concurrency/fsm_workloads/count.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/concurrency/fsm_workloads/convert_to_capped_collection_index.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/concurrency/fsm_workloads/convert_to_capped_collection.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/concurrency/fsm_workloads/compact_simultaneous_padding_bytes.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/concurrency/fsm_workloads/compact.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/concurrency/fsm_workloads/collmod_separate_collections.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/concurrency/fsm_workloads/collmod.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/concurrency/fsm_workloads/auth_drop_user.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/concurrency/fsm_workloads/auth_drop_role.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/concurrency/fsm_workloads/auth_create_user.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/concurrency/fsm_workloads/auth_create_role.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/concurrency/fsm_workloads/agg_sort_external.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/concurrency/fsm_workloads/agg_sort.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/concurrency/fsm_workloads/agg_out.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/concurrency/fsm_workloads/agg_match.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/concurrency/fsm_workloads/agg_group_external.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/concurrency/fsm_workloads/agg_graph_lookup.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/concurrency/fsm_workloads/agg_base.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/concurrency/fsm_workload_modifiers/make_capped.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/concurrency/fsm_workload_modifiers/indexed_noindex.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/concurrency/fsm_workload_modifiers/drop_all_indexes.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/concurrency/fsm_workload_helpers/snapshot_read_utils.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/concurrency/fsm_workload_helpers/server_types.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/concurrency/fsm_workload_helpers/indexed_noindex.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/concurrency/fsm_workload_helpers/drop_utils.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/concurrency/fsm_workload_helpers/chunks.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/concurrency/fsm_workload_helpers/auto_retry_transaction.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/concurrency/fsm_utils/setup_teardown_functions.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/concurrency/fsm_utils/name_utils.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/concurrency/fsm_selftests.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/concurrency/fsm_libs/worker_thread.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/concurrency/fsm_libs/thread_mgr.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/concurrency/fsm_libs/shard_fixture.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/concurrency/fsm_libs/runner.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/concurrency/fsm_libs/resmoke_runner.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/concurrency/fsm_libs/parse_config.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/concurrency/fsm_libs/fsm.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/concurrency/fsm_libs/extend_workload.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/concurrency/fsm_libs/composer.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/concurrency/fsm_libs/cluster.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/concurrency/fsm_libs/assert.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/concurrency/fsm_example_inheritance.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/concurrency/fsm_example.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/change_streams/whole_db_resumability.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/change_streams/whole_db_metadata_notifications.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/change_streams/whole_db.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/change_streams/whole_cluster_resumability.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/change_streams/whole_cluster_metadata_notifications.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/change_streams/whole_cluster.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/change_streams/whitelist.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/change_streams/start_at_cluster_time.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/change_streams/shell_helper.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/change_streams/required_as_first_stage.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/change_streams/report_latest_observed_oplog_timestamp.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/change_streams/only_wake_getmore_for_relevant_changes.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/change_streams/metadata_notifications.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/change_streams/lookup_post_image.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/change_streams/include_cluster_time.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/change_streams/does_not_implicitly_create_database.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/change_streams/collation.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/change_streams/change_stream.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/change_streams/ban_from_views.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/change_streams/ban_from_lookup.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/change_streams/apply_ops_resumability.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/change_streams/apply_ops.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/auth/views_authz.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/auth/usersInfo.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/auth/user_special_chars.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/auth/user_management_commands_standalone.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/auth/user_management_commands_sharded_wc_majority.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/auth/user_management_commands_sharded_wc_1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/auth/user_management_commands_mechanisms.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/auth/user_management_commands_lib.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/auth/user_management_commands_edge_cases.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/auth/user_defined_roles_on_secondaries.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/auth/user_defined_roles.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/auth/upgrade_noauth_to_keyfile_with_sharding.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/auth/upgrade_noauth_to_keyfile.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/auth/transactions.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/auth/system_user_privileges.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/auth/system_user_exception.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/auth/system_roles_collMod.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/auth/show_log_auth.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/auth/server-4892.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/auth/secondary_invalidation.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/auth/scram-credentials-invalid.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/auth/sasl_mechanism_discovery.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/auth/role_management_commands_standalone.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/auth/role_management_commands_sharded_wc_majority.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/auth/role_management_commands_sharded_wc_1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/auth/role_management_commands_lib.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/auth/role_management_commands_edge_cases.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/auth/resource_pattern_matching.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/auth/repl_auth.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/auth/repl.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/auth/renameSystemCollections.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/auth/rename.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/auth/refresh_logical_session_cache_with_long_usernames.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/auth/readIndex.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/auth/pseudo_commands.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/auth/profile_access.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/auth/profile.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/auth/pre_auth_commands_with_sessions.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/auth/mr_auth.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/auth/mongos_cache_invalidation.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/auth/mergeAuthCollsCommand.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/auth/logout_reconnect.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/auth/log_userid_off.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/auth/localhostAuthBypass.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/auth/listcommands_preauth.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/auth/list_sessions.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/auth/list_local_sessions.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/auth/list_databases.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/auth/list_collections_own_collections.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/auth/list_all_sessions.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/auth/list_all_local_sessions.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/auth/lib/commands_lib.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/auth/killop_own_ops.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/auth/kill_sessions.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/auth/kill_cursors.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/auth/js_scope_leak.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/auth/iteration_count_defaults.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/auth/iteration_count_control.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/auth/indexSystemUsers.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/auth/getMore.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/auth/explain_auth.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/auth/disable_localhost_bypass.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/auth/db_multiple_login.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/auth/copyauth_between_shards.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/auth/copyauth2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/auth/copyauth.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/auth/commands_user_defined_roles.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/auth/commands_builtin_roles.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/auth/cluster_ip_whitelist.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/auth/clac_system_colls.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/auth/builtin_roles_system_colls.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/auth/basic_role_auth.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/auth/authz_modifications_access_control.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/auth/authentication_restrictions_role.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/auth/authentication_restrictions.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/auth/auth_options.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/auth/auth_mechanism_discovery.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/auth/auth_helpers.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/auth/auth3.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/auth/auth2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/auth/auth1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/auth/arbiter.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/auth/access_control_with_unreachable_configs.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/aggregation/variables/remove_system_variable.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/aggregation/variables/layered_variables.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/aggregation/use_query_sort.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/aggregation/use_query_projection.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/aggregation/use_query_project_and_sort.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/aggregation/unwind.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/aggregation/testshard1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/aggregation/testall.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/aggregation/testSlave.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/aggregation/sources/sort/explain_sort.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/aggregation/sources/sort/collation_sort_japanese.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/aggregation/sources/sort/collation_sort.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/aggregation/sources/replaceRoot/address.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/aggregation/sources/redact/collation_redact.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/aggregation/sources/project/remove_redundant_projects.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/aggregation/sources/out/required_last_position.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/aggregation/sources/match/expr_match.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/aggregation/sources/match/collation_match.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/aggregation/sources/lookup/lookup_sort_limit.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/aggregation/sources/lookup/lookup_non_correlated.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/aggregation/sources/lookup/lookup_absorb_match.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/aggregation/sources/lookup/lookup.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/aggregation/sources/lookup/collation_lookup.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/aggregation/sources/group/text_score_grouping.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/aggregation/sources/group/numeric_grouping.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/aggregation/sources/group/collation_group.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/aggregation/sources/graphLookup/socialite.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/aggregation/sources/graphLookup/sharded.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/aggregation/sources/graphLookup/nested_objects.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/aggregation/sources/graphLookup/filter.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/aggregation/sources/graphLookup/error.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/aggregation/sources/graphLookup/collation_graphlookup.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/aggregation/sources/graphLookup/basic.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/aggregation/sources/graphLookup/airports.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/aggregation/sources/geonear/collation_geonear.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/aggregation/sources/facet/use_cases.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/aggregation/sources/facet/inner_lookup.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/aggregation/sources/facet/inner_graphlookup.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/aggregation/sources/collStats/shard_host_info.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/aggregation/sources/collStats/count.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/aggregation/sources/bucketauto/collation_bucketauto.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/aggregation/sources/bucket/collation_bucket.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/aggregation/sources/addFields/weather.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/aggregation/sources/addFields/use_cases.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/aggregation/sharded_agg_cleanup_on_error.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/aggregation/shard_targeting.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/aggregation/mongos_slaveok.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/aggregation/mongos_merge.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/aggregation/match_swapping_renamed_fields.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/aggregation/extras/utils.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/aggregation/extras/testutils.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/aggregation/extras/mrabench.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/aggregation/extras/limitskip.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/aggregation/extras/debug.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/aggregation/extras/debug.html + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/aggregation/expressions/trim.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/aggregation/expressions/switch_errors.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/aggregation/expressions/switch.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/aggregation/expressions/split.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/aggregation/expressions/size.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/aggregation/expressions/reduce.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/aggregation/expressions/object_ids_for_date_expressions.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/aggregation/expressions/objectToArray.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/aggregation/expressions/merge_objects.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/aggregation/expressions/indexof_codepoints.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/aggregation/expressions/indexof_bytes.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/aggregation/expressions/indexof_array.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/aggregation/expressions/in.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/aggregation/expressions/expression_mod.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/aggregation/expressions/date_to_string_on_null.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/aggregation/expressions/date_to_string.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/aggregation/expressions/date_to_parts.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/aggregation/expressions/date_from_string_on_null.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/aggregation/expressions/date_from_string_on_error.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/aggregation/expressions/date_from_string.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/aggregation/expressions/date_from_parts.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/aggregation/expressions/date_expressions_with_timezones.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/aggregation/expressions/convert.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/aggregation/expressions/collation_expressions.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/aggregation/expressions/arrayToObject.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/aggregation/explain_limit.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/aggregation/explain.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/aggregation/data/articles.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/aggregation/bugs/upperlower.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/aggregation/bugs/substr.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/aggregation/bugs/strcasecmp.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/aggregation/bugs/sort_arrays.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/aggregation/bugs/server9841.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/aggregation/bugs/server9840.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/aggregation/bugs/server9625.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/aggregation/bugs/server9444.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/aggregation/bugs/server9289.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/aggregation/bugs/server8581.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/aggregation/bugs/server8568.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/aggregation/bugs/server8164.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/aggregation/bugs/server8141.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/aggregation/bugs/server7900.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/aggregation/bugs/server7781.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/aggregation/bugs/server7768.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/aggregation/bugs/server7695_isodates.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/aggregation/bugs/server6861.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/aggregation/bugs/server6779.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/aggregation/bugs/server6570.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/aggregation/bugs/server6556.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/aggregation/bugs/server6531.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/aggregation/bugs/server6530.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/aggregation/bugs/server6468.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/aggregation/bugs/server6335.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/aggregation/bugs/server6290.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/aggregation/bugs/server6275.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/aggregation/bugs/server6269.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/aggregation/bugs/server6240.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/aggregation/bugs/server6239.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/aggregation/bugs/server6238.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/aggregation/bugs/server6232.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/aggregation/bugs/server6198.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/aggregation/bugs/server6195.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/aggregation/bugs/server6194.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/aggregation/bugs/server6192_server6193.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/aggregation/bugs/server6190.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/aggregation/bugs/server6189.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/aggregation/bugs/server6186.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/aggregation/bugs/server6185.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/aggregation/bugs/server6184.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/aggregation/bugs/server6181.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/aggregation/bugs/server6179.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/aggregation/bugs/server6177.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/aggregation/bugs/server6147.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/aggregation/bugs/server6131.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/aggregation/bugs/server6127.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/aggregation/bugs/server6125.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/aggregation/bugs/server6121.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/aggregation/bugs/server6120.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/aggregation/bugs/server6074.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/aggregation/bugs/server6045.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/aggregation/bugs/server5973.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/aggregation/bugs/server5932.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/aggregation/bugs/server5782.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/aggregation/bugs/server533.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/aggregation/bugs/server5044.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/aggregation/bugs/server5012.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/aggregation/bugs/server4738.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/aggregation/bugs/server4656.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/aggregation/bugs/server4638.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/aggregation/bugs/server4589.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/aggregation/bugs/server4588.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/aggregation/bugs/server3832.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/aggregation/bugs/server3253.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/aggregation/bugs/server26462.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/aggregation/bugs/server25590.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/aggregation/bugs/server22580.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/aggregation/bugs/server22093.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/aggregation/bugs/server21632.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/aggregation/bugs/server20169.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/aggregation/bugs/server20168.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/aggregation/bugs/server20163.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/aggregation/bugs/server19548.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/aggregation/bugs/server18427.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/aggregation/bugs/server18222.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/aggregation/bugs/server18198.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/aggregation/bugs/server17943.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/aggregation/bugs/server17224.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/aggregation/bugs/server15810.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/aggregation/bugs/server14969.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/aggregation/bugs/server14872.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/aggregation/bugs/server14691.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/aggregation/bugs/server14670.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/aggregation/bugs/server14421.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/aggregation/bugs/server13715.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/aggregation/bugs/server12015.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/aggregation/bugs/server11675.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/aggregation/bugs/server11118.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/aggregation/bugs/server10530.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/aggregation/bugs/server10176.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/aggregation/bugs/reverseArray.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/aggregation/bugs/match_swap_limit.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/aggregation/bugs/match.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/aggregation/bugs/lookup_unwind_killcursor.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/aggregation/bugs/lookup_unwind_getmore.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/aggregation/bugs/ifnull.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/aggregation/bugs/groupMissing.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/aggregation/bugs/firstlast.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/aggregation/bugs/explain_options_helper.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/aggregation/bugs/cursor_timeout.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/aggregation/bugs/cond.js + install -p -D -m 444 /builddir/build/SOURCES/README.txt /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/ + [[ /usr/bin/python3 =~ - ]] ++ /usr/bin/python3 -c 'import sys; sys.stdout.write('\''{0.major}{0.minor}'\''.format(sys.version_info))' + python_version=311 + '[' 311 -ge 39 ']' + py39_byte_compile /usr/bin/python3 /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/ + python_binary='env PYTHONHASHSEED=0 /usr/bin/python3' + bytecode_compilation_path=/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/ + env PYTHONHASHSEED=0 /usr/bin/python3 -s -B -m compileall -o 0 -o 1 -s /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64 -p / --hardlink-dupes /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/ Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/buildscripts'... Compiling '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/buildscripts/__init__.py'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/buildscripts/ciconfig'... Compiling '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/buildscripts/ciconfig/__init__.py'... Compiling '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/buildscripts/ciconfig/tags.py'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/buildscripts/resmokeconfig'... Compiling '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/buildscripts/resmokeconfig/__init__.py'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/buildscripts/resmokeconfig/loggers'... Compiling '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/buildscripts/resmokeconfig/loggers/__init__.py'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/buildscripts/resmokeconfig/suites'... Compiling '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/buildscripts/resmokeconfig/suites/__init__.py'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/buildscripts/resmokelib'... Compiling '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/buildscripts/resmokelib/__init__.py'... Compiling '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/buildscripts/resmokelib/config.py'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/buildscripts/resmokelib/core'... Compiling '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/buildscripts/resmokelib/core/__init__.py'... Compiling '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/buildscripts/resmokelib/core/network.py'... Compiling '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/buildscripts/resmokelib/core/pipe.py'... Compiling '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/buildscripts/resmokelib/core/process.py'... Compiling '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/buildscripts/resmokelib/core/programs.py'... Compiling '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/buildscripts/resmokelib/errors.py'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/buildscripts/resmokelib/logging'... Compiling '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/buildscripts/resmokelib/logging/__init__.py'... Compiling '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/buildscripts/resmokelib/logging/buildlogger.py'... Compiling '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/buildscripts/resmokelib/logging/flush.py'... Compiling '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/buildscripts/resmokelib/logging/formatters.py'... Compiling '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/buildscripts/resmokelib/logging/handlers.py'... Compiling '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/buildscripts/resmokelib/logging/loggers.py'... Compiling '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/buildscripts/resmokelib/parser.py'... Compiling '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/buildscripts/resmokelib/reportfile.py'... Compiling '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/buildscripts/resmokelib/selector.py'... Compiling '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/buildscripts/resmokelib/sighandler.py'... Compiling '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/buildscripts/resmokelib/suitesconfig.py'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/buildscripts/resmokelib/testing'... Compiling '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/buildscripts/resmokelib/testing/__init__.py'... Compiling '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/buildscripts/resmokelib/testing/executor.py'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/buildscripts/resmokelib/testing/fixtures'... Compiling '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/buildscripts/resmokelib/testing/fixtures/__init__.py'... Compiling '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/buildscripts/resmokelib/testing/fixtures/interface.py'... Compiling '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/buildscripts/resmokelib/testing/fixtures/replicaset.py'... Compiling '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/buildscripts/resmokelib/testing/fixtures/replicaset_utils.py'... Compiling '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/buildscripts/resmokelib/testing/fixtures/shardedcluster.py'... Compiling '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/buildscripts/resmokelib/testing/fixtures/standalone.py'... Compiling '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/buildscripts/resmokelib/testing/fixtures/yesfixture.py'... Compiling '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/buildscripts/resmokelib/testing/hook_test_archival.py'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/buildscripts/resmokelib/testing/hooks'... Compiling '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/buildscripts/resmokelib/testing/hooks/__init__.py'... Compiling '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/buildscripts/resmokelib/testing/hooks/cleanup.py'... Compiling '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/buildscripts/resmokelib/testing/hooks/cleanup_concurrency_workloads.py'... Compiling '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/buildscripts/resmokelib/testing/hooks/collect_embedded_resources.py'... Compiling '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/buildscripts/resmokelib/testing/hooks/combine_benchmark_results.py'... Compiling '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/buildscripts/resmokelib/testing/hooks/combine_benchrun_embedded_results.py'... Compiling '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/buildscripts/resmokelib/testing/hooks/dbhash.py'... Compiling '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/buildscripts/resmokelib/testing/hooks/dbhash_background.py'... Compiling '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/buildscripts/resmokelib/testing/hooks/initialsync.py'... Compiling '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/buildscripts/resmokelib/testing/hooks/interface.py'... Compiling '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/buildscripts/resmokelib/testing/hooks/jsfile.py'... Compiling '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/buildscripts/resmokelib/testing/hooks/oplog.py'... Compiling '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/buildscripts/resmokelib/testing/hooks/periodic_kill_secondaries.py'... Compiling '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/buildscripts/resmokelib/testing/hooks/stepdown.py'... Compiling '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/buildscripts/resmokelib/testing/hooks/validate.py'... Compiling '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/buildscripts/resmokelib/testing/job.py'... Compiling '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/buildscripts/resmokelib/testing/report.py'... Compiling '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/buildscripts/resmokelib/testing/suite.py'... Compiling '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/buildscripts/resmokelib/testing/summary.py'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/buildscripts/resmokelib/testing/testcases'... Compiling '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/buildscripts/resmokelib/testing/testcases/__init__.py'... Compiling '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/buildscripts/resmokelib/testing/testcases/benchmark_test.py'... Compiling '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/buildscripts/resmokelib/testing/testcases/benchrun_embedded_test.py'... Compiling '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/buildscripts/resmokelib/testing/testcases/cpp_integration_test.py'... Compiling '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/buildscripts/resmokelib/testing/testcases/cpp_unittest.py'... Compiling '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/buildscripts/resmokelib/testing/testcases/dbtest.py'... Compiling '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/buildscripts/resmokelib/testing/testcases/fsm_workload_test.py'... Compiling '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/buildscripts/resmokelib/testing/testcases/interface.py'... Compiling '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/buildscripts/resmokelib/testing/testcases/json_schema_test.py'... Compiling '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/buildscripts/resmokelib/testing/testcases/jsrunnerfile.py'... Compiling '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/buildscripts/resmokelib/testing/testcases/jstest.py'... Compiling '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/buildscripts/resmokelib/testing/testcases/mongos_test.py'... Compiling '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/buildscripts/resmokelib/testing/testcases/multi_stmt_txn_test.py'... Compiling '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/buildscripts/resmokelib/testing/testcases/pytest.py'... Compiling '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/buildscripts/resmokelib/testing/testcases/sleeptest.py'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/buildscripts/resmokelib/utils'... Compiling '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/buildscripts/resmokelib/utils/__init__.py'... Compiling '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/buildscripts/resmokelib/utils/archival.py'... Compiling '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/buildscripts/resmokelib/utils/autoloader.py'... Compiling '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/buildscripts/resmokelib/utils/globstar.py'... Compiling '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/buildscripts/resmokelib/utils/jscomment.py'... Compiling '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/buildscripts/resmokelib/utils/queue.py'... Compiling '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/buildscripts/resmokelib/utils/registry.py'... Compiling '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/buildscripts/resmokelib/utils/scheduler.py'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/aggregation'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/aggregation/bugs'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/aggregation/data'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/aggregation/expressions'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/aggregation/extras'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/aggregation/sources'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/aggregation/sources/addFields'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/aggregation/sources/bucket'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/aggregation/sources/bucketauto'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/aggregation/sources/collStats'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/aggregation/sources/facet'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/aggregation/sources/geonear'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/aggregation/sources/graphLookup'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/aggregation/sources/group'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/aggregation/sources/lookup'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/aggregation/sources/match'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/aggregation/sources/out'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/aggregation/sources/project'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/aggregation/sources/redact'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/aggregation/sources/replaceRoot'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/aggregation/sources/sort'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/aggregation/variables'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/auth'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/auth/lib'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/change_streams'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/concurrency'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/concurrency/fsm_libs'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/concurrency/fsm_utils'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/concurrency/fsm_workload_helpers'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/concurrency/fsm_workload_modifiers'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/concurrency/fsm_workloads'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/json_schema'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/txns'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/txns/libs'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core/views'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/core_standalone'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/decimal'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/disk'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/disk/libs'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/dur'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/dur/data'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/fail_point'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/free_mon'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/free_mon/libs'... Compiling '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/free_mon/libs/mock_http_common.py'... Compiling '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/free_mon/libs/mock_http_control.py'... Compiling '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/free_mon/libs/mock_http_server.py'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/gle'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/gle/core'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/hooks'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/httpinterface'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/libs'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/libs/command_line'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/libs/config_files'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/libs/config_files/bad_timezone_info'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/libs/config_files/good_timezone_info'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/libs/jstestfuzz'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/libs/override_methods'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/libs/txns'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/mmap_v1'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/multiVersion'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/multiVersion/libs'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthrough'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthrough/libs'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/noPassthroughWithMongod'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/parallel'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/perf'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/readonly'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/readonly/lib'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/replsets/libs'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/serial_run'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sharding'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/slow1'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/ssl'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/ssl/libs'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/sslSpecial'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/tool'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/tool/data'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/jstests/tool/data/dumprestore6'... Compiling '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/resmoke.py'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/mongodb-test/var'... + /usr/bin/find-debuginfo -j2 --strict-build-id -m -i --build-id-seed 4.0.3-4.fc38 --unique-debug-suffix -4.0.3-4.fc38.x86_64 --unique-debug-src-base mongodb-4.0.3-4.fc38.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/mongo-r4.0.3 extracting debug info from /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/bin/mongobridge extracting debug info from /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/bin/mongo extracting debug info from /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/bin/mongod extracting debug info from /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/bin/mongos dwz: Too few files for multifile optimization original debug info size: 1850328kB, size after compression: 1414376kB /usr/bin/sepdebugcrcfix: Updated 4 CRC32s, 0 CRC32s did match. cpio: parse_date.re: Cannot stat: No such file or directory 169753 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs *** WARNING: ./usr/src/debug/mongodb-4.0.3-4.fc38.x86_64/src/third_party/s2/util/math/vector4.h is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/mongodb-4.0.3-4.fc38.x86_64/src/third_party/s2/util/math/vector3.h is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/mongodb-4.0.3-4.fc38.x86_64/src/third_party/s2/util/math/vector3-inl.h is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/mongodb-4.0.3-4.fc38.x86_64/src/third_party/s2/util/math/vector2.h is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/mongodb-4.0.3-4.fc38.x86_64/src/third_party/s2/util/math/vector2-inl.h is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/mongodb-4.0.3-4.fc38.x86_64/src/third_party/s2/util/math/matrix3x3.h is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/mongodb-4.0.3-4.fc38.x86_64/src/third_party/s2/util/math/matrix3x3-inl.h is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/mongodb-4.0.3-4.fc38.x86_64/src/third_party/s2/util/math/mathutil.h is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/mongodb-4.0.3-4.fc38.x86_64/src/third_party/s2/util/math/mathutil.cc is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/mongodb-4.0.3-4.fc38.x86_64/src/third_party/s2/util/math/mathlimits.h is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/mongodb-4.0.3-4.fc38.x86_64/src/third_party/s2/util/math/mathlimits.cc is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/mongodb-4.0.3-4.fc38.x86_64/src/third_party/s2/util/endian/endian.h is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/mongodb-4.0.3-4.fc38.x86_64/src/third_party/s2/util/coding/varint.h is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/mongodb-4.0.3-4.fc38.x86_64/src/third_party/s2/util/coding/varint.cc is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/mongodb-4.0.3-4.fc38.x86_64/src/third_party/s2/util/coding/coder.h is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/mongodb-4.0.3-4.fc38.x86_64/src/third_party/s2/util/coding/coder.cc is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/mongodb-4.0.3-4.fc38.x86_64/src/third_party/s2/strings/strutil.h is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/mongodb-4.0.3-4.fc38.x86_64/src/third_party/s2/strings/strutil.cc is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/mongodb-4.0.3-4.fc38.x86_64/src/third_party/s2/strings/stringprintf.h is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/mongodb-4.0.3-4.fc38.x86_64/src/third_party/s2/strings/stringprintf.cc is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/mongodb-4.0.3-4.fc38.x86_64/src/third_party/s2/strings/split.h is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/mongodb-4.0.3-4.fc38.x86_64/src/third_party/s2/strings/split.cc is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/mongodb-4.0.3-4.fc38.x86_64/src/third_party/s2/base/template_util.h is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/mongodb-4.0.3-4.fc38.x86_64/src/third_party/s2/base/strtoint.h is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/mongodb-4.0.3-4.fc38.x86_64/src/third_party/s2/base/strtoint.cc is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/mongodb-4.0.3-4.fc38.x86_64/src/third_party/s2/base/stringprintf.cc is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/mongodb-4.0.3-4.fc38.x86_64/src/third_party/s2/base/logging.h is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/mongodb-4.0.3-4.fc38.x86_64/src/third_party/s2/base/logging.cc is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/mongodb-4.0.3-4.fc38.x86_64/src/third_party/s2/base/integral_types.h is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/mongodb-4.0.3-4.fc38.x86_64/src/third_party/s2/base/int128.h is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/mongodb-4.0.3-4.fc38.x86_64/src/third_party/s2/base/int128.cc is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/mongodb-4.0.3-4.fc38.x86_64/src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid_trans.h is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/mongodb-4.0.3-4.fc38.x86_64/src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid_sqrt_macros.h is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/mongodb-4.0.3-4.fc38.x86_64/src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid_round.c is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/mongodb-4.0.3-4.fc38.x86_64/src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid_internal.h is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/mongodb-4.0.3-4.fc38.x86_64/src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid_functions.h is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/mongodb-4.0.3-4.fc38.x86_64/src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid_from_int.c is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/mongodb-4.0.3-4.fc38.x86_64/src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid_div_macros.h is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/mongodb-4.0.3-4.fc38.x86_64/src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid_decimal_data.c is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/mongodb-4.0.3-4.fc38.x86_64/src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid_convert_data.c is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/mongodb-4.0.3-4.fc38.x86_64/src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid_conf.h is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/mongodb-4.0.3-4.fc38.x86_64/src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid_binarydecimal.c is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/mongodb-4.0.3-4.fc38.x86_64/src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_to_bid128.c is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/mongodb-4.0.3-4.fc38.x86_64/src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_to_int64.c is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/mongodb-4.0.3-4.fc38.x86_64/src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_to_int32.c is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/mongodb-4.0.3-4.fc38.x86_64/src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_string.c is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/mongodb-4.0.3-4.fc38.x86_64/src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_sqrt.c is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/mongodb-4.0.3-4.fc38.x86_64/src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_round_integral.c is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/mongodb-4.0.3-4.fc38.x86_64/src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_quantize.c is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/mongodb-4.0.3-4.fc38.x86_64/src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_pow.c is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/mongodb-4.0.3-4.fc38.x86_64/src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_noncomp.c is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/mongodb-4.0.3-4.fc38.x86_64/src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_mul.c is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/mongodb-4.0.3-4.fc38.x86_64/src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_log2.c is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/mongodb-4.0.3-4.fc38.x86_64/src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_log10.c is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/mongodb-4.0.3-4.fc38.x86_64/src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_log.c is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/mongodb-4.0.3-4.fc38.x86_64/src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_fmod.c is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/mongodb-4.0.3-4.fc38.x86_64/src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_fma.c is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/mongodb-4.0.3-4.fc38.x86_64/src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_exp2.c is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/mongodb-4.0.3-4.fc38.x86_64/src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_exp10.c is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/mongodb-4.0.3-4.fc38.x86_64/src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_exp.c is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/mongodb-4.0.3-4.fc38.x86_64/src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_div.c is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/mongodb-4.0.3-4.fc38.x86_64/src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_compare.c is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/mongodb-4.0.3-4.fc38.x86_64/src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_add.c is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/mongodb-4.0.3-4.fc38.x86_64/src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_2_str_tables.c is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/mongodb-4.0.3-4.fc38.x86_64/src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_2_str.h is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/mongodb-4.0.3-4.fc38.x86_64/src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128.c is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/mongodb-4.0.3-4.fc38.x86_64/src/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/f_format.h is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/mongodb-4.0.3-4.fc38.x86_64/src/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_pow.c is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/mongodb-4.0.3-4.fc38.x86_64/src/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_ops_64.c is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/mongodb-4.0.3-4.fc38.x86_64/src/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_ops.c is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/mongodb-4.0.3-4.fc38.x86_64/src/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_log.c is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/mongodb-4.0.3-4.fc38.x86_64/src/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_int.c is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/mongodb-4.0.3-4.fc38.x86_64/src/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_exp.c is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/mongodb-4.0.3-4.fc38.x86_64/src/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_bid.c is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/mongodb-4.0.3-4.fc38.x86_64/src/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux.h is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/mongodb-4.0.3-4.fc38.x86_64/src/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_pow_x.h is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/mongodb-4.0.3-4.fc38.x86_64/src/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_log_x.h is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/mongodb-4.0.3-4.fc38.x86_64/src/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_int_x.h is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/mongodb-4.0.3-4.fc38.x86_64/src/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_globals.h is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/mongodb-4.0.3-4.fc38.x86_64/src/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_exp_x.h is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/mongodb-4.0.3-4.fc38.x86_64/src/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_exception.h is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/mongodb-4.0.3-4.fc38.x86_64/src/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_exception.c is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/mongodb-4.0.3-4.fc38.x86_64/src/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_error_codes.h is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/mongodb-4.0.3-4.fc38.x86_64/src/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_cons_x.h is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/mongodb-4.0.3-4.fc38.x86_64/src/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_bid_x.h is executable but has no shebang, removing executable bit mangling shebang in /usr/share/mongodb-test/resmoke.py from /usr/bin/env python3 to #!/usr/bin/python3 + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/redhat/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.4Rf0Vt + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd mongo-r4.0.3 + export LANG=C.UTF-8 + LANG=C.UTF-8 + RPM_EC=0 ++ jobs -p + exit 0 Processing files: mongodb-4.0.3-4.fc38.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.7OKi4o + umask 022 + cd /builddir/build/BUILD + cd mongo-r4.0.3 + DOCDIR=/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/doc/mongodb + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/doc/mongodb + cp -pr README /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/doc/mongodb + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.Smcf9M + umask 022 + cd /builddir/build/BUILD + cd mongo-r4.0.3 + LICENSEDIR=/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/licenses/mongodb + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/licenses/mongodb + cp -pr GNU-AGPL-3.0.txt /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/licenses/mongodb + cp -pr APACHE-2.0.txt /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64/usr/share/licenses/mongodb + RPM_EC=0 ++ jobs -p + exit 0 Provides: mongodb = 4.0.3-4.fc38 mongodb(x86-64) = 4.0.3-4.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libboost_filesystem.so.1.78.0()(64bit) libboost_iostreams.so.1.78.0()(64bit) libboost_program_options.so.1.78.0()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.17)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.2)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.32)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.6)(64bit) libc.so.6(GLIBC_2.7)(64bit) libc.so.6(GLIBC_2.8)(64bit) libc.so.6(GLIBC_2.9)(64bit) libcrypto.so.3()(64bit) libcrypto.so.3(OPENSSL_3.0.0)(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libgcc_s.so.1(GCC_3.3.1)(64bit) libgcc_s.so.1(GCC_3.4)(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.2.5)(64bit) libm.so.6(GLIBC_2.29)(64bit) libm.so.6(GLIBC_2.35)(64bit) libpcrecpp.so.0()(64bit) libresolv.so.2()(64bit) libresolv.so.2(GLIBC_2.9)(64bit) libsnappy.so.1()(64bit) libssl.so.3()(64bit) libssl.so.3(OPENSSL_3.0.0)(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(CXXABI_1.3.13)(64bit) libstdc++.so.6(CXXABI_1.3.3)(64bit) libstdc++.so.6(CXXABI_1.3.5)(64bit) libstdc++.so.6(CXXABI_1.3.7)(64bit) libstdc++.so.6(CXXABI_1.3.8)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) libstdc++.so.6(GLIBCXX_3.4.11)(64bit) libstdc++.so.6(GLIBCXX_3.4.14)(64bit) libstdc++.so.6(GLIBCXX_3.4.15)(64bit) libstdc++.so.6(GLIBCXX_3.4.18)(64bit) libstdc++.so.6(GLIBCXX_3.4.19)(64bit) libstdc++.so.6(GLIBCXX_3.4.20)(64bit) libstdc++.so.6(GLIBCXX_3.4.21)(64bit) libstdc++.so.6(GLIBCXX_3.4.22)(64bit) libstdc++.so.6(GLIBCXX_3.4.26)(64bit) libstdc++.so.6(GLIBCXX_3.4.29)(64bit) libstdc++.so.6(GLIBCXX_3.4.30)(64bit) libstdc++.so.6(GLIBCXX_3.4.9)(64bit) libtcmalloc.so.4()(64bit) libyaml-cpp.so.0.6()(64bit) libz.so.1()(64bit) libz.so.1(ZLIB_1.2.0)(64bit) rtld(GNU_HASH) Processing files: mongodb-server-4.0.3-4.fc38.x86_64 Provides: bundled(IntelRDFPMathLib) = 20U1 bundled(asio) = 1.11.0 bundled(icu) = 57.1 bundled(mozjs45) = 45.8.0 bundled(timelib) = 2017.05beta10 bundled(wiredtiger) = 4.0.3 config(mongodb-server) = 4.0.3-4.fc38 mongodb-server = 4.0.3-4.fc38 mongodb-server(x86-64) = 4.0.3-4.fc38 Requires(interp): /bin/sh /bin/sh /bin/sh /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(pre): /bin/sh shadow-utils Requires(post): /bin/sh systemd-units Requires(preun): /bin/sh systemd-units Requires(postun): /bin/sh systemd-units Requires: libboost_filesystem.so.1.78.0()(64bit) libboost_program_options.so.1.78.0()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.17)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.2)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.32)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.6)(64bit) libc.so.6(GLIBC_2.7)(64bit) libc.so.6(GLIBC_2.8)(64bit) libc.so.6(GLIBC_2.9)(64bit) libcrypto.so.3()(64bit) libcrypto.so.3(OPENSSL_3.0.0)(64bit) libcurl.so.4()(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libgcc_s.so.1(GCC_3.3.1)(64bit) libgcc_s.so.1(GCC_3.4)(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.2.5)(64bit) libm.so.6(GLIBC_2.29)(64bit) libm.so.6(GLIBC_2.35)(64bit) libpcrecpp.so.0()(64bit) libresolv.so.2()(64bit) libresolv.so.2(GLIBC_2.9)(64bit) libsnappy.so.1()(64bit) libssl.so.3()(64bit) libssl.so.3(OPENSSL_3.0.0)(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(CXXABI_1.3.13)(64bit) libstdc++.so.6(CXXABI_1.3.3)(64bit) libstdc++.so.6(CXXABI_1.3.5)(64bit) libstdc++.so.6(CXXABI_1.3.7)(64bit) libstdc++.so.6(CXXABI_1.3.8)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) libstdc++.so.6(GLIBCXX_3.4.11)(64bit) libstdc++.so.6(GLIBCXX_3.4.14)(64bit) libstdc++.so.6(GLIBCXX_3.4.15)(64bit) libstdc++.so.6(GLIBCXX_3.4.18)(64bit) libstdc++.so.6(GLIBCXX_3.4.19)(64bit) libstdc++.so.6(GLIBCXX_3.4.20)(64bit) libstdc++.so.6(GLIBCXX_3.4.21)(64bit) libstdc++.so.6(GLIBCXX_3.4.22)(64bit) libstdc++.so.6(GLIBCXX_3.4.26)(64bit) libstdc++.so.6(GLIBCXX_3.4.29)(64bit) libstdc++.so.6(GLIBCXX_3.4.30)(64bit) libstdc++.so.6(GLIBCXX_3.4.9)(64bit) libstemmer.so.0()(64bit) libtcmalloc.so.4()(64bit) libyaml-cpp.so.0.6()(64bit) libz.so.1()(64bit) libz.so.1(ZLIB_1.2.0)(64bit) rtld(GNU_HASH) Processing files: mongodb-test-4.0.3-4.fc38.x86_64 warning: File listed twice: /usr/share/mongodb-test warning: File listed twice: /usr/share/mongodb-test/var Provides: mongodb-test = 4.0.3-4.fc38 mongodb-test(x86-64) = 4.0.3-4.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PartialHardlinkSets) <= 4.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/python3 Processing files: mongodb-debugsource-4.0.3-4.fc38.x86_64 Provides: mongodb-debugsource = 4.0.3-4.fc38 mongodb-debugsource(x86-64) = 4.0.3-4.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: mongodb-debuginfo-4.0.3-4.fc38.x86_64 Provides: debuginfo(build-id) = cbb8842ae947613916161e316e61fbd3f5fdd19b debuginfo(build-id) = deff1c2626bdbca0fb2e942dc6a7722622ad6145 mongodb-debuginfo = 4.0.3-4.fc38 mongodb-debuginfo(x86-64) = 4.0.3-4.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: mongodb-debugsource(x86-64) = 4.0.3-4.fc38 Processing files: mongodb-server-debuginfo-4.0.3-4.fc38.x86_64 Provides: debuginfo(build-id) = 220d684fcc01a96a258a8a9ffc3ec83ba1667dd0 debuginfo(build-id) = d2f06ca898b2385f499c01f40064463b91e77c39 mongodb-server-debuginfo = 4.0.3-4.fc38 mongodb-server-debuginfo(x86-64) = 4.0.3-4.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: mongodb-debugsource(x86-64) = 4.0.3-4.fc38 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64 Wrote: /builddir/build/RPMS/mongodb-debuginfo-4.0.3-4.fc38.x86_64.rpm Wrote: /builddir/build/RPMS/mongodb-debugsource-4.0.3-4.fc38.x86_64.rpm Wrote: /builddir/build/RPMS/mongodb-server-4.0.3-4.fc38.x86_64.rpm Wrote: /builddir/build/RPMS/mongodb-4.0.3-4.fc38.x86_64.rpm Wrote: /builddir/build/RPMS/mongodb-test-4.0.3-4.fc38.x86_64.rpm Wrote: /builddir/build/RPMS/mongodb-server-debuginfo-4.0.3-4.fc38.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.NQ2ip5 + umask 022 + cd /builddir/build/BUILD + cd mongo-r4.0.3 + /usr/bin/rm -rf /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.wtk0Yx + umask 022 + cd /builddir/build/BUILD + rm -rf mongo-r4.0.3 mongo-r4.0.3.gemspec + RPM_EC=0 ++ jobs -p + exit 0 RPM build warnings: File listed twice: /usr/share/mongodb-test File listed twice: /usr/share/mongodb-test/var Child return code was: 0